OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::TabToolBarGroup Class Reference

#include "TabToolBarGroup.h"

Public Member Functions

 TabToolBarGroup (TabToolBarPage *_parentPage, tt::Group *_group, const std::string &_name)
 
virtual ~TabToolBarGroup ()
 
const std::string & getName (void) const
 
void setParentTabToolBarPage (TabToolBarPage *_parentTabToolBarPage)
 
TabToolBarPagegetParentTabToolBarPage (void)
 
const TabToolBarPagegetParentTabToolBarPage (void) const
 
TabToolBarSubGroupaddSubGroup (const std::string &_subGroupName, bool _returnExisting=false)
 Adds a new sub group to the TabToolBar group and returns it.
 
void forgetSubGroup (TabToolBarSubGroup *_subGroup)
 Removes the specified sub group from the lists. Caller keeps ownership of the sub group.
 
TabToolBarSubGroupfindSubGroup (const std::string &_subGroupName)
 
const TabToolBarSubGroupfindSubGroup (const std::string &_subGroupName) const
 
bool hasSubGroup (const std::string &_subGroupName) const
 

Constructor & Destructor Documentation

◆ TabToolBarGroup()

ot::TabToolBarGroup::TabToolBarGroup ( TabToolBarPage * _parentPage,
tt::Group * _group,
const std::string & _name )

◆ ~TabToolBarGroup()

ot::TabToolBarGroup::~TabToolBarGroup ( )
virtual

Member Function Documentation

◆ addSubGroup()

ot::TabToolBarSubGroup * ot::TabToolBarGroup::addSubGroup ( const std::string & _subGroupName,
bool _returnExisting = false )

Adds a new sub group to the TabToolBar group and returns it.

Parameters
_subGroupNameName/Title of the sub group.
_returnExistingIf true the sub group will be returned if it already exists. Otherwise nullptr will be returned in this case.

◆ findSubGroup() [1/2]

ot::TabToolBarSubGroup * ot::TabToolBarGroup::findSubGroup ( const std::string & _subGroupName)

◆ findSubGroup() [2/2]

const ot::TabToolBarSubGroup * ot::TabToolBarGroup::findSubGroup ( const std::string & _subGroupName) const

◆ forgetSubGroup()

void ot::TabToolBarGroup::forgetSubGroup ( TabToolBarSubGroup * _subGroup)

Removes the specified sub group from the lists. Caller keeps ownership of the sub group.

◆ getName()

const std::string & ot::TabToolBarGroup::getName ( void ) const
inline

◆ getParentTabToolBarPage() [1/2]

TabToolBarPage * ot::TabToolBarGroup::getParentTabToolBarPage ( void )
inline

◆ getParentTabToolBarPage() [2/2]

const TabToolBarPage * ot::TabToolBarGroup::getParentTabToolBarPage ( void ) const
inline

◆ hasSubGroup()

bool ot::TabToolBarGroup::hasSubGroup ( const std::string & _subGroupName) const
inline

◆ setParentTabToolBarPage()

void ot::TabToolBarGroup::setParentTabToolBarPage ( TabToolBarPage * _parentTabToolBarPage)
inline

The documentation for this class was generated from the following files: