VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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.

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 Attributes

ToolbarMap myToolbars

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

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

DTOR

Protected CTOR, use the instance function.


Member Function Documentation

Get an instance of the Toolbar manager.

Reimplemented from makVrv::DtToolbarManager.

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

Find a toolbar by its path.

Retreives the state of a given toolbar.

Returns false if the path's not found

Implements makVrv::DtToolbarManager.

void makVrv::DtQtToolbarManager::onToolbarDestroyed ( QObject obj) [protected, slot]

When a toolbar is destroyed.


Friends And Related Function Documentation

friend class DtQtToolbarManagerCreator [friend]

Member Data Documentation

Signals when a toolbar has been deleted.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)