diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-01-02 14:21:22 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-01-23 15:38:20 -0500 |
| commit | 9528390a74e0178efe1b422258f9dfb60072dc4c (patch) | |
| tree | 857fba856d4a38d72a282a7eb549b783ed9ecad3 | |
| parent | b0e1de7d3dae3844e4dfff45ad2d6d7dfb6fa651 (diff) | |
Make splitPane return the created pane
| -rw-r--r-- | ui/pane.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -49,7 +49,7 @@ class BINARYNINJAUIAPI Pane : public QWidget virtual void focus(); virtual QString title() = 0; void closePane(); - void splitPane(Qt::Orientation orientation); + Pane* splitPane(Qt::Orientation orientation); void moveToNewWindow(); virtual void setIsSinglePane(bool isSinglePane); @@ -353,7 +353,7 @@ class BINARYNINJAUIAPI SplitPaneContainer : public QWidget bool isSinglePane(); bool canSplitCurrentPane(); void closeCurrentPane(); - void splitCurrentPane(Qt::Orientation orientation); + Pane* splitCurrentPane(Qt::Orientation orientation); Qt::Orientation defaultSplitDirection() const; void nextPane(); void prevPane(); @@ -440,7 +440,7 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget bool isSinglePane(); bool canSplitCurrentPane(); void closeCurrentPane(); - void splitCurrentPane(Qt::Orientation orientation); + Pane* splitCurrentPane(Qt::Orientation orientation); Qt::Orientation defaultSplitDirection() const; void nextPane(); void prevPane(); |
