13#include <QtCore/qstring.h>
19namespace tt {
class Page; }
24 class TabToolBarGroup;
25 class TabToolBarSubGroup;
34 const std::string&
getName(
void)
const {
return m_name; };
47 TabToolBarGroup* addGroup(
const std::string& _groupName,
bool _returnExisting =
false);
52 TabToolBarSubGroup* addSubGroup(
const std::string& _groupName,
const std::string& _subGroupName,
bool _returnExisting =
false);
64 bool hasGroup(
const std::string& _groupName)
const {
return this->findGroup(_groupName) !=
nullptr; };
66 TabToolBarSubGroup* findSubGroup(
const std::string& _groupName,
const std::string& _subGroupName);
67 const TabToolBarSubGroup* findSubGroup(
const std::string& _groupName,
const std::string& _subGroupName)
const;
68 bool hasSubGroup(
const std::string& _groupName,
const std::string& _subGroupName)
const {
return this->findSubGroup(_groupName, _subGroupName) !=
nullptr; };
75 std::list<TabToolBarGroup*> m_groups;
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NODEFAULT(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:22
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
Definition TabToolBarPage.h:27
bool hasGroup(const std::string &_groupName) const
Definition TabToolBarPage.h:64
const TabToolBar * getParentTabToolBar(void) const
Definition TabToolBarPage.h:38
void setParentTabToolBar(TabToolBar *_parentTabToolBar)
Definition TabToolBarPage.h:36
TabToolBar * getParentTabToolBar(void)
Definition TabToolBarPage.h:37
bool hasSubGroup(const std::string &_groupName, const std::string &_subGroupName) const
Definition TabToolBarPage.h:68
const std::string & getName(void) const
Definition TabToolBarPage.h:34
Definition TabToolBar.h:18