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

A widget class for managing attachment. More...

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

Public Member Functions

virtual ~DtAttachWidget ()
 DTOR.
virtual QIcon icon ()
 Get the icon of the page.
virtual QString title ()
 Get the title of the page.
virtual const std::string & pageClassName () const
 Get the class name of the page.
virtual void setHideAttachedModelEnabled (bool trueFalse)
 Set the Hide Attach Model checkbox state.
virtual void setAttachedObjects (const std::vector< DtUnicode > &attachedObjects)
 Populate the attached objects list widget.
virtual void setAttachableParts (const std::vector< DtUnicode > &parts)
 Populate the parts drop down.
virtual void setAttachedPart (const DtUnicode &partName)
 Set the current attached part.
virtual void addAttachFilter (const DtUnicode &filterName, int filterType)
 Add a filter type to the Attach Filter combo box.
virtual void setCurrentAttachFilter (int filterType)
 set the current filter type
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 addAttachModes (const std::list< 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 selected in the attach mode combo box
virtual void setAttachModeEnabled (int modeType, bool enabled)
 show an attach mode enabled or disabled
virtual void setAttachSelectedEnabled (bool enabled)
 show the attach selected and attach by mode buttons enabled or disabled
virtual QSize sizeHint () const
virtual void setAttached (bool b)
 If attach button is checkable, set attach state (depress attached)
virtual void setMoreInformationShown (bool)
 Sets whether or not to show more information.
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page.
virtual ~DtPage ()
 DTOR for page.
- Public Member Functions inherited from makVrv::DtAttachWidgetInterface
 DtAttachWidgetInterface ()
 CTOR.
virtual ~DtAttachWidgetInterface ()
 Virtual DTOR.

Protected Slots

virtual void attachToPrevious ()
 handle the Attach Previous button clicked
virtual void attachToNext ()
 handle the Attach Next button clicked
virtual void attachToPart (int index)
 Handle choosing a different part.
virtual void detach ()
 handle the Detach button clicked
virtual void changeHideAttachedModel (int state)
 handle a change to the Hide Attached Model check box
virtual void changeAttachFilterType (int index)
 handle a change to the Attach Filter combo box
virtual void attachModeChanged (int index)
 Handle when the attach mode changes.
virtual void attachSelected ()
 handle the Attach Selected button clicked
virtual void updateShowMoreInformation ()
 Show/hide more information.

Protected Member Functions

 DtAttachWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor of the page.
virtual void activate ()
 Called when the page is displayed.
virtual void deactivate ()
 Called when the page is hidden.
void setupUi ()
void retranslateUi ()

Protected Attributes

DtVirtualBaseClassmyLogic
QSize mySaveSize
QCheckBoxmyHideAttachedModelCheckBox
QComboBoxmyAttachFilterComboBox
QComboBoxmyAttachModeComboBox
QComboBoxmyAttachedObjectsComboBox
QComboBoxmyAttachablePartsComboBox
QFrame * myFirstRowLineSeperator
QFrame * myHorizontalLine2
QFrame * myMoreOptionsFrame
QHBoxLayout * myFirstRowLayout
QHBoxLayout * mySecondRowLayout
QHBoxLayout * myThirdRowLayout
QHBoxLayout * myFourthRowLayout
QLabelmyAttachmentFilterLabel
QLabelmyAttachedObjectsLabel
QLabelmyAttachablePartsLabel
QPushButtonmyAttachNextButton
QPushButtonmyAttachPreviousButton
QPushButtonmyAttachSelectedButton
QPushButtonmyDetachButton
QPushButtonmyShowMoreInformationButton
QVBoxLayout * myMoreOptionsLayout
QVBoxLayout * myMainLayout
std::string myClassName
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe

Friends

class DtAttachWidgetCreator
 Let the creator create the page.

Additional Inherited Members

- 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

Detailed Description

A widget class for managing attachment.

Constructor & Destructor Documentation

virtual makVrv::DtAttachWidget::~DtAttachWidget ( )
virtual

DTOR.

makVrv::DtAttachWidget::DtAttachWidget ( DtDe de,
QWidget parent = 0,
Qt::WindowFlags  f = 0 
)
protected

Constructor of the page.

Member Function Documentation

virtual QIcon makVrv::DtAttachWidget::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtAttachWidget::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtAttachWidget::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

virtual void makVrv::DtAttachWidget::setHideAttachedModelEnabled ( bool  trueFalse)
virtual

Set the Hide Attach Model checkbox state.

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setAttachedObjects ( const std::vector< DtUnicode > &  attachedObjects)
virtual

Populate the attached objects list widget.

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setAttachableParts ( const std::vector< DtUnicode > &  parts)
virtual

Populate the parts drop down.

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setAttachedPart ( const DtUnicode partName)
virtual

Set the current attached part.

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::addAttachFilter ( const DtUnicode filterName,
int  filterType 
)
virtual

Add a filter type to the Attach Filter combo box.

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setCurrentAttachFilter ( int  filterType)
virtual

set the current filter type

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setAttachNextEnabled ( bool  enabled)
virtual

show the attach next button enabled or disabled

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setAttachPreviousEnabled ( bool  enabled)
virtual

show the attach previous button enabled or disabled

Implements makVrv::DtAttachWidgetInterface.

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

add attach modes to the attach mode combo box

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setCurrentAttachMode ( int  modeType)
virtual

set the current attach mode selected in the attach mode combo box

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setAttachModeEnabled ( int  modeType,
bool  enabled 
)
virtual

show an attach mode enabled or disabled

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setAttachSelectedEnabled ( bool  enabled)
virtual

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

Implements makVrv::DtAttachWidgetInterface.

virtual QSize makVrv::DtAttachWidget::sizeHint ( ) const
virtual
virtual void makVrv::DtAttachWidget::setAttached ( bool  b)
virtual

If attach button is checkable, set attach state (depress attached)

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::setMoreInformationShown ( bool  )
virtual

Sets whether or not to show more information.

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::attachToPrevious ( )
protectedvirtualslot

handle the Attach Previous button clicked

virtual void makVrv::DtAttachWidget::attachToNext ( )
protectedvirtualslot

handle the Attach Next button clicked

virtual void makVrv::DtAttachWidget::attachToPart ( int  index)
protectedvirtualslot

Handle choosing a different part.

virtual void makVrv::DtAttachWidget::detach ( )
protectedvirtualslot

handle the Detach button clicked

virtual void makVrv::DtAttachWidget::changeHideAttachedModel ( int  state)
protectedvirtualslot

handle a change to the Hide Attached Model check box

virtual void makVrv::DtAttachWidget::changeAttachFilterType ( int  index)
protectedvirtualslot

handle a change to the Attach Filter combo box

virtual void makVrv::DtAttachWidget::attachModeChanged ( int  index)
protectedvirtualslot

Handle when the attach mode changes.

virtual void makVrv::DtAttachWidget::attachSelected ( )
protectedvirtualslot

handle the Attach Selected button clicked

virtual void makVrv::DtAttachWidget::updateShowMoreInformation ( )
protectedvirtualslot

Show/hide more information.

virtual void makVrv::DtAttachWidget::activate ( )
protectedvirtual

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrv::DtAttachWidget::deactivate ( )
protectedvirtual

Called when the page is hidden.

Implements makVrv::DtPage.

void makVrv::DtAttachWidget::setupUi ( )
protected
void makVrv::DtAttachWidget::retranslateUi ( )
protected

Friends And Related Function Documentation

friend class DtAttachWidgetCreator
friend

Let the creator create the page.

Member Data Documentation

DtVirtualBaseClass* makVrv::DtAttachWidget::myLogic
protected
QSize makVrv::DtAttachWidget::mySaveSize
protected
QCheckBox* makVrv::DtAttachWidget::myHideAttachedModelCheckBox
protected
QComboBox* makVrv::DtAttachWidget::myAttachFilterComboBox
protected
QComboBox* makVrv::DtAttachWidget::myAttachModeComboBox
protected
QComboBox* makVrv::DtAttachWidget::myAttachedObjectsComboBox
protected
QComboBox* makVrv::DtAttachWidget::myAttachablePartsComboBox
protected
QFrame* makVrv::DtAttachWidget::myFirstRowLineSeperator
protected
QFrame* makVrv::DtAttachWidget::myHorizontalLine2
protected
QFrame* makVrv::DtAttachWidget::myMoreOptionsFrame
protected
QHBoxLayout* makVrv::DtAttachWidget::myFirstRowLayout
protected
QHBoxLayout* makVrv::DtAttachWidget::mySecondRowLayout
protected
QHBoxLayout* makVrv::DtAttachWidget::myThirdRowLayout
protected
QHBoxLayout* makVrv::DtAttachWidget::myFourthRowLayout
protected
QLabel* makVrv::DtAttachWidget::myAttachmentFilterLabel
protected
QLabel* makVrv::DtAttachWidget::myAttachedObjectsLabel
protected
QLabel* makVrv::DtAttachWidget::myAttachablePartsLabel
protected
QPushButton* makVrv::DtAttachWidget::myAttachNextButton
protected
QPushButton* makVrv::DtAttachWidget::myAttachPreviousButton
protected
QPushButton* makVrv::DtAttachWidget::myAttachSelectedButton
protected
QPushButton* makVrv::DtAttachWidget::myDetachButton
protected
QPushButton* makVrv::DtAttachWidget::myShowMoreInformationButton
protected
QVBoxLayout* makVrv::DtAttachWidget::myMoreOptionsLayout
protected
QVBoxLayout* makVrv::DtAttachWidget::myMainLayout
protected
std::string makVrv::DtAttachWidget::myClassName
protected

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

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)