VR-Forces 4.7 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::DtVrfAttachObjectWidget Class Reference

A widget class for putting simulation control buttons on that are tied to existing menu items. More...

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

Public Member Functions

 DtVrfAttachObjectWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0)
 CTOR.
virtual ~DtVrfAttachObjectWidget ()
 DTOR.
- Public Member Functions inherited from makVrf::DtVrfAttachWidgetInterface
virtual ~DtVrfAttachWidgetInterface ()
- Public Member Functions inherited from makVrv::DtAttachWidgetInterface
 DtAttachWidgetInterface ()
 CTOR.
virtual ~DtAttachWidgetInterface ()
 Virtual DTOR.

Public Attributes

QHBoxLayout * myMainLayout
QPushButtonmyAttachSelectedBtn
QPushButtonmyAttachPreviousBtn
QPushButtonmyAttachNextBtn
QComboBoxmyAttachSelections

Protected Slots

virtual void attachSelected ()
 handle the Attach Selected button clicked
virtual void attachPrevious ()
 handle the Attach Previous button clicked
virtual void attachNext ()
 handle the Attach Next button clicked
virtual void onSelectAttachMode (int)
 Signal sent when attach mode changes on combo box.

Protected Member Functions

virtual void setupUi ()
 Sets up the contents of the widget onto the supplied parent.
virtual void setAttached (bool)
 Set if the observer is attached.
virtual void setAttachNextEnabled (bool enabled)
 show the attach next button enabled or disabled
virtual void setAttachPreviousEnabled (bool enabled)
 show the attach previous button enabled or disabled
virtual void setAttachSelectedEnabled (bool enabled)
 show the attach selected and attach by mode buttons enabled or disabled
virtual void addAttachModes (const std::list< makVrv::DtUnicode > &modeNames, const std::list< int > &modeTypes)
 add attach modes to the attach mode combo box
virtual void setCurrentAttachMode (int modeType)
 set the current attach mode
- Protected Member Functions inherited from makVrf::DtVrfAttachWidgetInterface
virtual void setHideAttachedModel (bool trueFalse)
 Unused for this class.
virtual void setAttachedObjects (const std::vector< makVrv::DtUnicode > &)
virtual void enableDetach (bool enabled)
virtual void setAttachedObjects (const std::vector< makVrv::DtUnicode > &attachedObject, bool visible)
 Populate the attached objects list widget.
virtual void setShowMoreInformation (bool enabled)
virtual void setHideAttachedModelEnabled (bool enabled)
 Set the Hide Attach Model checkbox state.
virtual void setAttachableParts (const std::vector< makVrv::DtUnicode > &parts)
 Set the attachable parts.
virtual void setAttachedPart (const makVrv::DtUnicode &partName)
 Set the current attached part.
virtual void setAttachModeEnabled (int, bool)
 Set the current attached part.
virtual void setMoreInformationShown (bool)
 Set the current attached part.
virtual void addAttachFilter (const makVrv::DtUnicode &filterName, int filterType)
 Add a filter type to the Attach Filter combo box.
virtual void setCurrentAttachFilter (int filterType)
 set the current filter type

Protected Attributes

makVrv::DtDemyDe
DtVrfAttachWidgetLogicmyLogic

Detailed Description

A widget class for putting simulation control buttons on that are tied to existing menu items.

Constructor & Destructor Documentation

makVrf::DtVrfAttachObjectWidget::DtVrfAttachObjectWidget ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

CTOR.

virtual makVrf::DtVrfAttachObjectWidget::~DtVrfAttachObjectWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtVrfAttachObjectWidget::setupUi ( )
protectedvirtual

Sets up the contents of the widget onto the supplied parent.

virtual void makVrf::DtVrfAttachObjectWidget::setAttached ( bool  b)
protectedvirtual

Set if the observer is attached.

Implements makVrf::DtVrfAttachWidgetInterface.

virtual void makVrf::DtVrfAttachObjectWidget::setAttachNextEnabled ( bool  enabled)
protectedvirtual

show the attach next button enabled or disabled

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrf::DtVrfAttachObjectWidget::setAttachPreviousEnabled ( bool  enabled)
protectedvirtual

show the attach previous button enabled or disabled

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrf::DtVrfAttachObjectWidget::setAttachSelectedEnabled ( bool  enabled)
protectedvirtual

show the attach selected and attach by mode buttons enabled or disabled

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrf::DtVrfAttachObjectWidget::addAttachModes ( const std::list< makVrv::DtUnicode > &  modeNames,
const std::list< int > &  modeTypes 
)
protectedvirtual

add attach modes to the attach mode combo box

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrf::DtVrfAttachObjectWidget::setCurrentAttachMode ( int  modeType)
protectedvirtual

set the current attach mode

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrf::DtVrfAttachObjectWidget::attachSelected ( )
protectedvirtualslot

handle the Attach Selected button clicked

virtual void makVrf::DtVrfAttachObjectWidget::attachPrevious ( )
protectedvirtualslot

handle the Attach Previous button clicked

virtual void makVrf::DtVrfAttachObjectWidget::attachNext ( )
protectedvirtualslot

handle the Attach Next button clicked

virtual void makVrf::DtVrfAttachObjectWidget::onSelectAttachMode ( int  )
protectedvirtualslot

Signal sent when attach mode changes on combo box.

Member Data Documentation

makVrv::DtDe& makVrf::DtVrfAttachObjectWidget::myDe
protected
QHBoxLayout* makVrf::DtVrfAttachObjectWidget::myMainLayout
QPushButton* makVrf::DtVrfAttachObjectWidget::myAttachSelectedBtn
QPushButton* makVrf::DtVrfAttachObjectWidget::myAttachPreviousBtn
QPushButton* makVrf::DtVrfAttachObjectWidget::myAttachNextBtn
QComboBox* makVrf::DtVrfAttachObjectWidget::myAttachSelections
DtVrfAttachWidgetLogic* makVrf::DtVrfAttachObjectWidget::myLogic
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)