VR-Forces 4.8 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. More...
 
virtual ~DtVrfAttachObjectWidget ()
 DTOR. More...
 
- Public Member Functions inherited from makVrf::DtVrfAttachWidgetInterface
virtual ~DtVrfAttachWidgetInterface ()
 
- Public Member Functions inherited from makVrv::DtAttachWidgetInterface
 DtAttachWidgetInterface ()
 CTOR. More...
 
virtual ~DtAttachWidgetInterface ()
 Virtual DTOR. More...
 

Public Attributes

QHBoxLayout * myMainLayout
 
QPushButtonmyAttachSelectedBtn
 
QPushButtonmyAttachPreviousBtn
 
QPushButtonmyAttachNextBtn
 
QComboBoxmyAttachSelections
 
- Public Attributes inherited from makVrv::DtAttachWidgetInterface
boost::signal< void(int)> signal_setAttachMode
 
boost::signal< void()> signal_attachToNext
 
boost::signal< void()> signal_attachToPrevious
 
boost::signal< void(const
std::string &)> 
signal_attachToPartName
 
boost::signal< void()> signal_attachToSelected
 
boost::signal< void()> signal_detach
 
boost::signal< void(bool)> signal_setHideAttachedModel
 
boost::signal< void(int)> signal_attachFilterTypeChanged
 

Protected Slots

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

Protected Member Functions

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

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)