┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorLoren Burkholder <[email protected]>2023-04-06 20:05:48 -0400
committerLoren Burkholder <[email protected]>2024-01-18 23:29:23 +0000
commitf7e2c51198f00ff0f8e807590ed004c4fc65b6f0 (patch)
tree6e42d81552844b74551ac813b83c30323afc8806 /src/dolphinmainwindow.h
parent2cee764ff725a730d5da1ec11b20bf1d6a5ef920 (diff)
Allow popping out a split view
If you have a split view open, you can now pop the active half out into a new window by clicking the "Pop out" button in the toolbar or by activating "View > Pop out". BUG: 270604
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index bff0ef4de..844360aaa 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -343,6 +343,13 @@ private Q_SLOTS:
*/
void toggleSplitView();
+ /**
+ * Pops out a split view.
+ * The active view will be popped out, unless the view is not split,
+ * in which case nothing will happen.
+ */
+ void popoutSplitView();
+
/** Dedicated action to open the stash:/ ioslave in split view. */
void toggleSplitStash();
@@ -662,7 +669,7 @@ private:
* otherwise the text is set to "Join". The icon
* is updated to match with the text and the currently active view.
*/
- void updateSplitAction();
+ void updateSplitActions();
/**
* Sets the window sides the toolbar may be moved to based on toolbar contents.