summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Action.cpp
AgeCommit message (Collapse)Author
2022-01-09LibGUI+WindowServer: Flash menubar menu when using a keyboard shortcutbugreport0
Briefly flash the menubar menu containing the keyboard shortcut action to give the user immediate visual feedback on their interaction with the system.
2021-08-19LibGUI: Move common action definitions to CommonActions.cppsin-ack
This makes Action.cpp itself only talk about the Action object, and makes it easier to navigate.
2021-07-21LibGfx: Use "try_" prefix for static factory functionsAndreas Kling
Also mark them as [[nodiscard]].
2021-07-14Base+LibGUI: Add icon to the Rename actionjakubiakdev
2021-07-13LibGUI: Add Rename actionKarol Kosek
2021-06-25LibGUI: Add alternate shortcut F5 to the "reload" common actionAatos Majava
2021-06-25LibGUI: Add support for an alternate keyboard shortcut in ActionAatos Majava
This patch adds the alternate_shortcut member to LibGUI::Action, which enables one Action to have two keyboard shortcuts. Note that the string used in menus and tooltips only shows the main shortcut, which is the same behaviour as in Firefox and Chrome.
2021-05-21Applications: Use titlecase and distinct underlined characters in menusMax Wipfli
This changes (context) menus across the system to conform to titlecase capitalization and to not underline the same character twice (for accessing actions with Alt).
2021-05-15LibGUI: Add CommonActions helpers for "zoom in/out" and "reset zoom"Andreas Kling
2021-05-08LibGUI: Make Action::set_text() update any associated menu itemsAndreas Kling
Now you can change the text of an action and it will actually show up in the menu. :^)
2021-04-23AK: Rename adopt() to adopt_ref()Andreas Kling
This makes it more symmetrical with adopt_own() (which is used to create a NonnullOwnPtr from the result of a naked new.)
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-18LibGUI: Add some more status tips to common actionsAndreas Kling
2021-04-18LibGUI: Rename Action::long_text to Action::status_tipAndreas Kling
This feels a bit more descriptive.
2021-04-17LibGUI: Add a "long text" string to GUI::ActionAndreas Kling
Actions can now have a longer text description, in addition to its regular UI string. The longer text will soon be used to display a more detailed description of hovered actions in statusbars.
2021-04-09LibGUI: Give Alt shortcuts to all the CommonActions :^)Andreas Kling
2021-04-04LibGUI: Add GUI::CommonActions::make_properties_action()Andreas Kling
Many apps want a "Properties" action with the same icon and shortcut.
2021-02-20LibGUI: Use delegating constructors in GUI::ActionAndreas Kling
2021-02-20LibGUI: Tidy up Action constructors and factory functions a bitAndreas Kling
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling