serenity/Libraries/LibGUI
Sergey Bugaev 7bd077a3ae LibGUI: Fix index invalidation
When the model gets updated, we have to let go of the old indexes,
because they're invalid from that moment on.

Fixes https://github.com/SerenityOS/serenity/issues/1541
2020-03-30 23:05:14 +02:00
..
AboutDialog.cpp LibGUI: AboutDialog now inherits the icon of its parent window 2020-03-30 10:52:09 +02:00
AboutDialog.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
AbstractButton.cpp LibGUI: Implement set_property() on Widget and AbstractButton 2020-03-05 15:50:22 +01:00
AbstractButton.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
AbstractTableView.cpp LibGUI: Mouse events didn't hit table headers when vertically scrolled 2020-02-25 23:06:40 +01:00
AbstractTableView.h LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
AbstractView.cpp LibGUI: Fix index invalidation 2020-03-30 23:05:14 +02:00
AbstractView.h LibGUI: Brighten icons when hovering items in item views 2020-03-30 19:57:44 +02:00
Action.cpp LibGfx: Add forward declaration header 2020-02-14 23:31:18 +01:00
Action.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ActionGroup.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
ActionGroup.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Application.cpp LibGUI: Remove remaining G prefixes 2020-03-19 22:52:44 +01:00
Application.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
BoxLayout.cpp LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
BoxLayout.h LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
Button.cpp LibGUI: Brighten buttons when hovering over them :^) 2020-03-30 19:40:44 +02:00
Button.h LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
CheckBox.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
CheckBox.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Clipboard.cpp Kernel+LibC: Rename shared buffer syscalls to use a prefix 2020-02-28 12:55:58 +01:00
Clipboard.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ColorPicker.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
ColorPicker.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
ColumnsView.cpp LibGUI: Brighten icons when hovering items in item views 2020-03-30 19:57:44 +02:00
ColumnsView.h LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
ComboBox.cpp LibGUI: ComboBox, add "set_selected_index" method 2020-03-29 19:36:37 +02:00
ComboBox.h LibGUI: ComboBox, add "set_selected_index" method 2020-03-29 19:36:37 +02:00
Command.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
Command.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
CppLexer.cpp LibGUI: Parse #include statements separately 2020-03-12 12:37:13 +01:00
CppLexer.h LibGUI: Parse #include statements separately 2020-03-12 12:37:13 +01:00
CppSyntaxHighlighter.cpp LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
CppSyntaxHighlighter.h LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
Desktop.cpp LibGUI: Desktop, add methods for set background color and wallpaper mode 2020-03-29 19:36:37 +02:00
Desktop.h LibGUI: Desktop, add methods for set background color and wallpaper mode 2020-03-29 19:36:37 +02:00
Dialog.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
Dialog.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
DisplayLink.cpp WindowServer+LibGUI: Add a way to get notified at display refresh rate 2020-03-22 21:13:23 +01:00
DisplayLink.h WindowServer+LibGUI: Add a way to get notified at display refresh rate 2020-03-22 21:13:23 +01:00
DragOperation.cpp LibGfx+LibIPC: Add Gfx::ShareableBitmap, a bitmap for easy IPC usage 2020-03-29 19:37:23 +02:00
DragOperation.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Event.cpp LibGUI: Add missing Event.cpp file 2020-02-14 17:35:04 +01:00
Event.h LibGUI: Add a ThemeChange event 2020-03-16 13:39:34 +01:00
FilePicker.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
FilePicker.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
FileSystemModel.cpp LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
FileSystemModel.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
FontDatabase.cpp LibGUI: Skip non-font files in the FontDatabase constructor 2020-03-11 21:27:03 +01:00
FontDatabase.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
Forward.h LibGUI: Add a MultiView widget, based on FileManager's "DirectoryView" 2020-02-24 20:48:42 +01:00
Frame.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Frame.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
GroupBox.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
GroupBox.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Icon.cpp LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
Icon.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
InputBox.cpp LibGUI: Remove remaining G prefixes 2020-03-19 22:52:44 +01:00
InputBox.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
ItemView.cpp LibGUI: Brighten icons when hovering items in item views 2020-03-30 19:57:44 +02:00
ItemView.h LibGUI: Take scroll offset into account on ItemView rubberband selection 2020-03-12 15:48:32 +01:00
JsonArrayModel.cpp LibGUI: Add store(), add() and remove() methods to JsonArrayModel 2020-03-27 14:12:18 +01:00
JsonArrayModel.h LibGUI: Add store(), add() and remove() methods to JsonArrayModel 2020-03-27 14:12:18 +01:00
JSSyntaxHighlighter.cpp LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
JSSyntaxHighlighter.h LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
Label.cpp LibGUI: Make Label::set_icon() take a const Gfx::Bitmap* 2020-03-29 19:37:23 +02:00
Label.h LibGUI: Make Label::set_icon() take a const Gfx::Bitmap* 2020-03-29 19:37:23 +02:00
Layout.cpp AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*) 2020-03-08 13:06:51 +01:00
Layout.h LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
LazyWidget.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
LazyWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ListView.cpp LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
ListView.h LibGUI: Make descendants of AbstractView define their own select_all() (#1201) 2020-02-25 16:03:15 +01:00
Makefile WindowServer+LibGUI: Add a way to get notified at display refresh rate 2020-03-22 21:13:23 +01:00
Margins.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
Menu.cpp Kernel+LibC: Rename shared buffer syscalls to use a prefix 2020-02-28 12:55:58 +01:00
Menu.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
MenuBar.cpp LibGUI: Reduce menu-related header dependencies 2020-02-15 01:56:30 +01:00
MenuBar.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
MenuItem.cpp LibGUI: Reduce menu-related header dependencies 2020-02-15 01:56:30 +01:00
MenuItem.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
MessageBox.cpp LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
MessageBox.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
Model.cpp LibGUI: Add GUI::Model::accepts_drag(index, data_type) 2020-02-13 21:45:46 +01:00
Model.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ModelEditingDelegate.h LibGUI: Make the ModelEditingDelegate constructor protected 2020-03-05 15:50:22 +01:00
ModelIndex.cpp LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ModelIndex.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ModelSelection.cpp LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ModelSelection.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
MultiView.cpp LibGUI: Disable the ColumnsView subview in MultiView for now 2020-02-27 14:43:35 +01:00
MultiView.h LibGUI: Disable the ColumnsView subview in MultiView for now 2020-02-27 14:43:35 +01:00
Notification.cpp LibGfx+LibIPC: Add Gfx::ShareableBitmap, a bitmap for easy IPC usage 2020-03-29 19:37:23 +02:00
Notification.h LibGfx+LibIPC: Add Gfx::ShareableBitmap, a bitmap for easy IPC usage 2020-03-29 19:37:23 +02:00
Painter.cpp LibGfx: Add forward declaration header 2020-02-14 23:31:18 +01:00
Painter.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
ProgressBar.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ProgressBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
RadioButton.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
RadioButton.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ResizeCorner.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ResizeCorner.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ScrollableWidget.cpp LibGUI: Implement keyboard and mouse wheel events for SpinBox 2020-02-24 10:40:32 +01:00
ScrollableWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ScrollBar.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ScrollBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Shortcut.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
Shortcut.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
Slider.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
Slider.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
SortingProxyModel.cpp AK: Make quick_sort() a little more ergonomic 2020-03-03 16:02:58 +01:00
SortingProxyModel.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
SpinBox.cpp LibGUI: Remove Button& parameter from Button::on_click hook 2020-03-03 17:02:38 +01:00
SpinBox.h LibGUI: Implement keyboard and mouse wheel events for SpinBox 2020-02-24 10:40:32 +01:00
Splitter.cpp LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
Splitter.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
StackWidget.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
StackWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
StatusBar.cpp LibCore: Make Core::Object::add<ChildType> return a ChildType& 2020-03-04 21:04:06 +01:00
StatusBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
SyntaxHighlighter.cpp LibGUI: Add missing copyright headers 2020-03-13 23:09:58 +01:00
SyntaxHighlighter.h LibGUI: Use themes for syntax highlighting 2020-03-16 13:39:34 +01:00
TableView.cpp LibGUI: Brighten icons when hovering items in item views 2020-03-30 19:57:44 +02:00
TableView.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TabWidget.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
TabWidget.h LibGUI: Add helper for constructing new TabWidget tabs 2020-02-23 12:27:53 +01:00
TextBox.cpp LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TextBox.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TextDocument.cpp LibGUI: Fix null-termination of TextDocumentLine 2020-03-08 10:31:48 +01:00
TextDocument.h LibGUI: Remove friend classes of TextDocumentLine 2020-03-19 22:52:44 +01:00
TextEditor.cpp LibGUI: Remove G prefix from macros 2020-03-19 23:17:34 +01:00
TextEditor.h LibGUI: Add a ThemeChange event 2020-03-16 13:39:34 +01:00
TextPosition.h LibGUI: Remove remaining G prefixes 2020-03-19 22:52:44 +01:00
TextRange.h LibGUI: Remove remaining G prefixes 2020-03-19 22:52:44 +01:00
ToolBar.cpp LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
ToolBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
TreeView.cpp LibGUI: Brighten icons when hovering items in item views 2020-03-30 19:57:44 +02:00
TreeView.h HackStudio: Expand project tree view by default 2020-03-18 16:33:54 +01:00
UndoStack.cpp AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
UndoStack.h AK: Make Vector use size_t for its size and capacity 2020-02-25 14:52:35 +01:00
Variant.cpp LibGUI: Allow constructing Variant from FlyString 2020-03-22 19:06:31 +01:00
Variant.h LibGUI: Allow constructing Variant from FlyString 2020-03-22 19:06:31 +01:00
Widget.cpp LibGUI: Remove G prefix from macros 2020-03-19 23:17:34 +01:00
Widget.h LibGUI: Remove G prefix from macros 2020-03-19 23:17:34 +01:00
Window.cpp WindowServer: Use Gfx::ShareableBitmap for SetWindowIconBitmap 2020-03-29 19:37:23 +02:00
Window.h LibGUI: Don't spam WindowServer with SetWindowOverrideCursor messages 2020-03-22 01:07:07 +01:00
WindowServerConnection.cpp WindowServer+LibGUI: Add a way to get notified at display refresh rate 2020-03-22 21:13:23 +01:00
WindowServerConnection.h WindowServer+LibGUI: Add a way to get notified at display refresh rate 2020-03-22 21:13:23 +01:00
WindowType.h WindowServer+NotificationServer: Vertical title bar for notifications 2020-03-30 17:03:15 +02:00