VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtVrfTaskSetToolbarItem Class Reference

This class will encapsulate a toolbar item for a task/set menu item. More...

Inheritance diagram for makVrf::DtVrfTaskSetToolbarItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVrfTaskSetToolbarItem (const std::string &toolbarId, const std::string &taskSetItemId, makVrv::DtDe &de)
virtual ~DtVrfTaskSetToolbarItem ()
virtual QActioncreateAction (makVrv::DtDe &, QWidget *parent)
 Build a menu item (via an action).

Protected Slots

virtual void actionChanged ()
 Called when any aspect of the action has changed, change items of the toolbar action.

Protected Member Functions

virtual void setupToolbarItem ()
 Sets up this menu item and makes connections for it.
virtual void on_triggered ()
 When triggered, if toolbar item does not exist, see if it exists now and hook up.

Protected Attributes

std::string myTaskSetItemId
makVrv::DtDemyDe
QActionmyToolbarAction
QActionmyAction

Detailed Description

This class will encapsulate a toolbar item for a task/set menu item.

Since those menu items now hide as part of the context sensitivity, the toolbar items will disable when the menu items they are watching (by the menu item id) are hidden/shown


Constructor & Destructor Documentation

makVrf::DtVrfTaskSetToolbarItem::DtVrfTaskSetToolbarItem ( const std::string &  toolbarId,
const std::string &  taskSetItemId,
makVrv::DtDe de 
)

Member Function Documentation

Build a menu item (via an action).

Implements makVrv::DtMenuItem.

virtual void makVrf::DtVrfTaskSetToolbarItem::setupToolbarItem ( ) [protected, virtual]

Sets up this menu item and makes connections for it.

virtual void makVrf::DtVrfTaskSetToolbarItem::on_triggered ( ) [protected, virtual]

When triggered, if toolbar item does not exist, see if it exists now and hook up.

Reimplemented from makVrv::DtMenuItem.

virtual void makVrf::DtVrfTaskSetToolbarItem::actionChanged ( ) [protected, virtual, slot]

Called when any aspect of the action has changed, change items of the toolbar action.


Member Data Documentation


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)