VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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.

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
QFramemyFirstRowLineSeperator
QFramemyHorizontalLine2
QFramemyMoreOptionsFrame
QHBoxLayout * myFirstRowLayout
QHBoxLayout * mySecondRowLayout
QHBoxLayout * myThirdRowLayout
QHBoxLayout * myFourthRowLayout
QLabelmyAttachmentFilterLabel
QLabelmyAttachedObjectsLabel
QLabelmyAttachablePartsLabel
QPushButtonmyAttachNextButton
QPushButtonmyAttachPreviousButton
QPushButtonmyAttachSelectedButton
QPushButtonmyDetachButton
QPushButtonmyShowMoreInformationButton
QVBoxLayout * myMoreOptionsLayout
QVBoxLayout * myMainLayout
std::string myClassName

Friends

class DtAttachWidgetCreator
 Let the creator create the page.

Detailed Description

A widget class for managing attachment.


Constructor & Destructor Documentation

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.

Sets whether or not to show more information.

Implements makVrv::DtAttachWidgetInterface.

virtual void makVrv::DtAttachWidget::attachToPrevious ( ) [protected, virtual, slot]

handle the Attach Previous button clicked

virtual void makVrv::DtAttachWidget::attachToNext ( ) [protected, virtual, slot]

handle the Attach Next button clicked

virtual void makVrv::DtAttachWidget::attachToPart ( int  index) [protected, virtual, slot]

Handle choosing a different part.

virtual void makVrv::DtAttachWidget::detach ( ) [protected, virtual, slot]

handle the Detach button clicked

virtual void makVrv::DtAttachWidget::changeHideAttachedModel ( int  state) [protected, virtual, slot]

handle a change to the Hide Attached Model check box

virtual void makVrv::DtAttachWidget::changeAttachFilterType ( int  index) [protected, virtual, slot]

handle a change to the Attach Filter combo box

virtual void makVrv::DtAttachWidget::attachModeChanged ( int  index) [protected, virtual, slot]

Handle when the attach mode changes.

virtual void makVrv::DtAttachWidget::attachSelected ( ) [protected, virtual, slot]

handle the Attach Selected button clicked

virtual void makVrv::DtAttachWidget::updateShowMoreInformation ( ) [protected, virtual, slot]

Show/hide more information.

virtual void makVrv::DtAttachWidget::activate ( ) [protected, virtual]

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrv::DtAttachWidget::deactivate ( ) [protected, virtual]

Called when the page is hidden.

Implements makVrv::DtPage.

void makVrv::DtAttachWidget::setupUi ( ) [protected]

Friends And Related Function Documentation

friend class DtAttachWidgetCreator [friend]

Let the creator create the page.


Member Data Documentation

QHBoxLayout* makVrv::DtAttachWidget::myFirstRowLayout [protected]
QHBoxLayout* makVrv::DtAttachWidget::myThirdRowLayout [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 Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)