![]() |
VR-Forces 4.3 Class Documentation
|
Abstract interface for the entity creation palette. More...

Public Member Functions | |
| virtual | ~DtEntityCreatePaletteInterface () |
| Virtual DTOR. | |
| virtual void | clear ()=0 |
| Clears contents of widget. | |
| virtual void | update ()=0 |
| Tells widget to update (redraw) | |
| virtual QString | currentForce () const =0 |
| Returns currently selected force. | |
| virtual int | currentForceType () const =0 |
| Returns the current force type selected. | |
| virtual int | currentForceIndex () const =0 |
| Returns the index of the currently selected force in the combo box. | |
| virtual int | currentCategoryIndex () const =0 |
| Returns the index of the currently selected category in the combo box. | |
| virtual int | currentDeployedCountryIndex () const =0 |
| Returns the index of the currently selected deployed country in the combo box. | |
| virtual int | forceTypeAtIndex (int) const =0 |
| Force type at index. | |
| virtual QString | currentCategory () const =0 |
| Returns currently selected category. | |
| virtual QString | currentDeployedCountry () const =0 |
| Returns currently selected deployed country. | |
| virtual int | numForces () const =0 |
| Returns number of forces. | |
| virtual int | numCategories () const =0 |
| Returns number of categories. | |
| virtual int | numDeployedCountries () const =0 |
| Returns number of deployed countries. | |
| virtual void | addForce (const QString &, int)=0 |
| Adds new force and force type. | |
| virtual QString | force (int) const =0 |
| Returns the force string at the specified index. | |
| virtual bool | hasForce (int) const =0 |
| Returns true if the specified force exists. | |
| virtual bool | hasDeployedCountries () const =0 |
| Returns true if supports deployed countries. | |
| virtual bool | hasCategory (const QString &) const =0 |
| Returns true if the specified deployed country exists. | |
| virtual void | insertCategory (const QString &, int)=0 |
| Adds new category at the specified index. | |
| virtual void | insertCategoryBefore (const QString &, const QString &)=0 |
| Adds new category before the specified item. | |
| virtual void | insertCategoryAfter (const QString &, const QString &)=0 |
| Adds new category after the specified item. | |
| virtual void | addCategory (const QString &)=0 |
| Adds new deployed country. | |
| virtual bool | hasDeployedCountry (const QString &) const =0 |
| Returns true if the specified deployed country exists. | |
| virtual void | insertDeployedCountry (const QString &, int)=0 |
| Adds new deployed country at the specified index. | |
| virtual void | insertDeployedCountryBefore (const QString &, const QString &)=0 |
| Adds new deployed country before the specified item. | |
| virtual void | insertDeployedCountryAfter (const QString &, const QString &)=0 |
| Adds new deployed country after the specified item. | |
| virtual void | addDeployedCountry (const QString &)=0 |
| Adds new deployed country. | |
| virtual void | selectDeployedCountry (const QString &)=0 |
| Selects deployed country by name. | |
| virtual void | selectDeployedCountry (int)=0 |
| Selects deployed country by index. | |
| virtual void | selectForce (const QString &)=0 |
| Selects force by name. | |
| virtual void | selectForce (int)=0 |
| Selects force by index. | |
| virtual void | showForce (bool)=0 |
| Show/hide force. | |
| virtual void | selectCategory (const QString &)=0 |
| Selects category by name. | |
| virtual void | selectCategory (int)=0 |
| Selects category by index. | |
| virtual void | clearCreateList ()=0 |
| Clears the create list. | |
| virtual void | setSortingEnabled (bool)=0 |
| Sets whether or not to allow list soring. | |
| virtual void | sizeColumns ()=0 |
| Sizes the columns to contents. | |
| virtual void | addItem (const _DtEntityPaletteItem &, int force, bool newItem=false)=0 |
| If the entity model key type and force is not already in the list, add it. | |
| virtual void | addPaletteItem (const _DtEntityPaletteItem &)=0 |
| Adds the new item into the logic. | |
| virtual void | removePaletteItem (const DtEntityMapperKey &key)=0 |
| Removes an item from the internal list for any key that matches the supplied key. | |
| virtual void | setEnabled (bool)=0 |
| Enables/Disables Gui. | |
| virtual void | filterItems ()=0 |
| Filters items. | |
| virtual const std::string & | pageClassName () const =0 |
| Get the class name of the page. | |
| virtual void | clearForces ()=0 |
| Clear forces combo. | |
| virtual void | clearDeployedCountries ()=0 |
| Clear deployed countries combo. | |
| virtual void | clearCategories ()=0 |
| Clear categories combo. | |
Public Attributes | |
| boost::signal< void()> | signal_forceChanged |
| boost::signal< void(std::string)> | signal_categoryChanged |
| boost::signal< void(std::string)> | signal_deployedCountryChanged |
| boost::signal< void(const DtEntityMapperKey &)> | signal_createObject |
| boost::signal< void()> | signal_itemsAdded |
| boost::signal< void(std::string)> | signal_itemSelected |
| boost::signal< void(DtEntityCreatePaletteInterface *)> | signal_Updated |
Abstract interface for the entity creation palette.
|
virtual |
Virtual DTOR.
|
pure virtual |
Clears contents of widget.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Tells widget to update (redraw)
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns currently selected force.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns the current force type selected.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns the index of the currently selected force in the combo box.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns the index of the currently selected category in the combo box.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns the index of the currently selected deployed country in the combo box.
Implemented in makVrf::DtEntityCreatePalette.
Force type at index.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns currently selected category.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns currently selected deployed country.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns number of forces.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns number of categories.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns number of deployed countries.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new force and force type.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns the force string at the specified index.
Implemented in makVrf::DtEntityCreatePalette.
Returns true if the specified force exists.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns true if supports deployed countries.
Implemented in makVrf::DtEntityCreatePalette, makVrf::DtTacticalGraphicCreatePalette, and makVrf::DtHazardAreaCreatePalette.
|
pure virtual |
Returns true if the specified deployed country exists.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new category at the specified index.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new category before the specified item.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new category after the specified item.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new deployed country.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Returns true if the specified deployed country exists.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new deployed country at the specified index.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new deployed country before the specified item.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new deployed country after the specified item.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds new deployed country.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Selects deployed country by name.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Selects deployed country by index.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Selects force by name.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Selects force by index.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Show/hide force.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Selects category by name.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Selects category by index.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Clears the create list.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Sets whether or not to allow list soring.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Sizes the columns to contents.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
If the entity model key type and force is not already in the list, add it.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Adds the new item into the logic.
Be sure to re-execute filter if need be to get these items to show up in the dialog
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Removes an item from the internal list for any key that matches the supplied key.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Enables/Disables Gui.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Filters items.
|
pure virtual |
Get the class name of the page.
Implemented in makVrf::DtEntityCreatePalette, makVrf::DtTacticalGraphicCreatePalette, and makVrf::DtHazardAreaCreatePalette.
|
pure virtual |
Clear forces combo.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Clear deployed countries combo.
Implemented in makVrf::DtEntityCreatePalette.
|
pure virtual |
Clear categories combo.
Implemented in makVrf::DtEntityCreatePalette.
| boost::signal<void ()> makVrf::DtEntityCreatePaletteInterface::signal_forceChanged |
| boost::signal<void (std::string)> makVrf::DtEntityCreatePaletteInterface::signal_categoryChanged |
| boost::signal<void (std::string)> makVrf::DtEntityCreatePaletteInterface::signal_deployedCountryChanged |
| boost::signal<void (const DtEntityMapperKey&)> makVrf::DtEntityCreatePaletteInterface::signal_createObject |
| boost::signal<void ()> makVrf::DtEntityCreatePaletteInterface::signal_itemsAdded |
| boost::signal<void (std::string)> makVrf::DtEntityCreatePaletteInterface::signal_itemSelected |
| boost::signal<void (DtEntityCreatePaletteInterface*)> makVrf::DtEntityCreatePaletteInterface::signal_Updated |