UI/Qt: Add UI components to enable DevTools at runtime

This commit is contained in:
Timothy Flynn 2025-03-15 10:10:25 -04:00 committed by Alexander Kalenik
commit 0065dde749
Notes: github-actions[bot] 2025-03-15 18:10:39 +00:00
2 changed files with 53 additions and 0 deletions

View file

@ -179,6 +179,9 @@ private:
Web::CSS::PreferredColorScheme m_preferred_color_scheme;
void set_preferred_color_scheme(Web::CSS::PreferredColorScheme color_scheme);
void devtools_disabled();
void devtools_enabled();
QTabWidget* m_tabs_container { nullptr };
Tab* m_current_tab { nullptr };
QMenu* m_zoom_menu { nullptr };
@ -197,6 +200,7 @@ private:
QAction* m_select_all_action { nullptr };
QAction* m_find_in_page_action { nullptr };
QAction* m_view_source_action { nullptr };
QAction* m_enable_devtools_action { nullptr };
QAction* m_show_line_box_borders_action { nullptr };
QAction* m_enable_scripting_action { nullptr };
QAction* m_enable_content_filtering_action { nullptr };