OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ToolBar Class Reference

#include "ToolBar.h"

Inheritance diagram for ToolBar:
ak::aNotifier

Public Member Functions

 ToolBar (AppBase *_owner)
 
virtual void notify (ak::UID _sender, ak::eventType _event, int _info1, int _info2) override
 Will notify this receiver that a message was received by a sender.
 
tt::Page * getStartPage (void)
 
ak::UID addPage (ak::UID _creator, const QString &_pageName)
 
ak::UID addGroup (ak::UID _creator, ak::UID _page, const QString &_groupName)
 
ak::UID addSubGroup (ak::UID _creator, ak::UID _group, const QString &_subGroupName)
 
ak::UID addToolButton (ak::UID _creator, ak::UID _container, const QIcon &_icon, const QString &_title)
 
ak::UID addToolButton (ak::UID _creator, ak::UID _container, const QString &_iconName, const QString &_iconPath, const QString &_title)
 
ak::UID addToolButton (ak::UID _creator, ak::UID _container, const QString &_iconName, const QString &_iconPath, const QString &_title, ak::aNotifier *_notifier)
 
ak::UID addCheckBox (ak::UID _creator, ak::UID _container, const QString &_text, bool _initialState)
 
ak::UID addNiceLineEdit (ak::UID _creator, ak::UID _container, const QString &_title, const QString &_initialState)
 
void addDefaultControlsToLockManager (LockManager *_lockManger, ot::LockTypeFlags &_flags)
 
- Public Member Functions inherited from ak::aNotifier
 aNotifier ()
 Will initialize the notifier.
 
virtual ~aNotifier ()
 Destructor.
 
void enable (void)
 Will enable this notifier.
 
void disable (void)
 Will disable this notifier.
 
bool isEnabled (void) const
 Will return true if this notifier is enabled.
 

Additional Inherited Members

- Protected Attributes inherited from ak::aNotifier
bool m_isEnabled
 

Constructor & Destructor Documentation

◆ ToolBar()

ToolBar::ToolBar ( AppBase * _owner)

Member Function Documentation

◆ addCheckBox()

ak::UID ToolBar::addCheckBox ( ak::UID _creator,
ak::UID _container,
const QString & _text,
bool _initialState )

◆ addDefaultControlsToLockManager()

void ToolBar::addDefaultControlsToLockManager ( LockManager * _lockManger,
ot::LockTypeFlags & _flags )

◆ addGroup()

ak::UID ToolBar::addGroup ( ak::UID _creator,
ak::UID _page,
const QString & _groupName )

◆ addNiceLineEdit()

ak::UID ToolBar::addNiceLineEdit ( ak::UID _creator,
ak::UID _container,
const QString & _title,
const QString & _initialState )

◆ addPage()

ak::UID ToolBar::addPage ( ak::UID _creator,
const QString & _pageName )

◆ addSubGroup()

ak::UID ToolBar::addSubGroup ( ak::UID _creator,
ak::UID _group,
const QString & _subGroupName )

◆ addToolButton() [1/3]

ak::UID ToolBar::addToolButton ( ak::UID _creator,
ak::UID _container,
const QIcon & _icon,
const QString & _title )

◆ addToolButton() [2/3]

ak::UID ToolBar::addToolButton ( ak::UID _creator,
ak::UID _container,
const QString & _iconName,
const QString & _iconPath,
const QString & _title )

◆ addToolButton() [3/3]

ak::UID ToolBar::addToolButton ( ak::UID _creator,
ak::UID _container,
const QString & _iconName,
const QString & _iconPath,
const QString & _title,
ak::aNotifier * _notifier )

◆ getStartPage()

tt::Page * ToolBar::getStartPage ( void )

◆ notify()

void ToolBar::notify ( ak::UID _senderId,
ak::eventType _event,
int _info1,
int _info2 )
overridevirtual

Will notify this receiver that a message was received by a sender.

Parameters
_senderIdThe id of the sender the message was sent from
_eventThe event message
_info1Message addition 1
_info2Message addition 2
Exceptions
std::exceptionon any error occuring during the execution

Implements ak::aNotifier.


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