fixed scrollbar size and split focus

This commit is contained in:
fourtf
2018-05-31 16:02:20 +02:00
parent 783b9096c3
commit 85505a055d
9 changed files with 87 additions and 18 deletions
+6
View File
@@ -59,11 +59,17 @@ private:
struct Item {
NotebookTab *tab;
QWidget *page;
QWidget *selectedWidget = nullptr;
};
QList<Item> items;
QWidget *selectedPage = nullptr;
bool containsPage(QWidget *page);
Item &findItem(QWidget *page);
static bool containsChild(const QObject *obj, const QObject *child);
NotebookButton addButton;
std::vector<NotebookButton *> customButtons;