From 3dd22f40996fc128ffce6026e8e747ca66bcc21d Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 22 Jan 2024 16:11:19 -0500 Subject: Project support --- ui/settingsview.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ui/settingsview.h') diff --git a/ui/settingsview.h b/ui/settingsview.h index 8ec548b7..812eed3c 100644 --- a/ui/settingsview.h +++ b/ui/settingsview.h @@ -371,9 +371,9 @@ class BINARYNINJAUIAPI SettingsScopeBar : public QWidget Q_OBJECT QPushButton* m_userLabel; - BinaryViewScopeLabel* m_projectLabel; + QPushButton* m_projectLabel; BinaryViewScopeLabel* m_resourceLabel; - ClickableLabel* m_openProjectLabel; + //ClickableLabel* m_openProjectLabel; QLabel* m_desc; unsigned long m_highlightIdx; @@ -384,6 +384,7 @@ class BINARYNINJAUIAPI SettingsScopeBar : public QWidget void refresh(); void setResource(BinaryViewRef view); + void setScope(BNSettingsScope scope); void updateTheme(); Q_SIGNALS: @@ -453,6 +454,7 @@ class BINARYNINJAUIAPI SettingsView : public QWidget void refreshAllSettings(); void refreshCurrentScope(); void setData(BinaryViewRef view, const QString& name = ""); + void setScope(BNSettingsScope scope); void setDefaultGroupSelection(const QString& group, const QString& subgroup = ""); void focusSearch(); void setSearchFilter(const QString& filter) { if (m_search) m_search->setText(filter); }; -- cgit v1.3.1