Added x-attach-split-to-window command line arg (#2411)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
fourtf
2021-04-17 16:15:23 +02:00
committed by GitHub
parent 58017a7546
commit 2db140d5af
21 changed files with 350 additions and 160 deletions
+6 -1
View File
@@ -64,13 +64,18 @@ protected:
NotebookButton *getAddButton();
NotebookButton *addCustomButton();
private:
struct Item {
NotebookTab *tab{};
QWidget *page{};
QWidget *selectedWidget{};
};
const QList<Item> items()
{
return items_;
}
private:
bool containsPage(QWidget *page);
Item &findItem(QWidget *page);