Skip to content

Commit c30dff8

Browse files
committed
Add hamburger menu to variablelist
1 parent 49cd12d commit c30dff8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/variablelist.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22

3+
#include <clickablelabel.h>
34
#include <QtCore/QSortFilterProxyModel>
45
#include <QtCore/QTimer>
56
#include <QtWidgets/QListView>
@@ -186,6 +187,9 @@ class BINARYNINJAUIAPI VariableList : public SidebarWidget, public FilterTarget
186187
FilterEdit* m_filterEdit;
187188
FilteredView* m_filteredList;
188189

190+
ClickableIcon* m_hamburgerButton;
191+
QMenu* m_hamburgerMenu;
192+
189193
ViewFrame* m_view;
190194
BinaryViewRef m_data;
191195

@@ -212,6 +216,7 @@ class BINARYNINJAUIAPI VariableList : public SidebarWidget, public FilterTarget
212216

213217
//! Get the VariableListItem corresponding to the current selection.
214218
VariableListItem* selectedItem() const;
219+
void showHamburgerMenu() const;
215220

216221
//! Show the rename dialog for the selected variable.
217222
void changeSelectedVariableName();

0 commit comments

Comments
 (0)