1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:47:35 +00:00

Ladybird: Allow right clicking and inspecting elements

This adds "Inspect Element" (currently the only entry) to the context
menu for the page, which will do what you expect (most of the time),
and bring up the Inspector with hovered element selected.
This commit is contained in:
MacDue 2023-05-08 21:15:35 +01:00 committed by Andreas Kling
parent 15211cd753
commit 09773048b6
7 changed files with 101 additions and 9 deletions

View file

@ -49,6 +49,7 @@ public slots:
void reset_zoom();
void select_all();
void copy_selected_text();
void show_context_menu(QPoint const&);
protected:
bool eventFilter(QObject* obj, QEvent* event) override;