mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:02:44 +00:00 
			
		
		
		
	 ae2579d8b5
			
		
	
	
		ae2579d8b5
		
	
	
	
	
		
			
			The FilePicker has implemented its common locations tray as a composite widget built from a GUI::Frame with a bunch of GUI::Button inside it. The problem with that is that it creates a long and annoying chain of keyboard-focusable widgets. This patch adds GUI::Tray, which is a dedicated single widget that implements the same UI element, but without child widgets.
		
			
				
	
	
		
			129 lines
		
	
	
	
		
			3.1 KiB
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			129 lines
		
	
	
	
		
			3.1 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
 | |
|     CommonActions.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
 | |
|     MouseTracker.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
 | |
|     Tray.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 LibConfig)
 |