mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
LibGUI+FontEditor: Add context menu for editor actions
GlyphMapWidget now reports context menu requests when secondary clicking the map. This also adds a new Select All action and updates the Copy Character action to work on multi-glyph selections. Glyph navigation actions have been moved to a separate Go menu, as is common in other apps.
This commit is contained in:
parent
42284a1550
commit
b8cc18896f
4 changed files with 59 additions and 9 deletions
|
@ -77,6 +77,9 @@ private:
|
|||
RefPtr<GUI::Action> m_paste_action;
|
||||
RefPtr<GUI::Action> m_delete_action;
|
||||
|
||||
RefPtr<GUI::Action> m_copy_text_action;
|
||||
RefPtr<GUI::Action> m_select_all_action;
|
||||
|
||||
RefPtr<GUI::Action> m_undo_action;
|
||||
RefPtr<GUI::Action> m_redo_action;
|
||||
RefPtr<UndoSelection> m_undo_selection;
|
||||
|
@ -103,7 +106,6 @@ private:
|
|||
RefPtr<GUI::Action> m_flip_vertical_action;
|
||||
RefPtr<GUI::Action> m_rotate_clockwise_action;
|
||||
RefPtr<GUI::Action> m_rotate_counterclockwise_action;
|
||||
RefPtr<GUI::Action> m_copy_character_action;
|
||||
|
||||
RefPtr<GUI::Statusbar> m_statusbar;
|
||||
RefPtr<GUI::Window> m_font_preview_window;
|
||||
|
@ -126,6 +128,7 @@ private:
|
|||
RefPtr<GUI::ListView> m_unicode_block_listview;
|
||||
RefPtr<GUI::Model> m_unicode_block_model;
|
||||
RefPtr<GUI::FilteringProxyModel> m_filter_model;
|
||||
RefPtr<GUI::Menu> m_context_menu;
|
||||
|
||||
String m_path;
|
||||
Vector<String> m_font_weight_list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue