diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-01-12 10:11:19 -0700 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-02-05 13:42:52 -0500 |
| commit | 97ac519092fc87e27c49ab21aafb41b77f40dc03 (patch) | |
| tree | 33d1a72b835a73c25868cb170106f865d9d54430 /ui/xreflist.h | |
| parent | efa49ca6d23530b5e1ececccea4a2dc0bbe3406b (diff) | |
Sidebar improvements
Diffstat (limited to 'ui/xreflist.h')
| -rw-r--r-- | ui/xreflist.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/xreflist.h b/ui/xreflist.h index 02175cf5..50730705 100644 --- a/ui/xreflist.h +++ b/ui/xreflist.h @@ -596,6 +596,7 @@ class BINARYNINJAUIAPI CrossReferenceWidget : public SidebarWidget, public UICon CrossReferenceTree* m_tree; CrossReferenceContainer* m_container; bool m_useTableView; + Qt::Orientation m_primaryOrientation; std::optional<BNFunctionGraphType> m_graphType; QTimer* m_hoverTimer; @@ -638,7 +639,7 @@ class BINARYNINJAUIAPI CrossReferenceWidget : public SidebarWidget, public UICon virtual void startHoverTimer(QMouseEvent* e); virtual void keyPressEvent(QKeyEvent* e) override; virtual bool keyPressHandler(QKeyEvent* e); - void useTableView(bool tableView, bool init); + void useTableView(bool tableView, bool init, bool updateSetting); bool tableView() const { return m_useTableView; } bool uiMaxItemsExceeded() const { return m_uiMaxItemsExceeded; } void setUIMaxItemsExceeded(bool value) { m_uiMaxItemsExceeded = value; } @@ -650,8 +651,9 @@ class BINARYNINJAUIAPI CrossReferenceWidget : public SidebarWidget, public UICon UIContext* context, ViewFrame* frame, View* view, const SelectionInfoForXref& selection) override; virtual QWidget* headerWidget() override { return m_header; } + virtual void setPrimaryOrientation(Qt::Orientation orientation) override; - private Q_SLOTS: +private Q_SLOTS: void hoverTimerEvent(); void newPinnedPane(); |
