Skip to content

Commit 1ead182

Browse files
committed
[UI] Add settings outline visibility control
1 parent 2430a9f commit 1ead182

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ui/settingsview.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
#include "clickablelabel.h"
4646
#include "theme.h"
4747

48+
class QSplitter;
49+
4850
/*!
4951
5052
\defgroup settingsview SettingsView
@@ -524,6 +526,7 @@ class BINARYNINJAUIAPI SettingsView : public QWidget
524526
private:
525527
QWidget* m_owner = nullptr;
526528
SettingsRef m_settings;
529+
QSplitter* m_splitter = nullptr;
527530
SettingsFilterProxyModel* m_proxyModel = nullptr;
528531
SettingsOutlineProxyModel* m_outlineProxyModel = nullptr;
529532
QTreeView* m_outlineView = nullptr;
@@ -548,6 +551,7 @@ class BINARYNINJAUIAPI SettingsView : public QWidget
548551
void refreshCurrentScope();
549552
void setData(BinaryViewRef view, const QString& name = "");
550553
void setScope(BNSettingsScope scope);
554+
void setOutlineVisible(bool visible);
551555
void setDefaultGroupSelection(const QString& group, const QString& subgroup = "");
552556
void focusSearch();
553557
void setSearchFilter(const QString& filter) { if (m_search) m_search->setText(filter); };

0 commit comments

Comments
 (0)