VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Public Attributes | Protected Attributes
makVrv::DtToolbar Class Reference

The base class for VR-Vantage toolbars. More...

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

Public Member Functions

 DtToolbar (DtDe &de, const std::string &toolbarIdName)
 CTOR.
virtual ~DtToolbar ()
 DTOR.
virtual const std::string & toolbarClassName () const
 Get the toolbar id name, the toolbar id name is not the same thing as the visible toolbar text.
virtual QToolBarcreateToolbar (DtDe &, QWidget *parent)=0
 Build a toolbar.
virtual void dock (QToolBar *, QMainWindow *)
 Using the DE, looks at the configuration to see where this should be docked and whether or not it is initially visible.
QToolBartoolbar () const
 Brief returns the toolbar this object wraps.
virtual bool initiallyVisible () const
 Whether or not (according to configuration) toolbar is initially visible.
void setToolbarVisible (bool visible)
 call either show or hide toolbar base upon the input.
virtual QToolBartoolbar ()
 Returns the toolbar that was docked as part of this item.
virtual bool isToolbarHidden ()
 Returns true if toolbar is hidden.
virtual void showToolbar ()
 Show the toolbar.
virtual void hideToolbar ()
 Hide the toolbar.

Public Attributes

boost::signal< void()> signal_toolbarSet

Protected Attributes

std::string myClassName
DtDemyDe
QToolBarmyToolbar

Detailed Description

The base class for VR-Vantage toolbars.

Constructor & Destructor Documentation

makVrv::DtToolbar::DtToolbar ( DtDe de,
const std::string &  toolbarIdName 
)

CTOR.

virtual makVrv::DtToolbar::~DtToolbar ( )
virtual

DTOR.

Member Function Documentation

virtual const std::string& makVrv::DtToolbar::toolbarClassName ( ) const
virtual

Get the toolbar id name, the toolbar id name is not the same thing as the visible toolbar text.

virtual QToolBar* makVrv::DtToolbar::createToolbar ( DtDe ,
QWidget parent 
)
pure virtual
virtual void makVrv::DtToolbar::dock ( QToolBar ,
QMainWindow  
)
virtual

Using the DE, looks at the configuration to see where this should be docked and whether or not it is initially visible.

Docking a toolbar also sets the myToolbar member to point to the toolbar being docked

QToolBar* makVrv::DtToolbar::toolbar ( ) const

Brief returns the toolbar this object wraps.

virtual bool makVrv::DtToolbar::initiallyVisible ( ) const
virtual

Whether or not (according to configuration) toolbar is initially visible.

void makVrv::DtToolbar::setToolbarVisible ( bool  visible)

call either show or hide toolbar base upon the input.

virtual QToolBar* makVrv::DtToolbar::toolbar ( )
virtual

Returns the toolbar that was docked as part of this item.

virtual bool makVrv::DtToolbar::isToolbarHidden ( )
virtual

Returns true if toolbar is hidden.

virtual void makVrv::DtToolbar::showToolbar ( )
virtual

Show the toolbar.

virtual void makVrv::DtToolbar::hideToolbar ( )
virtual

Hide the toolbar.

Member Data Documentation

boost::signal<void ()> makVrv::DtToolbar::signal_toolbarSet
std::string makVrv::DtToolbar::myClassName
protected
DtDe& makVrv::DtToolbar::myDe
protected
QToolBar* makVrv::DtToolbar::myToolbar
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)