![]() |
VR-Forces 4.1 Class Documentation
|
A widget class for creating TacticalGraphic objects. More...

Public Member Functions | |
| DtTacticalGraphicCreatePalette (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual | ~DtTacticalGraphicCreatePalette () |
| DTOR. | |
| virtual QPixmap | icon () const |
| Icon to be used in small display. | |
| virtual QString | iconText () const |
| Name to put next to the icon. | |
Public Member Functions inherited from makVrf::DtEntityCreatePalette | |
| DtEntityCreatePalette (makVrv::DtDe &de, bool favoritesSupprted, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual | ~DtEntityCreatePalette () |
| DTOR. | |
Public Member Functions inherited from makVrf::DtEntityCreatePaletteInterface | |
| virtual | ~DtEntityCreatePaletteInterface () |
| Virtual DTOR. | |
| virtual void | filterItems ()=0 |
| Filters items. | |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtEntityCreatePalette | |
| QVBoxLayout * | myMainLayout |
| QLabel * | myForceLabel |
| QComboBox * | myCategories |
| QComboBox * | myForces |
| QTreeWidget * | myEntities |
| QImage | myFavoriteOn |
| QImage | myFavoriteOff |
| QLabel * | mySearchLabel |
| QLineEdit * | mySearch |
| QPushButton * | myResetButton |
Protected Slots inherited from makVrf::DtEntityCreatePalette | |
| virtual void | slot_onForceChanged () |
| virtual void | slot_onCategoryChanged () |
| virtual void | slot_onItemPressed (QTreeWidgetItem *, int) |
| virtual void | filterItems () |
| virtual void | resetFilter () |
Protected Member Functions inherited from makVrf::DtEntityCreatePalette | |
| void | setupUi (QWidget *p, bool favoritesSupported) |
| Sets up the contents of the widget onto the supplied parent. | |
| virtual void | clear () |
| Clears contents of widget. | |
| virtual void | update () |
| Tells widget to update (redraw) | |
| virtual QString | currentForce () const |
| Returns currently selected force. | |
| virtual int | currentForceType () const |
| Returns the current force type selected. | |
| virtual int | currentForceIndex () const |
| Returns the index of the currently selected force in the combo box. | |
| virtual int | currentCategoryIndex () const |
| Returns the index of the currently selected category in the combo box. | |
| virtual int | forceTypeAtIndex (int) const |
| Force type at index. | |
| virtual QString | currentCategory () const |
| Returns currently selected category. | |
| virtual int | numForces () const |
| Returns number of forces. | |
| virtual int | numCategories () const |
| Returns number of categories. | |
| virtual void | addForce (const QString &, int) |
| Adds new force and force type. | |
| virtual QString | force (int) const |
| Returns the force string at the specified index. | |
| virtual bool | hasForce (int) const |
| Returns true if the specified force exists. | |
| virtual void | addCategory (const QString &) |
| Adds new category. | |
| virtual void | insertCategory (const QString &, int) |
| Adds new category at the specified index. | |
| virtual void | insertCategoryBefore (const QString &, const QString &) |
| Adds new category before the specified item. | |
| virtual void | insertCategoryAfter (const QString &, const QString &) |
| Adds new category after the specified item. | |
| virtual bool | hasCategory (const QString &) const |
| Returns true if the specified category exists. | |
| virtual void | selectForce (const QString &) |
| Selects force by name. | |
| virtual void | showForce (bool) |
| Show/hide force. | |
| virtual void | selectForce (int) |
| Selects force by index. | |
| virtual void | selectCategory (const QString &) |
| Selects category by name. | |
| virtual void | selectCategory (int) |
| Selects category by index. | |
| virtual void | clearCreateList () |
| Clears the create list. | |
| virtual void | setSortingEnabled (bool) |
| Sets whether or not to allow list soring. | |
| virtual void | sizeColumns () |
| Sizes the columns to contents. | |
| virtual void | addItem (const _DtEntityPaletteItem &, int force, bool newItem=false) |
| If the entity model key type and force is not already in the list, add it Set newItem to true if this is an item that is a part of the model set. | |
| virtual void | addPaletteItem (const _DtEntityPaletteItem &) |
| Adds the new item into the logic. | |
| virtual void | removePaletteItem (const DtEntityMapperKey &key) |
| Removes an item from the internal list for any key that matches the supplied key. | |
| virtual void | setEnabled (bool) |
| Enables/Disables Gui. | |
| void | createFavoriteIcon () |
| Creates the favorites icon (on and off) | |
Protected Attributes inherited from makVrf::DtEntityCreatePalette | |
| makVrv::DtDe & | myDe |
| DtEntityCreatePaletteLogic * | myLogic |
| std::map< std::string, QTreeWidgetItem * > | myItems |
| bool | myFavoritesSupported |
A widget class for creating TacticalGraphic objects.
| makVrf::DtTacticalGraphicCreatePalette::DtTacticalGraphicCreatePalette | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Icon to be used in small display.
Reimplemented from makVrf::DtEntityCreatePalette.
|
virtual |
Name to put next to the icon.
Reimplemented from makVrf::DtEntityCreatePalette.