mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
UI/Qt: Remove the built-in Inspector widget
This commit is contained in:
parent
03735cf11d
commit
1c696e7893
Notes:
github-actions[bot]
2025-03-15 18:11:03 +00:00
Author: https://github.com/trflynn89
Commit: 1c696e7893
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3956
7 changed files with 1 additions and 421 deletions
13
UI/Qt/Tab.h
13
UI/Qt/Tab.h
|
@ -24,7 +24,6 @@
|
|||
namespace Ladybird {
|
||||
|
||||
class BrowserWindow;
|
||||
class InspectorWidget;
|
||||
|
||||
class HyperlinkLabel final : public QLabel {
|
||||
Q_OBJECT
|
||||
|
@ -66,12 +65,6 @@ public:
|
|||
void open_file();
|
||||
void update_reset_zoom_button();
|
||||
|
||||
enum class InspectorTarget {
|
||||
Document,
|
||||
HoveredElement
|
||||
};
|
||||
void show_inspector_window(InspectorTarget = InspectorTarget::Document);
|
||||
|
||||
void show_find_in_page();
|
||||
void find_previous();
|
||||
void find_next();
|
||||
|
@ -124,10 +117,6 @@ private:
|
|||
void open_link_in_new_tab(URL::URL const&);
|
||||
void copy_link_url(URL::URL const&);
|
||||
|
||||
void close_sub_widgets();
|
||||
|
||||
void recreate_inspector();
|
||||
|
||||
QBoxLayout* m_layout { nullptr };
|
||||
QToolBar* m_toolbar { nullptr };
|
||||
QToolButton* m_hamburger_button { nullptr };
|
||||
|
@ -172,8 +161,6 @@ private:
|
|||
|
||||
int tab_index();
|
||||
|
||||
Ladybird::InspectorWidget* m_inspector_widget { nullptr };
|
||||
|
||||
QPointer<QDialog> m_dialog;
|
||||
|
||||
bool m_can_navigate_back { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue