VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtMenuPathSelector Class Reference

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

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

Public Member Functions

 DtMenuPathSelector (makVrv::DtDe &de, const std::string &scriptId, QWidget *parent, const Qt::WindowFlags &f=0)
virtual ~DtMenuPathSelector ()
virtual QString selectMenuPath (const QString &curPath="")
 Puts up a widget to allow the user to select a menu path.
virtual void modifyScriptedTask (const DtScriptedTaskMetaData &)=0
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.

Public Attributes

DtConfigurableMenuAssembler myMenuAssembler
QPushButtonmyAddBefore
QPushButtonmyAddAfter
QTreeWidgetmyMenu
QLineEditmyMenuItem
QRadioButton * myBefore
QRadioButton * myAfter

Protected Slots

virtual void addBefore ()
virtual void addAfter ()
virtual const
DtConfigurableMenuAssembler
assembler () const =0
virtual QList< QAction * > actions () const =0
virtual const charmenuId () const =0

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

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::DtMenuPathSelector::DtMenuPathSelector ( makVrv::DtDe de,
const std::string &  scriptId,
QWidget *  parent,
const Qt::WindowFlags &  f = 0 
)
virtual makVrf::DtMenuPathSelector::~DtMenuPathSelector ( )
virtual

Member Function Documentation

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

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

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

Returns a prettier string of the location of the script.

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

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

virtual void makVrf::DtMenuPathSelector::populateMenu ( QTreeWidgetItem parent,
QAction actions,
const DtConfigurableMenuAssembler menuAssembler 
)
protectedvirtual
virtual void makVrf::DtMenuPathSelector::addMenuAtPositionFromSelected ( int  )
protectedvirtual
virtual QTreeWidgetItem* makVrf::DtMenuPathSelector::findMenuItem ( QTreeWidgetItem parent,
const std::string &  path 
) const
protectedvirtual
virtual void makVrf::DtMenuPathSelector::addBefore ( )
protectedvirtualslot
virtual void makVrf::DtMenuPathSelector::addAfter ( )
protectedvirtualslot
virtual const DtConfigurableMenuAssembler& makVrf::DtMenuPathSelector::assembler ( ) const
protectedpure virtualslot
virtual QList<QAction*> makVrf::DtMenuPathSelector::actions ( ) const
protectedpure virtualslot
virtual const char* makVrf::DtMenuPathSelector::menuId ( ) const
protectedpure virtualslot

Member Data Documentation

DtConfigurableMenuAssembler makVrf::DtMenuPathSelector::myMenuAssembler
QPushButton* makVrf::DtMenuPathSelector::myAddBefore
QPushButton* makVrf::DtMenuPathSelector::myAddAfter
QTreeWidget* makVrf::DtMenuPathSelector::myMenu
QLineEdit* makVrf::DtMenuPathSelector::myMenuItem
QRadioButton* makVrf::DtMenuPathSelector::myBefore
QRadioButton* makVrf::DtMenuPathSelector::myAfter
makVrv::DtDe& makVrf::DtMenuPathSelector::myDe
protected
std::string makVrf::DtMenuPathSelector::myScriptId
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)