mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37: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:
parent
15211cd753
commit
09773048b6
7 changed files with 101 additions and 9 deletions
|
@ -23,6 +23,11 @@ public:
|
|||
endResetModel();
|
||||
}
|
||||
|
||||
RefPtr<GUI::Model> underlying_model()
|
||||
{
|
||||
return m_model;
|
||||
}
|
||||
|
||||
virtual int columnCount(QModelIndex const& parent) const override;
|
||||
virtual int rowCount(QModelIndex const& parent) const override;
|
||||
virtual QVariant data(QModelIndex const&, int role) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue