summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2023-01-02 14:21:22 -0500
committerGlenn Smith <glenn@vector35.com>2023-01-23 15:38:20 -0500
commit9528390a74e0178efe1b422258f9dfb60072dc4c (patch)
tree857fba856d4a38d72a282a7eb549b783ed9ecad3
parentb0e1de7d3dae3844e4dfff45ad2d6d7dfb6fa651 (diff)
Make splitPane return the created pane
-rw-r--r--ui/pane.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/pane.h b/ui/pane.h
index 25877111..2c62b031 100644
--- a/ui/pane.h
+++ b/ui/pane.h
@@ -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();