![]() |
VR-Forces 4.7 Class Documentation
|
This class will allow the user to select a unit type from a list. More...

Public Member Functions | |
| DtSelectUnitDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtSelectUnitDialog () |
| virtual void | setObjectType (const DtEntityMapperKey &) |
| virtual DtEntityMapperKey | objectType () const |
| virtual void | setUnitName (const QString &name) |
| virtual QString | unitName () const |
| virtual void | setForce (int) |
| virtual int | force () const |
Public Attributes | |
| boost::signal< void(const DtEntityMapperKey &, const QString &)> | signal_addUnit |
| QLabel * | myUnitIcon |
| QLabel * | myNameLabel |
| QLineEdit * | myName |
| QGridLayout * | myGridLayout |
| DtForceSelectionEntryWidget * | myForce |
| DtEnumerationSelectionWidget * | myEnumerationSelectionWidget |
| QHBoxLayout * | myButtonLayout |
| QPushButton * | myAddButton |
| QPushButton * | myCloseButton |
Protected Slots | |
| virtual void | onAddButtonPressed () |
| virtual void | changeAggregateType () |
| virtual void | setupAggregateTypeAndIcon () |
| virtual void | forceTypeChanged () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
This class will allow the user to select a unit type from a list.
The default button is "Add" to signal to add this unit to something. There is also a close button to close the dialog
| makVrf::DtSelectUnitDialog::DtSelectUnitDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
| boost::signal<void (const DtEntityMapperKey&, const QString&)> makVrf::DtSelectUnitDialog::signal_addUnit |
| QLabel* makVrf::DtSelectUnitDialog::myUnitIcon |
| QLabel* makVrf::DtSelectUnitDialog::myNameLabel |
| QLineEdit* makVrf::DtSelectUnitDialog::myName |
| QGridLayout* makVrf::DtSelectUnitDialog::myGridLayout |
| DtForceSelectionEntryWidget* makVrf::DtSelectUnitDialog::myForce |
| DtEnumerationSelectionWidget* makVrf::DtSelectUnitDialog::myEnumerationSelectionWidget |
| QHBoxLayout* makVrf::DtSelectUnitDialog::myButtonLayout |
| QPushButton* makVrf::DtSelectUnitDialog::myAddButton |
| QPushButton* makVrf::DtSelectUnitDialog::myCloseButton |
|
protected |