From 12e34362320811b12914e883640202c617974815 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Fri, 10 Jun 2022 13:53:36 -0400 Subject: Add New Window for Pane action, document Wayland support --- ui/pane.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui') diff --git a/ui/pane.h b/ui/pane.h index e4ba4e97..94cbc2b6 100644 --- a/ui/pane.h +++ b/ui/pane.h @@ -37,6 +37,7 @@ class BINARYNINJAUIAPI Pane : public QWidget virtual QString title() = 0; void closePane(); void splitPane(Qt::Orientation orientation); + void moveToNewWindow(); virtual void setIsSinglePane(bool isSinglePane); virtual void setIsActivePane(bool active); @@ -275,6 +276,8 @@ class BINARYNINJAUIAPI SplitPaneContainer : public QWidget void nextPane(); void prevPane(); void focusPaneForEdge(Qt::Edge edge); + void newWindowForCurrentPane(); + bool canMoveCurrentPaneToNewWindow(); SplitPaneContainer* root(); static SplitPaneContainer* containerForWidget(QWidget* widget); @@ -352,6 +355,8 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget void nextPane(); void prevPane(); void focusPaneForEdge(Qt::Edge edge); + void newWindowForCurrentPane(); + bool canMoveCurrentPaneToNewWindow(); QString getTabName(); -- cgit v1.3.1