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

List of all members.

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

Brief returns the toolbar this object wraps.

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

Whether or not (according to configuration) toolbar is initially 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.

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]

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)