Add the "Close Tabs" feature

Also made notebooks open a container if no tabs are loaded

Fixes #166
This commit is contained in:
Rasmus Karlsson
2017-12-28 18:15:27 +01:00
parent 091e7b9dbe
commit caddb2c778
6 changed files with 37 additions and 21 deletions
+3 -2
View File
@@ -21,10 +21,11 @@ class NotebookTab : public BaseWidget
{
Q_OBJECT
std::string settingRoot;
const std::string uuid;
const std::string settingRoot;
public:
explicit NotebookTab(Notebook *_notebook, const std::string &settingPrefix);
explicit NotebookTab(Notebook *_notebook, const std::string &_uuid);
void calcSize();