1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00
serenity/Libraries/LibGUI
Tom 27bd2eab22 LibWeb: Require parent window argument for MessageBox
Since the vast majority of message boxes should be modal, require
the parent window to be passed in, which can be nullptr for the
rare case that they don't. By it being the first argument, the
default arguments also don't need to be explicitly stated in most
cases, and it encourages passing in a parent window handle.

Fix up several message boxes that should have been modal.
2020-07-16 16:10:21 +02:00
..
AboutDialog.cpp AboutDialog: Replace Label with Image to show banner and app icon 2020-06-18 16:35:57 +02:00
AboutDialog.h LibGUI, About: Implement system-wide W2k-esque About dialog 2020-05-27 11:44:19 +02:00
AbstractButton.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
AbstractButton.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
AbstractTableView.cpp LibGUI: Use Resize{Column,Row} cursor for Splitter and AbstractTableView 2020-07-07 23:11:39 +02:00
AbstractTableView.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
AbstractView.cpp LibGUI: Add hover highlighting and keyboard controls to ComboBox 2020-07-15 13:19:44 +02:00
AbstractView.h LibGUI: Add hover highlighting and keyboard controls to ComboBox 2020-07-15 13:19:44 +02:00
Action.cpp LibGUI: Turn GUI::Application::the() into a pointer 2020-07-04 16:54:55 +02:00
Action.h FileManager: Add "Open with" menu if alternative applications are available 2020-07-15 00:11:30 +02: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: Turn GUI::Application::the() into a pointer 2020-07-04 16:54:55 +02:00
Application.h LibGUI: Turn GUI::Application::the() into a pointer 2020-07-04 16:54:55 +02:00
BoxLayout.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
BoxLayout.h LibGUI: Make Layout a Core::Object and add basic serialization 2020-03-05 09:22:43 +01:00
Button.cpp Userspace: Remove a bunch of unnecessary Kernel/API/KeyCode.h includes 2020-07-04 17:25:31 +02:00
Button.h LibGUI: Add hook when a context menu is requested on a button 2020-05-22 18:23:02 +02:00
CheckBox.cpp Userspace: Remove a bunch of unnecessary Kernel/API/KeyCode.h includes 2020-07-04 17:25:31 +02:00
CheckBox.h LibGUI: Include keyboard modifier state with button on_click calls 2020-05-12 20:31:16 +02:00
Clipboard.cpp Clipboard: Move the system clipboard to a dedicated service process :^) 2020-05-14 22:53:58 +02:00
Clipboard.h FileManager+LibGUI+Userland: Switch clipboard to MIME types 2020-05-16 09:11:46 +02:00
CMakeLists.txt LibGUI: Add a new GUI::Image component for display images 2020-06-18 16:35:57 +02:00
ColorInput.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ColorInput.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ColorPicker.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ColorPicker.h LibGUI: Transfer "color has alpha channel" state 2020-04-29 16:22:09 +02:00
ColumnsView.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ColumnsView.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ComboBox.cpp LibGUI: Remove on_activity_change from ComboBox 2020-07-16 00:45:35 +02:00
ComboBox.h LibGUI: Allow scrolling through a ComboBox with the mouse wheel 2020-05-12 15:11:06 +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: Fix CppLexer assertion on incomplete #include statements 2020-04-04 11:00:14 +02: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 LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Desktop.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Dialog.cpp LibGUI: Use dbg() instead of dbgprintf() in GUI::Dialog 2020-05-19 17:46:28 +02: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: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
DragOperation.h LibGUI: Add forwarding header 2020-02-16 09:41:56 +01:00
EmojiInputDialog.cpp AK: Rename FileSystemPath -> LexicalPath 2020-05-26 14:35:10 +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 WindowServer: Expose window parent information and more modal improvements 2020-07-16 16:10:21 +02:00
FilePicker.cpp LibWeb: Require parent window argument for MessageBox 2020-07-16 16:10:21 +02:00
FilePicker.h LibGUI: Add parent window argument to FilePicker functions 2020-07-16 16:10:21 +02:00
FileSystemModel.cpp LibGUI+FileManager: Fix forgetting to map sorting proxy model indexes 2020-07-15 13:41:46 +02:00
FileSystemModel.h FileManager: Show an open folder icon for the selected directory 2020-07-10 19:44:18 +02: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 ModelClient abstract class and allow registering clients 2020-07-13 19:49:34 +02:00
Frame.cpp LibGUI: Introduce widget content margins + improve splitters 2020-04-24 19:05:02 +02:00
Frame.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02: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
Icon.cpp Misc: Replace "String(string_view)" with "string_view.to_string()" 2020-05-06 19:28:59 +02:00
Icon.h LibGUI: Move Icon and FontDatabase into the GUI namespace 2020-03-07 01:33:53 +01:00
IconView.cpp LibGUI: Add ability to disable multiselect for views 2020-07-13 19:49:34 +02:00
IconView.h LibGUI: Improve IconView performance with large selections 2020-07-13 19:49:34 +02:00
Image.cpp LibGUI: Bug fix on GUI::Image when image is nullptr 2020-06-21 16:42:46 +02:00
Image.h LibGUI: Add a new GUI::Image component for display images 2020-06-18 16:35:57 +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: INI file syntax highlighter 2020-05-01 16:58:18 +02:00
INISyntaxHighlighter.h LibGUI: INI file syntax highlighter 2020-05-01 16:58:18 +02:00
InputBox.cpp LibGUI: Include keyboard modifier state with button on_click calls 2020-05-12 20:31:16 +02:00
InputBox.h LibGUI: Don't use Core::Object::add() to instantiate dialogs 2020-03-04 21:04:06 +01:00
JsonArrayModel.cpp AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
JsonArrayModel.h LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizing 2020-05-21 19:55:44 +02:00
JSSyntaxHighlighter.cpp LibGUI: Highlight JS Extends and Super tokens 2020-07-01 11:18:44 +02:00
JSSyntaxHighlighter.h LibGUI: Rename SyntaxLanguage::{Javascript -> JavaScript} 2020-05-07 22:04:56 +02: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: Add hover highlighting and keyboard controls to ComboBox 2020-07-15 13:19:44 +02:00
ListView.h LibGUI: Add hover highlighting and keyboard controls to ComboBox 2020-07-15 13:19:44 +02:00
Margins.h LibGUI: Remove leading G from filenames 2020-02-06 20:33:02 +01:00
Menu.cpp LibGUI: Fix menu leak when default action changed 2020-07-15 00:11:30 +02:00
Menu.h WindowServer/LibGUI: Add default menu items and allow default action for context menu 2020-07-11 11:45:49 +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 LibWeb: Require parent window argument for MessageBox 2020-07-16 16:10:21 +02:00
MessageBox.h LibWeb: Require parent window argument for MessageBox 2020-07-16 16:10:21 +02:00
Model.cpp LibGUI: Add ModelClient abstract class and allow registering clients 2020-07-13 19:49:34 +02:00
Model.h LibGUI: Add ModelClient abstract class and allow registering clients 2020-07-13 19:49:34 +02: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 ModelClient abstract class and allow registering clients 2020-07-13 19:49:34 +02:00
ModelSelection.h LibGUI: Add ModelClient abstract class and allow registering clients 2020-07-13 19:49:34 +02:00
MultiView.cpp LibGUI: Add ability to disable multiselect for views 2020-07-13 19:49:34 +02:00
MultiView.h LibGUI: Add ability to disable multiselect for views 2020-07-13 19:49:34 +02:00
Notification.cpp Meta: Add missing copyright headers 2020-04-06 11:09:01 +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
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 LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
RadioButton.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ResizeCorner.cpp LibGUI: Make sure the ResizeCorner aligns nicely inside StatusBar 2020-04-23 15:58:39 +02:00
ResizeCorner.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
ScrollableWidget.cpp LibGUI: Make scrollbar thumb size relative to content size 2020-07-09 21:56:45 +02:00
ScrollableWidget.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ScrollBar.cpp LibGUI: Make scrollbar thumb size relative to content size 2020-07-09 21:56:45 +02:00
ScrollBar.h LibGUI: Make scrollbar thumb size relative to content size 2020-07-09 21:56:45 +02:00
Shortcut.cpp LibGUI: Use KeyCode stringification helper in Shortcut::to_string() 2020-05-12 17:02:33 +02:00
Shortcut.h Kernel: Move headers intended for userspace use into Kernel/API/ 2020-07-04 17:22:23 +02:00
Slider.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Slider.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
SortingProxyModel.cpp LibGUI+FileManager: Fix forgetting to map sorting proxy model indexes 2020-07-15 13:41:46 +02:00
SortingProxyModel.h LibGUI: Add ModelClient abstract class and allow registering clients 2020-07-13 19:49:34 +02:00
SpinBox.cpp LibGUI: SpinBox: update the displayed value when set_range() clamps it 2020-06-29 14:57:36 +02:00
SpinBox.h LibGUI: Make the "enabled" widget state propagate to child widgets 2020-05-08 13:49:58 +02:00
Splitter.cpp LibGUI: Use Resize{Column,Row} cursor for Splitter and AbstractTableView 2020-07-07 23:11:39 +02:00
Splitter.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
StackWidget.cpp LibGUI: Grant focus when activating a new stack/tab child widget 2020-04-24 14:34:24 +02:00
StackWidget.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
StatusBar.cpp LibGUI: Make StatusBar 2px shorter vertically for a snugger fit 2020-04-23 18:52:34 +02: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: Rename SyntaxLanguage::{Javascript -> JavaScript} 2020-05-07 22:04:56 +02:00
TableView.cpp Userspace: Remove a bunch of unnecessary Kernel/API/KeyCode.h includes 2020-07-04 17:25:31 +02:00
TableView.h LibGUI: Move AbstractTableView::keydown_event() down to TableView 2020-05-21 13:40:52 +02:00
TabWidget.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
TabWidget.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
TextBox.cpp LibGUI: Add up & down arrow hooks and input history to TextBox 2020-05-27 20:04:52 +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: Add flag to TextDocument's word break locator methods 2020-05-25 11:33:39 +02:00
TextDocument.h LibGUI: Add flag to TextDocument's word break locator methods 2020-05-25 11:33:39 +02:00
TextEditor.cpp LibGUI: Disallow typing in DisplayOnly TextEditors 2020-07-16 00:06:18 +02:00
TextEditor.h LibGUI: Add hover highlighting and keyboard controls to ComboBox 2020-07-15 13:19:44 +02: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: Add a ToolBarContainer widget and put most ToolBars in one 2020-04-23 17:44:49 +02:00
ToolBar.h LibGUI: Remove parent parameter to GUI::Widget constructor 2020-02-23 12:27:53 +01:00
ToolBarContainer.cpp LibGUI: Make ToolBarContainer better at reacting to child events 2020-04-25 17:16:05 +02:00
ToolBarContainer.h LibCore+LibHTTP: Move out the HTTP handler and add HTTPS 2020-05-02 12:24:10 +02:00
TreeView.cpp LibGUI: Fix keybind conflicts in TreeView 2020-07-13 14:27:23 +02:00
TreeView.h LibGUI: Add on_toggle function to TreeView 2020-07-07 13:38:35 +02: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 LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Variant.h AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
Widget.cpp WindowServer: Add accessory windows 2020-07-15 17:15:45 +02:00
Widget.h LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
Window.cpp LibGUI: Clear previous main widget's window 2020-07-16 16:10:21 +02:00
Window.h WindowServer: Add accessory windows 2020-07-15 17:15:45 +02:00
WindowServerConnection.cpp WindowServer: Expose window parent information and more modal improvements 2020-07-16 16:10:21 +02: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