VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes | Private Types | Friends
makVrv::DtQtToolbarManager Class Reference

A Toolbar manager which is how to lookup and find toolbars using toolbar paths. More...

Inheritance diagram for makVrv::DtQtToolbarManager:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtQtToolbarManager ()
 Register a new instance of the toolbar manager, this is only necessary if replacing the existing DtToolbarManager.
void registerToolbar (const DtToolbarPath &path, QToolBar *menu)
 Register a toolbar, this is done automatically by the DtToolbarAssembler.
QToolBarfindToolbar (const DtToolbarPath &path) const
 Find a toolbar by its path.
virtual bool getToolbarState (const DtToolbarPath &path, DtToolbarConfiguration::ToolbarState &state)
 Retreives the state of a given toolbar.
- Public Member Functions inherited from makVrv::DtToolbarManager
virtual ~DtToolbarManager ()
 DTOR.
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor.
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor.

Static Public Member Functions

static DtQtToolbarManagerinstance (DtDe &de)
 Get an instance of the Toolbar manager.

Public Attributes

boost::signal< void(const
DtToolbarPath &)> 
signal_toolbarDeleted
 Signals when a toolbar has been deleted.

Protected Slots

void onToolbarDestroyed (QObject *obj)
 When a toolbar is destroyed.

Protected Member Functions

 DtQtToolbarManager (DtDe &de)
 Protected CTOR, use the instance function.
- Protected Member Functions inherited from makVrv::DtToolbarManager
 DtToolbarManager (DtDe &de)

Protected Attributes

ToolbarMap myToolbars
- Protected Attributes inherited from makVrv::DtToolbarManager
DtDemyDe

Private Types

typedef std::map
< DtToolbarPath, QToolBar * > 
ToolbarMap

Friends

class DtQtToolbarManagerCreator

Detailed Description

A Toolbar manager which is how to lookup and find toolbars using toolbar paths.

Toolbars are automatically registered by the DtToolbarAssembler.

Member Typedef Documentation

Constructor & Destructor Documentation

virtual makVrv::DtQtToolbarManager::~DtQtToolbarManager ( )
virtual

Register a new instance of the toolbar manager, this is only necessary if replacing the existing DtToolbarManager.

DTOR

makVrv::DtQtToolbarManager::DtQtToolbarManager ( DtDe de)
protected

Protected CTOR, use the instance function.

Member Function Documentation

static DtQtToolbarManager& makVrv::DtQtToolbarManager::instance ( DtDe de)
static

Get an instance of the Toolbar manager.

Reimplemented from makVrv::DtToolbarManager.

void makVrv::DtQtToolbarManager::registerToolbar ( const DtToolbarPath path,
QToolBar menu 
)

Register a toolbar, this is done automatically by the DtToolbarAssembler.

QToolBar* makVrv::DtQtToolbarManager::findToolbar ( const DtToolbarPath path) const

Find a toolbar by its path.

virtual bool makVrv::DtQtToolbarManager::getToolbarState ( const DtToolbarPath path,
DtToolbarConfiguration::ToolbarState state 
)
virtual

Retreives the state of a given toolbar.

Returns false if the path's not found

Implements makVrv::DtToolbarManager.

void makVrv::DtQtToolbarManager::onToolbarDestroyed ( QObject obj)
protectedslot

When a toolbar is destroyed.

Friends And Related Function Documentation

friend class DtQtToolbarManagerCreator
friend

Member Data Documentation

boost::signal<void (const DtToolbarPath&)> makVrv::DtQtToolbarManager::signal_toolbarDeleted

Signals when a toolbar has been deleted.

ToolbarMap makVrv::DtQtToolbarManager::myToolbars
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)