diff options
| author | Brian Potchik <brian@vector35.com> | 2024-11-21 15:38:49 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2024-11-21 15:38:49 -0500 |
| commit | d707b4012c516e1aa15e0cc4b0b01ebdd3a7d184 (patch) | |
| tree | 825f0e279902b23a4d104c03d1462c0579a4b8cf /ui/viewframe.h | |
| parent | 07fac8b5f590f31f879dda36ecd7e943ae63f97c (diff) | |
Remove DockHandler and DockWidget support.
Diffstat (limited to 'ui/viewframe.h')
| -rw-r--r-- | ui/viewframe.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ui/viewframe.h b/ui/viewframe.h index 234e01c9..520e3f77 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -97,7 +97,6 @@ class BINARYNINJAUIAPI HistoryEntry : public BinaryNinja::RefCountObject class AssembleDialog; class ClickableStateLabel; class CompileDialog; -class DockHandler; class FeatureMap; class StatusBarWidget; class ViewNavigationMode; @@ -382,7 +381,7 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget Q_OBJECT private: - QWidget* createView(const QString& typeName, ViewType* type, BinaryViewRef data, bool createDynamicWidgets = true); + QWidget* createView(const QString& typeName, ViewType* type, BinaryViewRef data); BinaryNinja::Ref<HistoryEntry> getHistoryEntry(); ViewFrame* searchForOtherPane(const std::function<void(const std::function<void(ViewPane*)>&)>& enumerator); @@ -392,7 +391,6 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget QWidget* m_view = nullptr; QWidget* m_viewContainer; QVBoxLayout* m_viewLayout; - std::map<QString, std::map<QString, QPointer<QWidget>>> m_extViewCache; std::map<QString, QWidget*> m_viewCache; std::list<BinaryNinja::Ref<HistoryEntry>> m_back, m_forward; bool m_graphViewPreferred = false; @@ -421,15 +419,13 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget bool tryMainSymbolsNavigation(); public: - explicit ViewFrame(QWidget* parent, FileContext* file, const QString& type, bool createDynamicWidgets = false); + explicit ViewFrame(QWidget* parent, FileContext* file, const QString& type); virtual ~ViewFrame(); FileContext* getFileContext() const { return m_context; } bool areFileContentsLocked(bool showToolTip = false); void setFileContentsLocked(bool enable); - DockHandler* getDockHandler(); - QString getTabName(); QString getShortFileName(); std::vector<QString> getAvailableTypes() const; @@ -451,8 +447,6 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget bool setViewType(const QString& viewType); void focus(); - QWidget* getExtendedView(const QString& name, bool create = false); - Sidebar* getSidebar(); template <class T> @@ -484,7 +478,6 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget bool isAboutToClose() { return m_aboutToClose; } bool closeRequest(); void closing(); - void clearViewLocation(); void updateFonts(); void updateTheme(); |
