![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Member Functions | |
| DtSimulationCommandChangeHostilityWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtSimulationCommandChangeHostilityWidget () |
| virtual void | setForceOne (int) |
| virtual int | forceOne () const |
| virtual void | setForceTwo (int) |
| virtual int | forceTwo () const |
| virtual void | setForceOneIsHostileToForceTwo (bool) |
| virtual bool | forceOneIsHostileToForceTwo () const |
| virtual void | addForce (const std::string &, int force) |
| virtual void | removeForce (int force) |
Public Attributes | |
| QWidget * | myCanvas |
| QGridLayout * | myMainLayout |
| QLabel * | myForceToChangeLabel |
| QComboBox * | myForceToChangeCombo |
| QLabel * | myNewStanceLabel |
| QRadioButton * | myHostileTo |
| QRadioButton * | myFriendlyTo |
| QLabel * | myToForceLabel |
| QComboBox * | myToForceCombo |
Protected Member Functions | |
| virtual QWidget * | contents (const std::vector< makVrv::DtSimEntry * > &data) |
| Creates set dialog contents. Called from setupGui. | |
| virtual void | sendRequest () |
| Override to send the set or task request. | |
| virtual void | setupStatement (const DtSimStatement *) |
| virtual bool | wantsSelectionOfObjectInCommandMode () const |
| Override to return false if, when this task is used as part of a simulation command, it does not want to allow to choose an object to apply the command to. | |
| virtual void | initializeItems (const std::vector< makVrv::DtSimEntry * > &data) |
| Override for dialogs that need item initialization. | |
| makVrf::DtSimulationCommandChangeHostilityWidget::DtSimulationCommandChangeHostilityWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
| virtual makVrf::DtSimulationCommandChangeHostilityWidget::~DtSimulationCommandChangeHostilityWidget | ( | ) | [virtual] |
| virtual void makVrf::DtSimulationCommandChangeHostilityWidget::setForceOne | ( | int | ) | [virtual] |
| virtual int makVrf::DtSimulationCommandChangeHostilityWidget::forceOne | ( | ) | const [virtual] |
| virtual void makVrf::DtSimulationCommandChangeHostilityWidget::setForceTwo | ( | int | ) | [virtual] |
| virtual int makVrf::DtSimulationCommandChangeHostilityWidget::forceTwo | ( | ) | const [virtual] |
| virtual void makVrf::DtSimulationCommandChangeHostilityWidget::setForceOneIsHostileToForceTwo | ( | bool | ) | [virtual] |
| virtual bool makVrf::DtSimulationCommandChangeHostilityWidget::forceOneIsHostileToForceTwo | ( | ) | const [virtual] |
| virtual void makVrf::DtSimulationCommandChangeHostilityWidget::addForce | ( | const std::string & | , |
| int | force | ||
| ) | [virtual] |
| virtual void makVrf::DtSimulationCommandChangeHostilityWidget::removeForce | ( | int | force | ) | [virtual] |
| virtual QWidget* makVrf::DtSimulationCommandChangeHostilityWidget::contents | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
Creates set dialog contents. Called from setupGui.
Reimplemented from makVrf::DtSimulationCommandDialogInterface.
| virtual void makVrf::DtSimulationCommandChangeHostilityWidget::sendRequest | ( | ) | [protected, virtual] |
Override to send the set or task request.
Implements makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtSimulationCommandChangeHostilityWidget::setupStatement | ( | const DtSimStatement * | ) | [protected, virtual] |
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| virtual bool makVrf::DtSimulationCommandChangeHostilityWidget::wantsSelectionOfObjectInCommandMode | ( | ) | const [protected, virtual] |
Override to return false if, when this task is used as part of a simulation command, it does not want to allow to choose an object to apply the command to.
Calls down to logic with method of same name
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtSimulationCommandChangeHostilityWidget::initializeItems | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
Override for dialogs that need item initialization.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.