mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:42:43 +00:00 
			
		
		
		
	 d73116e5d5
			
		
	
	
		d73116e5d5
		
	
	
	
	
		
			
			This patch adds persistent indices to models. A PersistentModelIndex is a ModelIndex that will survive most model updates (provided that the data the PersistentModelIndex points to has not been removed by the model's data store). PersistentModelIndex objects can be safely held by objects outside the model they originated from.
		
			
				
	
	
		
			126 lines
		
	
	
	
		
			3 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			126 lines
		
	
	
	
		
			3 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
| compile_gml(FontPickerDialog.gml FontPickerDialogGML.h font_picker_dialog_gml)
 | |
| compile_gml(FilePickerDialog.gml FilePickerDialogGML.h file_picker_dialog_gml)
 | |
| compile_gml(PasswordInputDialog.gml PasswordInputDialogGML.h password_input_dialog_gml)
 | |
| 
 | |
| set(SOURCES
 | |
|     AboutDialog.cpp
 | |
|     AbstractButton.cpp
 | |
|     AbstractScrollableWidget.cpp
 | |
|     AbstractSlider.cpp
 | |
|     AbstractTableView.cpp
 | |
|     AbstractView.cpp
 | |
|     Action.cpp
 | |
|     ActionGroup.cpp
 | |
|     Application.cpp
 | |
|     AutocompleteProvider.cpp
 | |
|     BoxLayout.cpp
 | |
|     Breadcrumbbar.cpp
 | |
|     Button.cpp
 | |
|     Calendar.cpp
 | |
|     CheckBox.cpp
 | |
|     Clipboard.cpp
 | |
|     ColorInput.cpp
 | |
|     ColorPicker.cpp
 | |
|     ColumnsView.cpp
 | |
|     CommonLocationsProvider.cpp
 | |
|     ComboBox.cpp
 | |
|     Command.cpp
 | |
|     Desktop.cpp
 | |
|     Dialog.cpp
 | |
|     DisplayLink.cpp
 | |
|     DragOperation.cpp
 | |
|     EditingEngine.cpp
 | |
|     EmojiInputDialog.cpp
 | |
|     Event.cpp
 | |
|     FileIconProvider.cpp
 | |
|     FilePicker.cpp
 | |
|     FilePickerDialogGML.h
 | |
|     FileSystemModel.cpp
 | |
|     FilteringProxyModel.cpp
 | |
|     FontPicker.cpp
 | |
|     FontPickerDialogGML.h
 | |
|     Frame.cpp
 | |
|     GMLAutocompleteProvider.cpp
 | |
|     GMLFormatter.cpp
 | |
|     GMLLexer.cpp
 | |
|     GMLParser.cpp
 | |
|     GMLSyntaxHighlighter.cpp
 | |
|     GroupBox.cpp
 | |
|     HeaderView.cpp
 | |
|     INILexer.cpp
 | |
|     INISyntaxHighlighter.cpp
 | |
|     Icon.cpp
 | |
|     IconView.cpp
 | |
|     ImageWidget.cpp
 | |
|     InputBox.cpp
 | |
|     JsonArrayModel.cpp
 | |
|     Label.cpp
 | |
|     Layout.cpp
 | |
|     LazyWidget.cpp
 | |
|     LinkLabel.cpp
 | |
|     ListView.cpp
 | |
|     Menu.cpp
 | |
|     MenuItem.cpp
 | |
|     MessageBox.cpp
 | |
|     Model.cpp
 | |
|     ModelIndex.cpp
 | |
|     ModelSelection.cpp
 | |
|     MultiView.cpp
 | |
|     Notification.cpp
 | |
|     OpacitySlider.cpp
 | |
|     Painter.cpp
 | |
|     PasswordInputDialog.cpp
 | |
|     PasswordInputDialogGML.h
 | |
|     PersistentModelIndex.cpp
 | |
|     ProcessChooser.cpp
 | |
|     Progressbar.cpp
 | |
|     RadioButton.cpp
 | |
|     RegularEditingEngine.cpp
 | |
|     ResizeCorner.cpp
 | |
|     RunningProcessesModel.cpp
 | |
|     ScreenLayout.cpp
 | |
|     ScrollableContainerWidget.cpp
 | |
|     Scrollbar.cpp
 | |
|     SeparatorWidget.cpp
 | |
|     Shortcut.cpp
 | |
|     Slider.cpp
 | |
|     SortingProxyModel.cpp
 | |
|     SpinBox.cpp
 | |
|     Splitter.cpp
 | |
|     StackWidget.cpp
 | |
|     Statusbar.cpp
 | |
|     TabWidget.cpp
 | |
|     TableView.cpp
 | |
|     TextBox.cpp
 | |
|     TextDocument.cpp
 | |
|     TextEditor.cpp
 | |
|     Toolbar.cpp
 | |
|     ToolbarContainer.cpp
 | |
|     TreeView.cpp
 | |
|     UndoStack.cpp
 | |
|     ValueSlider.cpp
 | |
|     Variant.cpp
 | |
|     VimEditingEngine.cpp
 | |
|     Widget.cpp
 | |
|     Window.cpp
 | |
|     WindowServerConnection.cpp
 | |
|     WindowManagerServerConnection.cpp
 | |
|     Wizards/WizardDialog.cpp
 | |
|     Wizards/AbstractWizardPage.cpp
 | |
|     Wizards/CoverWizardPage.cpp
 | |
|     Wizards/WizardPage.cpp
 | |
| )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     ../../Services/WindowServer/WindowClientEndpoint.h
 | |
|     ../../Services/WindowServer/WindowServerEndpoint.h
 | |
|     ../../Services/WindowServer/WindowManagerClientEndpoint.h
 | |
|     ../../Services/WindowServer/WindowManagerServerEndpoint.h
 | |
|     ../../Services/NotificationServer/NotificationClientEndpoint.h
 | |
|     ../../Services/NotificationServer/NotificationServerEndpoint.h
 | |
|     ../../Services/Clipboard/ClipboardClientEndpoint.h
 | |
|     ../../Services/Clipboard/ClipboardServerEndpoint.h
 | |
| )
 | |
| 
 | |
| serenity_lib(LibGUI gui)
 | |
| target_link_libraries(LibGUI LibCore LibGfx LibIPC LibThreading LibRegex LibSyntax)
 |