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
+8 -3
View File
@@ -22,12 +22,17 @@ class SplitContainer : public BaseWidget
{
Q_OBJECT
const std::string settingPrefix;
std::string settingRoot;
const std::string uuid;
const std::string settingRoot;
public:
SplitContainer(ChannelManager &_channelManager, Notebook *parent, NotebookTab *_tab,
const std::string &_settingPrefix);
const std::string &_uuid);
const std::string &getUUID() const
{
return this->uuid;
}
ChannelManager &channelManager;