ref: unify Split popup logic (#3848)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Leon Richardt
2022-07-07 19:28:38 +02:00
committed by GitHub
parent 53a625e26e
commit e1b512a373
4 changed files with 22 additions and 14 deletions
+4
View File
@@ -60,6 +60,10 @@ public:
Window &createWindow(WindowType type, bool show = true,
QWidget *parent = nullptr);
// Use this method if you want to open a "new" channel in a popup. If you want to popup an
// existing Split or SplitContainer, consider using Split::popup() or SplitContainer::popup().
Window &openInPopup(ChannelPtr channel);
void select(Split *split);
void select(SplitContainer *container);