mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
DisplaySettings: Add context menu for wallpapers
This adds a 'Show in File Manager' action and copy path action to file context menu for quicker navigation. :^)
This commit is contained in:
parent
77953a937d
commit
ad5bd209ba
4 changed files with 24 additions and 6 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <LibCore/Timer.h>
|
||||
#include <LibGUI/ColorInput.h>
|
||||
#include <LibGUI/ComboBox.h>
|
||||
#include <LibGUI/Menu.h>
|
||||
#include <LibGUI/RadioButton.h>
|
||||
|
||||
namespace DisplaySettings {
|
||||
|
@ -35,6 +36,9 @@ private:
|
|||
RefPtr<GUI::IconView> m_wallpaper_view;
|
||||
RefPtr<GUI::ComboBox> m_mode_combo;
|
||||
RefPtr<GUI::ColorInput> m_color_input;
|
||||
RefPtr<GUI::Menu> m_context_menu;
|
||||
RefPtr<GUI::Action> m_show_in_file_manager_action;
|
||||
RefPtr<GUI::Action> m_copy_action;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue