summaryrefslogtreecommitdiff
path: root/ui/settingsview.h
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-01-22 16:11:19 -0500
committerJosh Ferrell <josh@vector35.com>2024-01-22 16:11:19 -0500
commit3dd22f40996fc128ffce6026e8e747ca66bcc21d (patch)
treea5e7fc57dc620fc4d4a408ffdbf114bb66dcf91d /ui/settingsview.h
parent96053ffc711aa27fcaeeb6cbfa89df0c253361f8 (diff)
Project support
Diffstat (limited to 'ui/settingsview.h')
-rw-r--r--ui/settingsview.h6
1 files changed, 4 insertions, 2 deletions
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); };