1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Libraries/LibGUI
Andreas Kling ee85713e52 LibGUI: Add fixed_size/fixed_width/fixed_height helpers to Widget
Fixed sizes are really just shorthands for setting min and max size to
the same value.

This makes it much nicer to express fixed sizes in GML:

Before:

    @GUI::Widget {
        horizontal_size_policy: "Fixed"
        preferred_width: 20
    }

After:

    @GUI::Widget {
        fixed_width: 20
    }
2020-12-30 01:28:28 +01:00
..
AboutDialog.cpp LibGUI: Tweak "OK" button height in GUI::AboutDialog 2020-10-26 21:01:45 +01:00
AboutDialog.h LibGUI, About: Implement system-wide W2k-esque About dialog 2020-05-27 11:44:19 +02:00
AbstractButton.cpp LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
AbstractButton.h LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
AbstractTableView.cpp LibGUI: Table views with SelectRows should scroll entire rows into view 2020-12-17 00:54:58 +01:00
AbstractTableView.h LibGUI: Remove `AbstractView::did_update_model()' 2020-11-30 12:07:45 +01:00
AbstractView.cpp LibGUI: Enforce the SelectionMode in AbstractView::set_cursor() 2020-12-29 00:43:50 +01:00
AbstractView.h LibGUI: Refactor AbstractView "multi select" mode into "selection mode" 2020-12-28 21:28:40 +01:00
Action.cpp Base: Move 16x16 common icons to /res/icons/16x16/ 2020-08-27 15:38:02 +02:00
Action.h LibGUI: Allow GUI::Action to swallow key events when disabled 2020-12-07 15:55:12 +01:00
ActionGroup.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
ActionGroup.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Application.cpp LibGUI: Show tooltip after a small delay 2020-12-28 21:28:40 +01:00
Application.h LibGUI: Show tooltip after a small delay 2020-12-28 21:28:40 +01:00
BoxLayout.cpp LibGUI: Add min/max sizes to GUI::Widget 2020-12-30 01:28:28 +01:00
BoxLayout.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
BreadcrumbBar.cpp LibGUI: Use Object::remove_all_children() in BreadcrumbBar (#4580) 2020-12-27 23:07:10 +01:00
BreadcrumbBar.h LibGUI: Add a basic BreadcrumbBar widget! :^) 2020-12-14 20:43:42 +01:00
Button.cpp LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
Button.h LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
Calendar.cpp LibGUI: Remove spacing between day labels in Calendar 2020-08-23 11:22:21 +02:00
Calendar.h LibGUI+Calendar: Make Calendar a common widget in LibGUI 2020-08-22 11:54:30 +02:00
CheckBox.cpp LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
CheckBox.h LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
Clipboard.cpp Clipboard: Remove-unused bpp metadata 2020-12-08 09:37:30 +01:00
Clipboard.h AK: Resolve format related circular dependencies properly. 2020-09-23 21:45:28 +02:00
CMakeLists.txt Everywhere: Move AppFile from LibGUI to LibDesktop 2020-12-28 01:28:07 +01:00
ColorInput.cpp LibGUI: Use widget override cursors in ColorInput 2020-09-11 14:51:02 +02:00
ColorInput.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ColorPicker.cpp LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
ColorPicker.h LibGUI: Update color widgets when has_alpha is toggled in ColorPicker 2020-09-26 19:55:54 +02:00
ColumnsView.cpp LibGUI: Make selected item tint color based on focused state 2020-12-28 01:14:01 +01:00
ColumnsView.h LibGUI: Remove `AbstractView::did_update_model()' 2020-11-30 12:07:45 +01:00
ComboBox.cpp LibGUI: Simplify ComboBox/TextEditor relationship a bit 2020-12-13 11:49:18 +01:00
ComboBox.h LibGUI: Simplify ComboBox/TextEditor relationship a bit 2020-12-13 11:49:18 +01:00
Command.cpp LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
Command.h HackStudio: Add C++ Language Server 2020-09-30 21:46:59 +02:00
ControlBoxButton.cpp LIbGUI+LibGfx: Paint focused push buttons with a heavier look 2020-12-28 12:41:26 +01:00
ControlBoxButton.h LibGUI: Add ControlBoxButton to LibGUI 2020-07-20 21:03:48 +02:00
CppSyntaxHighlighter.cpp LibGUI: Make syntax highlighter communicate boldness instead of font 2020-12-28 15:53:10 +01:00
CppSyntaxHighlighter.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Desktop.cpp FileManager: Apply wallpaper on startup 2020-08-17 17:47:14 +02:00
Desktop.h FileManager: Apply wallpaper on startup 2020-08-17 17:47:14 +02:00
Dialog.cpp LibGUI: Make GUI::Dialogs non-minimizable by default 2020-11-28 10:26:05 +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 LibGUI+WindowServer: Make DragOperation hold a MimeData instance 2020-11-08 21:46:13 +01:00
DragOperation.h LibGUI+WindowServer: Make DragOperation hold a MimeData instance 2020-11-08 21:46:13 +01:00
EmojiInputDialog.cpp Unicode: Try s/codepoint/code_point/g again 2020-08-05 22:33:42 +02:00
EmojiInputDialog.h LibGUI: Add a simple emoji input dialog activated by Ctrl+Alt+Space :^) 2020-05-17 22:35:25 +02:00
Event.cpp Userspace: Remove a bunch of unnecessary Kernel/API/KeyCode.h includes 2020-07-04 17:25:31 +02:00
Event.h LibGUI: Make some GUI event getters return const references 2020-09-13 21:41:45 +02:00
FileIconProvider.cpp LibGUI: Make GUI::FileIconProvider::icon_for_executable() a public API 2020-12-28 11:41:09 +01:00
FileIconProvider.h LibGUI: Make GUI::FileIconProvider::icon_for_executable() a public API 2020-12-28 11:41:09 +01:00
FilePicker.cpp LibGUI: Make FilePicker a little smaller by default 2020-12-29 00:30:25 +01:00
FilePicker.h LibGUI: Rename ModelClient::on_model_update() => model_did_update() 2020-08-13 20:18:11 +02:00
FileSystemModel.cpp LibGfx: Make Bitmap path handling case insensitive 2020-11-14 10:11:26 +01:00
FileSystemModel.h LibGUI: Implement searching/jumping as you type in views 2020-10-22 15:23:45 +02:00
FilteringProxyModel.cpp LibGUI: Implement searching/jumping as you type in views 2020-10-22 15:23:45 +02:00
FilteringProxyModel.h LibGUI: Implement searching/jumping as you type in views 2020-10-22 15:23:45 +02:00
FocusSource.h LibGUI: Make focus events more aware of why focus is changing 2020-08-15 00:05:45 +02:00
Forward.h LibGUI: Move table view headers into their own widget 2020-08-26 00:51:35 +02:00
Frame.cpp LibGUI: Clip GUI::Frame children to the frame_inner_rect() 2020-08-26 00:51:35 +02:00
Frame.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
GMLLexer.cpp LibGUi: Rework GML parser into a lexer+parser 2020-12-21 18:26:18 +01:00
GMLLexer.h LibGUi: Rework GML parser into a lexer+parser 2020-12-21 18:26:18 +01:00
GMLParser.cpp LibGUI: Consider comment tokens in GMLParser 2020-12-29 15:42:30 +01:00
GMLParser.h LibGUI: Introduce GML - a simple GUI Markup Language :^) 2020-12-20 11:59:40 +01:00
GMLSyntaxHighlighter.cpp LibGUI: Make syntax highlighter communicate boldness instead of font 2020-12-28 15:53:10 +01:00
GMLSyntaxHighlighter.h LibGUI+TextEditor+HackStudio: Add GML syntax highlighter :^) 2020-12-21 18:26:18 +01:00
GroupBox.cpp LibGUI: Draw contiguous frame if GroupBox title is left empty 2020-07-14 17:55:39 +02:00
GroupBox.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
HeaderView.cpp LibGUI: Don't assert when right clicking on a vertical HeaderView 2020-11-28 10:26:05 +01:00
HeaderView.h LibGUI: Make table view row height+padding font-size-relative 2020-10-25 10:12:03 +01:00
Icon.cpp Misc: Replace "String(string_view)" with "string_view.to_string()" 2020-05-06 19:28:59 +02:00
Icon.h LibGUI: Include LibGfx/Bitmap.h in Icon.h 2020-12-27 18:36:43 +01:00
IconView.cpp LibGUI: Refactor AbstractView "multi select" mode into "selection mode" 2020-12-28 21:28:40 +01:00
IconView.h LibGUI: Support top-to-bottom flow in IconView 2020-12-27 14:48:12 +01:00
ImageWidget.cpp LibGUI: Fix build after renaming Image => ImageWidget 2020-07-23 17:43:44 +02:00
ImageWidget.h LibGUI: Rename GUI::Image => GUI::ImageWidget 2020-07-23 17:31:08 +02:00
INILexer.cpp LibGUI: INI file syntax highlighter 2020-05-01 16:58:18 +02:00
INILexer.h LibGUI: INI file syntax highlighter 2020-05-01 16:58:18 +02:00
INISyntaxHighlighter.cpp LibGUI: Make syntax highlighter communicate boldness instead of font 2020-12-28 15:53:10 +01:00
INISyntaxHighlighter.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
InputBox.cpp LibGUI: Set parent icon, margins and disable resize for InputBox 2020-07-18 16:27:57 +02:00
InputBox.h LibGUI: Add InputBox::show with required parent window argument 2020-07-16 16:10:21 +02:00
ItemListModel.h DisplaySettings+LibGUI: Move ItemListModel into LibGUI 2020-08-29 17:42:03 +02:00
JsonArrayModel.cpp LibGUI: Remove unnecessary type cast in JsonArrayModel. 2020-09-20 21:10:46 +02:00
JsonArrayModel.h LibGUI: Remove unnecessary type cast in JsonArrayModel. 2020-09-20 21:10:46 +02:00
JSSyntaxHighlighter.cpp LibGUI: Make syntax highlighter communicate boldness instead of font 2020-12-28 15:53:10 +01:00
JSSyntaxHighlighter.h Spreadsheet: Add a syntax highlighter to the cell editor 2020-08-24 19:15:07 +02:00
Label.cpp LibGUI: Register Label "text_alignment" property 2020-12-29 15:42:30 +01:00
Label.h LibGUI: Make the LinkLabel widget keyboard-friendly 2020-12-26 16:09:02 +01:00
Layout.cpp AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safe 2020-11-10 19:11:52 +01:00
Layout.h LibCore: Make Core::Object properties more dynamic 2020-09-15 21:46:26 +02: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
LinkLabel.cpp LibGUI: Show a hand cursor when hovering over a GUI::LinkLabel 2020-12-28 01:02:57 +01:00
LinkLabel.h LibGUI: Set default value of LinkLabel text argument to a null string 2020-12-29 15:42:30 +01:00
ListView.cpp LibGUI: Remove `AbstractView::did_update_model()' 2020-11-30 12:07:45 +01:00
ListView.h LibGUI: Remove `AbstractView::did_update_model()' 2020-11-30 12:07:45 +01:00
Margins.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Menu.cpp AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safe 2020-11-10 19:11:52 +01:00
Menu.h LibGUI: Enable icons for SubMenus 2020-07-28 16:29:44 +02:00
MenuBar.cpp LibGUI: Make MenuBar a Core::Object 2020-04-21 16:19:18 +02:00
MenuBar.h LibGUI: Make MenuBar a Core::Object 2020-04-21 16:19:18 +02:00
MenuItem.cpp WindowServer/LibGUI: Add default menu items and allow default action for context menu 2020-07-11 11:45:49 +02:00
MenuItem.h WindowServer/LibGUI: Add default menu items and allow default action for context menu 2020-07-11 11:45:49 +02:00
MessageBox.cpp Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
MessageBox.h LibWeb: Require parent window argument for MessageBox 2020-07-16 16:10:21 +02:00
Model.cpp LibGUI: Remove `AbstractView::did_update_model()' 2020-11-30 12:07:45 +01:00
Model.h LibGUI+WindowServer: Make DragOperation hold a MimeData instance 2020-11-08 21:46:13 +01:00
ModelEditingDelegate.h LibGUI: Select the edited text by default in StringModelEditingDelegate 2020-12-27 19:08:19 +01:00
ModelIndex.cpp LibGUI: Add formatter for ModelIndex. 2020-10-06 15:04:37 +02:00
ModelIndex.h LibGUI: Add formatter for ModelIndex. 2020-10-06 15:04:37 +02:00
ModelRole.h LibGUI+WindowServer: Make DragOperation hold a MimeData instance 2020-11-08 21:46:13 +01:00
ModelSelection.cpp LibGUI: Add a ModelSelection::add_all(Vector) API 2020-11-30 12:07:45 +01:00
ModelSelection.h LibGUI: Add a ModelSelection::add_all(Vector) API 2020-11-30 12:07:45 +01:00
MultiView.cpp LibGUI: Refactor AbstractView "multi select" mode into "selection mode" 2020-12-28 21:28:40 +01:00
MultiView.h LibGUI: Refactor AbstractView "multi select" mode into "selection mode" 2020-12-28 21:28:40 +01:00
Notification.cpp Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Notification.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +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
ProcessChooser.cpp LibGUI: Set ProcessChooser key column and sort order after set_model (#3521) 2020-09-17 16:17:14 +02:00
ProcessChooser.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
ProgressBar.cpp LibGUI: Rename ProgressBar property caption => text and expose to GML 2020-12-20 12:29:40 +01:00
ProgressBar.h LibGUI: Rename ProgressBar property caption => text and expose to GML 2020-12-20 12:29:40 +01:00
RadioButton.cpp LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
RadioButton.h LibGUI: Tweak AbstractButton and subclass constructors 2020-12-28 15:53:10 +01:00
ResizeCorner.cpp Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
ResizeCorner.h LibGUI: Use widget override cursors in GUI::ResizeCorner 2020-09-11 14:47:38 +02:00
RunningProcessesModel.cpp LibGUI: Make GUI::FileIconProvider::icon_for_executable() a public API 2020-12-28 11:41:09 +01:00
RunningProcessesModel.h LibGUI: Move GUI::Model::Role to GUI::ModelRole 2020-08-16 16:44:09 +02:00
ScrollableWidget.cpp LibGUI: Limit ScrollableWidget::available_size() width/height to 0 2020-11-08 17:21:11 +01:00
ScrollableWidget.h LibGUI: Add ScrollableWidget helpers for rect conversion 2020-12-16 19:39:26 +01:00
ScrollBar.cpp Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
ScrollBar.h LibGUI: Make ScrollBar track the currently pressed component 2020-08-25 20:20:45 +02:00
ShellSyntaxHighlighter.cpp Shell: Add runtime errors and implement break/continue 2020-12-29 16:55:43 +01:00
ShellSyntaxHighlighter.h LibGUI: Add a Shell syntax highlighter 2020-09-30 20:05:24 +02:00
Shortcut.cpp LibGUI: Use StringBuilder::join() in Shortcut::to_string() 2020-08-19 21:17:02 +02:00
Shortcut.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Slider.cpp LibGUI: offset value by minimum to ensure proper rendering of sliders 2020-12-29 23:37:38 +01:00
Slider.h Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
SortingProxyModel.cpp LibGUI: Implement searching/jumping as you type in views 2020-10-22 15:23:45 +02:00
SortingProxyModel.h LibGUI: Implement searching/jumping as you type in views 2020-10-22 15:23:45 +02:00
SpinBox.cpp LibGUI: Add Widget focus policies 2020-10-30 17:03:28 +01:00
SpinBox.h LibGUI: Use on_up_pressed/on_down_pressed events in SpinBox 2020-09-23 20:44:23 +02:00
Splitter.cpp AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safe 2020-11-10 19:11:52 +01:00
Splitter.h LibGUI: Splitter should only override cursor if within grabbable area 2020-08-27 10:42:15 +02:00
StackWidget.cpp LibGUI: Add Widget::has_focus_within() 2020-10-30 23:40:23 +01:00
StackWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
StatusBar.cpp LibGUI: Hide ResizeCorner in StatusBar when window is maximized 2020-08-31 09:08:26 +02:00
StatusBar.h LibGUI: Hide ResizeCorner in StatusBar when window is maximized 2020-08-31 09:08:26 +02:00
SyntaxHighlighter.cpp AK: Make RefPtr, NonnullRefPtr, WeakPtr thread safe 2020-11-10 19:11:52 +01:00
SyntaxHighlighter.h LibGUI: Make syntax highlighter communicate boldness instead of font 2020-12-28 15:53:10 +01:00
TableView.cpp LibGUI: Make selected item tint color based on focused state 2020-12-28 01:14:01 +01:00
TableView.h LibGUI: Move selection behavior from TableView up to AbstractView 2020-12-17 00:54:58 +01:00
TabWidget.cpp LibGUI: Move REGISTER_WIDGET(GUI, TabWidget) to Widget.cpp 2020-12-29 15:42:30 +01:00
TabWidget.h LibGUI: Make TabWidget unfocusable when tab-less 2020-10-30 17:03:29 +01:00
TextBox.cpp Meta+LibC through LibHTTP: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
TextBox.h LibGUI: Add up & down arrow hooks and input history to TextBox 2020-05-27 20:04:52 +02:00
TextDocument.cpp LibGUI: Soft tab expansion should be based on insertion column 2020-12-21 09:26:31 +01:00
TextDocument.h LibGUI: Make syntax highlighter communicate boldness instead of font 2020-12-28 15:53:10 +01:00
TextEditor.cpp LibGUI: Register TextEditor "mode" property 2020-12-29 15:42:30 +01:00
TextEditor.h LibGUI: Make autoformatting performed on InsertTextCommand visible to on_edit_action 2020-12-18 16:25:42 +01:00
TextPosition.h LibGUI: Add formatters for TextPosition and TextRange. 2020-10-06 20:29:26 +02:00
TextRange.h LibGUI: Add formatters for TextPosition and TextRange. 2020-10-06 20:29:26 +02:00
ToolBar.cpp LibGUI: Show action shortcut in ToolBarButton tooltip 2020-12-09 15:00:34 +01:00
ToolBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ToolBarContainer.cpp LibGUI: Don't paint borders for invisible bars in ToolBarContainer 2020-10-03 19:43:25 +02:00
ToolBarContainer.h LibGUI: Don't accomodate invisible children in ToolBarContainer height 2020-10-03 14:01:37 +02:00
TreeView.cpp LibGUI: Remove `AbstractView::did_update_model()' 2020-11-30 12:07:45 +01:00
TreeView.h LibGUI: Remove `AbstractView::did_update_model()' 2020-11-30 12:07:45 +01:00
UndoStack.cpp LibGUI: Fix undo stack 2020-11-22 16:07:00 +01:00
UndoStack.h LibGUI: Fix undo stack 2020-11-22 16:07:00 +01:00
Variant.cpp LibGUI: Optimize GUI::Variant move constructor 2020-12-03 21:53:29 +01:00
Variant.h LibGUI: Optimize GUI::Variant move constructor 2020-12-03 21:53:29 +01:00
Widget.cpp LibGUI: Add fixed_size/fixed_width/fixed_height helpers to Widget 2020-12-30 01:28:28 +01:00
Widget.h LibGUI: Add fixed_size/fixed_width/fixed_height helpers to Widget 2020-12-30 01:28:28 +01:00
Window.cpp LibGUI: Switch focus if the currently focused widget is disabled 2020-12-28 01:02:57 +01:00
Window.h LibGUI: Switch focus if the currently focused widget is disabled 2020-12-28 01:02:57 +01:00
WindowServerConnection.cpp LibGUI: Allow GUI::Action to swallow key events when disabled 2020-12-07 15:55:12 +01:00
WindowServerConnection.h WindowServer: Add accessory windows 2020-07-15 17:15:45 +02:00
WindowType.h WindowServer: Add WindowType::Desktop 2020-04-18 21:10:16 +02:00