1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 03:57:35 +00:00
serenity/Libraries/LibGUI
Andreas Kling 2f5b2685af GModel: Remove selected_index() and set_selected_index()
This breaks GSortingProxyModel selection preservation across resorts.
I'm not yet sure how we're going to solve that, but it's going to have
to work a bit differently than before, since the model itself no longer
knows what's selected.

Selection is now managed by GModelSelection which allows us to select
any arbitrary number of items, and to have different selections in
different views onto the same model. Pretty sweet. :^)
2019-09-07 21:39:44 +02:00
..
GAboutDialog.cpp LibGUI: Add GAboutDialog, a simple way to show a nice about box in apps 2019-09-02 19:45:55 +02:00
GAboutDialog.h LibGUI: Add GAboutDialog, a simple way to show a nice about box in apps 2019-09-02 19:45:55 +02:00
GAbstractButton.cpp LibGUI: Make the timers in GAbstractButton and GScrollBar into children 2019-08-18 12:14:15 +02:00
GAbstractButton.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GAbstractView.cpp LibGUI+FileManager: Add GAbstractView::on_selection_change hook 2019-09-07 21:35:04 +02:00
GAbstractView.h LibGUI+FileManager: Add GAbstractView::on_selection_change hook 2019-09-07 21:35:04 +02:00
GAction.cpp GAction: Added GCommonActions as a template to create standard actions 2019-09-04 06:56:29 +02:00
GAction.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GActionGroup.cpp LibGUI: Add GActionGroup, a way to group a bunch of GActions. 2019-07-09 22:10:03 +02:00
GActionGroup.h LibGUI: Add GActionGroup, a way to group a bunch of GActions. 2019-07-09 22:10:03 +02:00
GApplication.cpp LibGUI: Destroy tooltip windows when they are not used. 2019-07-23 20:51:08 +02:00
GApplication.h LibGUI: Exit the main event loop when the last window is deleted. 2019-07-23 18:16:25 +02:00
GBoxLayout.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GBoxLayout.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GButton.cpp LibGUI+TextEditor: Make GButton activate its action if present 2019-08-25 21:46:39 +02:00
GButton.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GCheckBox.cpp LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
GCheckBox.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GClipboard.cpp SharedBuffer: Split the creation and share steps 2019-07-18 10:06:20 +02:00
GClipboard.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GComboBox.cpp LibGUI: Convert various little things to GModelSelection 2019-09-07 20:35:31 +02:00
GComboBox.h GComboBox: Include the selected index with the on_change notification 2019-08-05 18:42:51 +02:00
GDesktop.cpp LibGUI: Revert GWindowServerConnection to being a singleton 2019-07-17 21:03:01 +02:00
GDesktop.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GDialog.cpp LibGUI: GDialog should close its nested event loop on window close. 2019-07-26 16:13:59 +02:00
GDialog.h LibGUI: GDialog should close its nested event loop on window close. 2019-07-26 16:13:59 +02:00
GDirectoryModel.cpp GDirectoryModel: No need to clear the selected index in open() 2019-09-07 20:01:18 +02:00
GDirectoryModel.h GDirectoryModel: Add a 32x32 filetype icon for sound files 2019-09-04 21:48:03 +02:00
GEvent.h WindowServer+LibGUI: Remove old "icon path" way of doing things. 2019-07-28 10:24:58 +02:00
GEventLoop.cpp WindowServer+LibGUI: Remove old "icon path" way of doing things. 2019-07-28 10:24:58 +02:00
GEventLoop.h LibGUI: Revert GWindowServerConnection to being a singleton 2019-07-17 21:03:01 +02:00
GFilePicker.cpp GFilePicker: Make double-clicking actually choose/pick the file 2019-08-09 23:45:04 +02:00
GFilePicker.h GFilePicker: Edit file name on opening window 2019-07-30 09:19:14 +02:00
GFileSystemModel.cpp LibGUI: Convert various little things to GModelSelection 2019-09-07 20:35:31 +02:00
GFileSystemModel.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GFontDatabase.cpp GFontDatabase: Iterate the font database in alphabetical order 2019-08-29 19:30:48 +02:00
GFontDatabase.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GFrame.cpp LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
GFrame.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GGroupBox.cpp LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
GGroupBox.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GIcon.cpp LibGUI: Remove use of copy_ref(). 2019-07-11 15:49:47 +02:00
GIcon.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
GInputBox.cpp GWidget: Add set_preferred_size(width, height) overload. 2019-07-20 22:39:24 +02:00
GInputBox.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GItemView.cpp GItemView: Make Ctrl+click toggle item selection on/off 2019-09-07 19:38:08 +02:00
GItemView.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GJsonArrayModel.cpp GJsonArrayModel: Add hook for customizing the GModel::Role::Custom data 2019-08-14 20:30:18 +02:00
GJsonArrayModel.h GJsonArrayModel: Add hook for customizing the GModel::Role::Custom data 2019-08-14 20:30:18 +02:00
GLabel.cpp GLabel: Repaint immediately on icon change 2019-08-09 23:48:44 +02:00
GLabel.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GLayout.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GLayout.h GLayout: Change default spacing to 3 pixels 2019-09-04 18:54:03 +02:00
GListView.cpp GListView: Switch to using GModelSelection to support multi-select 2019-09-07 20:31:11 +02:00
GListView.h LibGUI: Allow specifying the model column for GListView and GComboBox 2019-08-05 18:32:04 +02:00
GMargins.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GMenu.cpp WindowServer+LibGUI: Add support for nested menus 2019-08-29 06:36:29 +02:00
GMenu.h WindowServer+LibGUI: Add support for nested menus 2019-08-29 06:36:29 +02:00
GMenuBar.cpp LibGUI: Convert Vector<OwnPtr> to NonnullOwnPtrVector. 2019-07-24 09:13:06 +02:00
GMenuBar.h LibGUI: Convert Vector<OwnPtr> to NonnullOwnPtrVector. 2019-07-24 09:13:06 +02:00
GMenuItem.cpp WindowServer+LibGUI: Add support for nested menus 2019-08-29 06:36:29 +02:00
GMenuItem.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GMessageBox.cpp GWidget: Add set_preferred_size(width, height) overload. 2019-07-20 22:39:24 +02:00
GMessageBox.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GModel.cpp GModel: Remove selected_index() and set_selected_index() 2019-09-07 21:39:44 +02:00
GModel.h GModel: Remove selected_index() and set_selected_index() 2019-09-07 21:39:44 +02:00
GModelEditingDelegate.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GModelIndex.h GModelIndex: Add hash traits so we can make a HashTable<GModelIndex> 2019-09-07 19:21:07 +02:00
GModelSelection.cpp GModelSelection: Add contains_row(int) and toggle(GModelIndex) 2019-09-07 19:33:58 +02:00
GModelSelection.h GModelSelection: Add contains_row(int) and toggle(GModelIndex) 2019-09-07 19:33:58 +02:00
GPainter.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GPainter.h LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
GProgressBar.cpp StylePainter: Move progress bar painting from GProgressBar to here 2019-08-14 20:31:46 +02:00
GProgressBar.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GRadioButton.cpp LibDraw: Introduce (formerly known as SharedGraphics.) 2019-07-18 10:18:16 +02:00
GRadioButton.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GResizeCorner.cpp GWidget: Add set_preferred_size(width, height) overload. 2019-07-20 22:39:24 +02:00
GResizeCorner.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GScrollableWidget.cpp LibGUI: Teach GScrollableWidget how to hide unnecessary scrollbars 2019-09-05 21:37:15 +02:00
GScrollableWidget.h LibGUI: Teach GScrollableWidget how to hide unnecessary scrollbars 2019-09-05 21:37:15 +02:00
GScrollBar.cpp GScrollBar: Scrolling with the mouse wheel should use step increments 2019-09-06 15:01:08 +02:00
GScrollBar.h GScrollBar: Allow scrolling the scrollbar by mouse-wheeling over it 2019-08-20 20:11:20 +02:00
GShortcut.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GShortcut.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GSlider.cpp GSlider: Add support for vertical sliders. 2019-07-20 19:32:12 +02:00
GSlider.h GSlider: Add support for vertical sliders. 2019-07-20 19:32:12 +02:00
GSortingProxyModel.cpp GModel: Remove selected_index() and set_selected_index() 2019-09-07 21:39:44 +02:00
GSortingProxyModel.h GSortingProxyModel: Sort case insensitively by default (#441) 2019-08-11 18:11:25 +02:00
GSpinBox.cpp WindowServer+LibGUI+FontEditor: Encode special characters as UTF-8 2019-09-05 16:37:39 +02:00
GSpinBox.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GSplitter.cpp GSplitter: Change default spacing to 3 pixels 2019-09-04 18:53:46 +02:00
GSplitter.h Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GStackWidget.cpp GStackWidget: Add a notification hook for when the active widget changes. 2019-07-07 21:50:38 +02:00
GStackWidget.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GStatusBar.cpp GWidget: Add set_preferred_size(width, height) overload. 2019-07-20 22:39:24 +02:00
GStatusBar.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GTableView.cpp GTableView: Switch to using GModelSelection to support multi-select 2019-09-07 19:35:45 +02:00
GTableView.h GTableView: Add a way to customize cell painting per-column 2019-08-14 20:34:46 +02:00
GTabWidget.cpp GTabWidget: Rename get_active_tab() => active_tab_index() 2019-09-07 16:57:26 +02:00
GTabWidget.h GTabWidget: Rename get_active_tab() => active_tab_index() 2019-09-07 16:57:26 +02:00
GTextBox.cpp Libraries: Create top level directory for libraries. 2019-07-04 16:16:50 +02:00
GTextBox.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GTextEditor.cpp GTextEditor: Paint line numbers with TopRight text alignment 2019-09-06 19:24:16 +02:00
GTextEditor.h GTextEditor: Fix wrong width calculations with line-wrapping enabled 2019-09-01 20:04:25 +02:00
GToolBar.cpp LibGUI+TextEditor: Make GButton activate its action if present 2019-08-25 21:46:39 +02:00
GToolBar.h LibCore: Introduce a C_OBJECT macro. 2019-07-25 19:49:28 +02:00
GTreeView.cpp GTreeView: Switch to using GModelSelection 2019-09-07 20:15:33 +02:00
GTreeView.h GTreeView: Support multiple root-level items 2019-08-18 10:17:00 +02:00
GVariant.cpp GVariant: Add Type::UnsignedInt. 2019-07-31 07:07:59 +02:00
GVariant.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GWidget.cpp LibGUI: Add a way for GWidgets to do custom layout on child hide/show 2019-09-01 20:51:20 +02:00
GWidget.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GWindow.cpp GWindow: Allow clients to prevent close requests from closing 2019-08-27 20:35:37 +02:00
GWindow.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
GWindowType.h WindowServer: Add a custom window type for Launcher 2019-07-14 00:06:47 +02:00
install.sh Libraries: Fix wrong paths to "Root" in the various install.sh scripts. 2019-07-21 21:38:30 +02:00
Makefile LibGUI: Add GModelSelection to help implementing multiple-select views 2019-09-07 19:21:07 +02:00