![]() |
VR-Forces 4.0.4 Class Documentation
|
A widget class for managing attachment. More...

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 | |
| DtVirtualBaseClass * | myLogic |
| QSize | mySaveSize |
| QCheckBox * | myHideAttachedModelCheckBox |
| QComboBox * | myAttachFilterComboBox |
| QComboBox * | myAttachModeComboBox |
| QComboBox * | myAttachedObjectsComboBox |
| QComboBox * | myAttachablePartsComboBox |
| QFrame * | myFirstRowLineSeperator |
| QFrame * | myHorizontalLine2 |
| QFrame * | myMoreOptionsFrame |
| QHBoxLayout * | myFirstRowLayout |
| QHBoxLayout * | mySecondRowLayout |
| QHBoxLayout * | myThirdRowLayout |
| QHBoxLayout * | myFourthRowLayout |
| QLabel * | myAttachmentFilterLabel |
| QLabel * | myAttachedObjectsLabel |
| QLabel * | myAttachablePartsLabel |
| QPushButton * | myAttachNextButton |
| QPushButton * | myAttachPreviousButton |
| QPushButton * | myAttachSelectedButton |
| QPushButton * | myDetachButton |
| QPushButton * | myShowMoreInformationButton |
| QVBoxLayout * | myMoreOptionsLayout |
| QVBoxLayout * | myMainLayout |
| std::string | myClassName |
Friends | |
| class | DtAttachWidgetCreator |
| Let the creator create the page. | |
A widget class for managing attachment.
| virtual makVrv::DtAttachWidget::~DtAttachWidget | ( | ) | [virtual] |
DTOR.
| makVrv::DtAttachWidget::DtAttachWidget | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) | [protected] |
Constructor of the page.
| 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 | ( | ) | [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] |
| void makVrv::DtAttachWidget::retranslateUi | ( | ) | [protected] |
friend class DtAttachWidgetCreator [friend] |
Let the creator create the page.
DtVirtualBaseClass* makVrv::DtAttachWidget::myLogic [protected] |
QSize makVrv::DtAttachWidget::mySaveSize [protected] |
QComboBox* makVrv::DtAttachWidget::myAttachFilterComboBox [protected] |
QComboBox* makVrv::DtAttachWidget::myAttachModeComboBox [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::myDetachButton [protected] |
QVBoxLayout* makVrv::DtAttachWidget::myMoreOptionsLayout [protected] |
QVBoxLayout* makVrv::DtAttachWidget::myMainLayout [protected] |
std::string makVrv::DtAttachWidget::myClassName [protected] |