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

An Item builder for the create instrument panel menu. More...

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

Public Member Functions

 DtCreateInstrumentPanelMenu (DtDe &)
 CTOR. More...
 
virtual ~DtCreateInstrumentPanelMenu ()
 DTOR. More...
 
virtual QMenucreateMenu (DtDe &, QWidget *parent)
 Builds the "Create Instrument Panel" menu and connects the onAboutToShow slot. More...
 
- Public Member Functions inherited from makVrv::DtMenu
 DtMenu (DtDe &de, const std::string &menuIdName)
 CTOR. More...
 
virtual ~DtMenu ()
 DTOR. More...
 
virtual const std::string & menuIdName () const
 Get the menu id name, the menu id name is not the same thing as the visible menu text. More...
 

Protected Slots

virtual void onAboutToShow ()
 If there is a single entity selected, DtCreateInstrumentPanelItems are created for it and added to the menu. More...
 

Protected Attributes

QMenumyMenu
 
- Protected Attributes inherited from makVrv::DtMenu
DtDemyDe
 
std::string myMenuIdName
 

Detailed Description

An Item builder for the create instrument panel menu.

The menu id string is "DtCreateInstrumentPanelMenu"

Constructor & Destructor Documentation

makVrv::DtCreateInstrumentPanelMenu::DtCreateInstrumentPanelMenu ( DtDe )

CTOR.

virtual makVrv::DtCreateInstrumentPanelMenu::~DtCreateInstrumentPanelMenu ( )
virtual

DTOR.

Member Function Documentation

virtual QMenu* makVrv::DtCreateInstrumentPanelMenu::createMenu ( DtDe ,
QWidget *  parent 
)
virtual

Builds the "Create Instrument Panel" menu and connects the onAboutToShow slot.

Implements makVrv::DtMenu.

virtual void makVrv::DtCreateInstrumentPanelMenu::onAboutToShow ( )
protectedvirtualslot

If there is a single entity selected, DtCreateInstrumentPanelItems are created for it and added to the menu.

Otherwise the menu is disabled.

Member Data Documentation

QMenu* makVrv::DtCreateInstrumentPanelMenu::myMenu
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)