![]() |
VR-Forces Developer's Guide
|
The icon lists manager is a simple manager that will maintain the current icon lists that can be shown and the current default icon list.
Public Member Functions | |
| DtIconListsManager (makVrv::DtDe &) | |
| virtual | ~DtIconListsManager () override |
| virtual void | clear () |
| virtual void | addIconList (const DtString &) |
| virtual void | removeIconList (const DtString &) |
| virtual bool | hasIconList (const DtString &) const |
| const std::set< DtString > & | iconLists () const |
| virtual DtFilename | imageFileForModelDefinition (const std::string &definition) const |
| virtual void | setDefaultIconList (const DtString &) |
| virtual DtString | defaultIconList () const |
| virtual void | setShowForceColor (bool) |
| virtual bool | showForceColor () const |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtIconListsManager & | instance (makVrv::DtDe &de) |
| static void | registerInstance (makVrv::DtDe &, DtIconListsManager *) |
Public Attributes | |
| boost::signals2::signal< void(const std::set< DtString > &)> | signal_iconListsChanged |
Protected Attributes | |
| std::set< DtString > | myIconLists |
| makVrv::DtDe & | myDe |
| makVrf::DtIconListsManager::DtIconListsManager | ( | makVrv::DtDe & | ) |
CTOR.
|
overridevirtual |
DTOR.
|
static |
Returns instance of the manager.
|
static |
Register a new manager instance.
|
virtual |
Clears out icon lists and sends signal with empty list.
|
virtual |
Adds a new icon list.
|
virtual |
Removes the icon list. This will not change the current default icon list.
Returns true if the icon list exists.
|
inline |
The icon lists.
|
virtual |
Accessor for the current default icon list. If the list is different when the DtVrfExtendedApplicaitonSettings will emit that changed signal.
|
virtual |
Accessor for the current default icon list. If the list is different when the DtVrfExtendedApplicaitonSettings will emit that changed signal.
|
virtual |
Accessor for showing force color. If the force color is different when the DtVrfExtendedApplicaitonSettings will emit that changed signal.
|
virtual |
Accessor for showing force color. If the force color is different when the DtVrfExtendedApplicaitonSettings will emit that changed signal.
|
virtual |
Looks for model definition and image file in that model definition. If the file does not exist will look in /images/<image file>="">, /symbols/bmp/<image file and then /symbols/Icons/<Dark or="" light="" mode>="">
| boost::signals2::signal<void (const std::set<DtString>&)> makVrf::DtIconListsManager::signal_iconListsChanged |
|
protected |
|
protected |