VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtTaskMenuPathSelector Class Reference

Dialog that will allow the selection of a new menu path and creation of sub-menu paths. More...

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

Public Member Functions

 DtTaskMenuPathSelector (makVrv::DtDe &de, const std::string &scriptId, QWidget *parent, const Qt::WindowFlags &f=0)
virtual ~DtTaskMenuPathSelector ()
virtual QString selectMenuPath (const QString &curPath="")
 Puts up a widget to allow the user to select a menu path.
virtual void modifyScriptedTask (const DtScriptedTaskMetaData &)
virtual void setScriptId (const std::string &)
QString locationOfScript () const
 Returns a prettier string of the location of the script.
virtual QActionfindActionWithScriptId (const QList< QAction * > &, QAction *&parent) const
 Returns the QAction that represents this script and the parent that contains it.

Protected Slots

virtual void addBefore ()
virtual void addAfter ()

Protected Member Functions

virtual void populateMenu (QTreeWidgetItem *parent, QAction *actions, const DtConfigurableMenuAssembler &menuAssembler)
virtual void addMenuAtPositionFromSelected (int)
virtual QTreeWidgetItemfindMenuItem (QTreeWidgetItem *parent, const std::string &path) const

Protected Attributes

DtVrfTaskMenumyTaskMenu
DtTaskMenumyTaskMenuBuilder
DtConfigurableMenuAssembler myMenuAssembler
QPushButtonmyAddBefore
QPushButtonmyAddAfter
QTreeWidgetmyMenu
QLineEditmyMenuItem
QRadioButton * myBefore
QRadioButton * myAfter
makVrv::DtDemyDe
std::string myScriptId

Detailed Description

Dialog that will allow the selection of a new menu path and creation of sub-menu paths.

Constructor & Destructor Documentation

makVrf::DtTaskMenuPathSelector::DtTaskMenuPathSelector ( makVrv::DtDe de,
const std::string &  scriptId,
QWidget parent,
const Qt::WindowFlags &  f = 0 
)
virtual makVrf::DtTaskMenuPathSelector::~DtTaskMenuPathSelector ( )
virtual

Member Function Documentation

virtual QString makVrf::DtTaskMenuPathSelector::selectMenuPath ( const QString &  curPath = "")
virtual

Puts up a widget to allow the user to select a menu path.

virtual void makVrf::DtTaskMenuPathSelector::modifyScriptedTask ( const DtScriptedTaskMetaData )
virtual
virtual void makVrf::DtTaskMenuPathSelector::setScriptId ( const std::string &  )
virtual
QString makVrf::DtTaskMenuPathSelector::locationOfScript ( ) const

Returns a prettier string of the location of the script.

virtual QAction* makVrf::DtTaskMenuPathSelector::findActionWithScriptId ( const QList< QAction * > &  ,
QAction *&  parent 
) const
virtual

Returns the QAction that represents this script and the parent that contains it.

virtual void makVrf::DtTaskMenuPathSelector::populateMenu ( QTreeWidgetItem parent,
QAction actions,
const DtConfigurableMenuAssembler menuAssembler 
)
protectedvirtual
virtual void makVrf::DtTaskMenuPathSelector::addMenuAtPositionFromSelected ( int  )
protectedvirtual
virtual QTreeWidgetItem* makVrf::DtTaskMenuPathSelector::findMenuItem ( QTreeWidgetItem parent,
const std::string &  path 
) const
protectedvirtual
virtual void makVrf::DtTaskMenuPathSelector::addBefore ( )
protectedvirtualslot
virtual void makVrf::DtTaskMenuPathSelector::addAfter ( )
protectedvirtualslot

Member Data Documentation

DtVrfTaskMenu* makVrf::DtTaskMenuPathSelector::myTaskMenu
protected
DtTaskMenu* makVrf::DtTaskMenuPathSelector::myTaskMenuBuilder
protected
DtConfigurableMenuAssembler makVrf::DtTaskMenuPathSelector::myMenuAssembler
protected
QPushButton* makVrf::DtTaskMenuPathSelector::myAddBefore
protected
QPushButton* makVrf::DtTaskMenuPathSelector::myAddAfter
protected
QTreeWidget* makVrf::DtTaskMenuPathSelector::myMenu
protected
QLineEdit* makVrf::DtTaskMenuPathSelector::myMenuItem
protected
QRadioButton* makVrf::DtTaskMenuPathSelector::myBefore
protected
QRadioButton* makVrf::DtTaskMenuPathSelector::myAfter
protected
makVrv::DtDe& makVrf::DtTaskMenuPathSelector::myDe
protected
std::string makVrf::DtTaskMenuPathSelector::myScriptId
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)