![]() |
VR-Forces 4.10 Class Documentation
|
A menu that validates itself on selection. More...

Public Member Functions | |
| DtSelectionEnabledMenu (const QString &title, QWidget *parent, makVrv::DtDe &) | |
| CTOR. More... | |
| virtual | ~DtSelectionEnabledMenu () |
| DTOR. More... | |
| virtual void | slot_validateMenuItems () |
| virtual void | setBlockSelectionChange (bool b) |
| bool | blockSelectionChange () const |
| virtual bool | needsValidation () const |
| const makVrv::DtSelectionManager::IdSet & | validatingFor () const |
| When connecting to the signal_validateMenuItem from the menu signaler, this method will contain the entities being validated. More... | |
| virtual bool | setSelectionSetForValidate (const makVrv::DtSelectionManager::IdSet &selection) |
| Assign myValidatedFor the IdSet parameter If myUseLastSelection is true, myValidatedFor may not be updated, if the IdSet paramater does not contain a valid selection The last selection can be limited to single selection only, according to myUseOnlyLastSingleSelection's value The function return true if myValidatedFor was updated, false if not. More... | |
| virtual bool | validateSelection (const makVrv::DtSelectionManager::IdSet &selection) const |
| Validate if the selection contains a valid VRF object. More... | |
| virtual void | setUseLastSelection (bool useLastSelection) |
| Set/Get the myUseLastSelection flag. More... | |
| virtual bool | useLastSelection () const |
| virtual void | setUseOnlyLastSingleSelection (bool useOnlyLastSingleSelection) |
| Set/Get the myUseOnlyLastSingleSelection flag. More... | |
| virtual bool | useOnlyLastSingleSelection () const |
Public Member Functions inherited from makVrf::DtAssembledMenu | |
| DtAssembledMenu (const QString &title, QWidget *parent, makVrv::DtDe &) | |
| CTOR. More... | |
| virtual | ~DtAssembledMenu () |
| DTOR. More... | |
| const DtConfigurableMenuAssembler & | assembler () const |
Protected Member Functions | |
| virtual void | initValidationConnections () |
| virtual void | slot_terrainPatchToBeDeleted () |
| virtual void | slot_selectionChanged () |
| virtual void | validateMenuItems (int terrainPatchOffset)=0 |
| virtual bool | terrainLoaded (int terrainCountOffset) const |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtAssembledMenu | |
| boost::signals2::signal< void(DtAssembledMenu *)> | signal_preAssembleMenu |
| boost::signals2::signal< void(DtAssembledMenu *)> | signal_postAssembleMenu |
A menu that validates itself on selection.
| makVrf::DtSelectionEnabledMenu::DtSelectionEnabledMenu | ( | const QString & | title, |
| QWidget * | parent, | ||
| makVrv::DtDe & | |||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
|
inlinevirtual |
|
inline |
|
virtual |
Reimplemented in makVrf::DtVrfTaskSetMenu.
|
inline |
When connecting to the signal_validateMenuItem from the menu signaler, this method will contain the entities being validated.
|
virtual |
Assign myValidatedFor the IdSet parameter If myUseLastSelection is true, myValidatedFor may not be updated, if the IdSet paramater does not contain a valid selection The last selection can be limited to single selection only, according to myUseOnlyLastSingleSelection's value The function return true if myValidatedFor was updated, false if not.
|
virtual |
Validate if the selection contains a valid VRF object.
|
virtual |
Set/Get the myUseLastSelection flag.
|
virtual |
|
virtual |
Set/Get the myUseOnlyLastSingleSelection flag.
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedpure virtual |
Implemented in makVrf::DtVrfTaskSetMenu, and makVrf::DtVrfEntityMenu.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |