![]() |
VR-Forces 4.6.1 Class Documentation
|
The DtPaletteInformationManager is a class that is used to initially setup the palette for display. More...

Public Member Functions | |
| DtPaletteInformationManager (makVrv::DtDe &) | |
| virtual | ~DtPaletteInformationManager () |
| virtual int | forceButtonWidth () const |
| Accessor for force button width (and height). Default is 20. | |
| virtual void | setForceButtonWidth (int) |
| virtual QSize | topLevelTagIconSize () const |
| Size of tag button. Based on tag button width. Default is 20. | |
| virtual void | setTopLevelTagIconWidth (int) |
| Sets the tag button width (which will effect size and height). Default is 24. | |
| virtual int | topLevelTagIconWidth () const |
| virtual int | topLevelTagIconHeight () const |
| virtual void | setClearTagsButtonWidth (int) |
| Width of the clear button used to clear tags. Default is 24. | |
| virtual int | clearTagsButtonWidth () const |
| virtual void | setTagButtonHeight (int) |
| Height of the text used to contain the tags. Default is 24. | |
| virtual int | tagButtonHeight () const |
| virtual QSize | clearTagsButtonSize () const |
| Size of the clear button. This is the clear button width - 2 to give a buffer for the frame. | |
| virtual int | numberOfTagLines () const |
| Number of tag lines to show. This will include the top level tag category icon line. Minimum is one, default is 3. | |
| virtual void | setNumberOfTagLines (int) |
| virtual void | setShowTopCategories (int) |
| Number of categories in total that can be shown (except for top level) | |
| virtual int | showTopCategories () const |
| virtual void | setShowFavoritesCategory (bool) |
| Whether or not to show the favorites category star on the top line. Default is true. | |
| virtual bool | showFavoritesCategory () const |
| virtual void | setShowAllCategory (bool) |
| Whether or not to show the all category on the top line. Default is true. | |
| virtual bool | showAllCategory () const |
| virtual void | setShowRecentCategory (bool) |
| Whether or not to show the recent category on the top line. Default is true. | |
| virtual bool | showRecentCategory () const |
| virtual void | setNoBorderStylesheet (const std::string &) |
| Stylesheet for button with no border. | |
| virtual const std::string & | noBorderStylesheet () const |
| void | setBorderStylesheet (const std::string &) |
| Stylesheet for button with border. | |
| const std::string & | borderStylesheet () const |
| virtual void | setBorderStickyStylesheet (const std::string &) |
| Stylesheet for stick button with border. | |
| virtual const std::string & | borderStickyStylesheet () const |
| virtual void | setNoBorderStickyStylesheet (const std::string &) |
| Stylesheet for no border sticky button. | |
| virtual const std::string & | noBorderStickyStylesheet () const |
| virtual void | loadDefaults (bool fromFactory=false) |
| Loads default or factory record. | |
| virtual void | saveAsDefaults () |
| Saves record as default record. | |
| virtual void | setAutoSave (bool b) |
| bool | autoSave () const |
| virtual void | getRecord (DtPaletteInformationSettingsRecord &rec) const |
| virtual void | setFromRecord (const DtPaletteInformationSettingsRecord &rec) |
| virtual void | getSplitRecord (std::vector< DtPaletteInformationSettingsRecord > &rec, std::vector< std::string > &fileNames) |
| To support writing element definitions in folders as multiple files not implemented. | |
| virtual void | addRecords (DtPaletteInformationSettingsRecord &recs, DtPaletteInformationSettingsRecord &combinedRec) |
| To support writing element definitions in folders as multiple files not implemented. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtPaletteInformationManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
| static void | registerInstance (makVrv::DtDe &, DtPaletteInformationManager *) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtPaletteInformationSettingsRecord | myRecord |
The DtPaletteInformationManager is a class that is used to initially setup the palette for display.
Any information here must be set before the palette is displayed. Any changes made after the palette has been displayed will only be taken into account on the next start of the front-end
| makVrf::DtPaletteInformationManager::DtPaletteInformationManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
Accessor for force button width (and height). Default is 20.
|
virtual |
|
virtual |
Size of tag button. Based on tag button width. Default is 20.
|
virtual |
Sets the tag button width (which will effect size and height). Default is 24.
|
virtual |
|
virtual |
|
virtual |
Width of the clear button used to clear tags. Default is 24.
|
virtual |
|
virtual |
Height of the text used to contain the tags. Default is 24.
|
virtual |
|
virtual |
Size of the clear button. This is the clear button width - 2 to give a buffer for the frame.
|
virtual |
Number of tag lines to show. This will include the top level tag category icon line. Minimum is one, default is 3.
|
virtual |
|
virtual |
Number of categories in total that can be shown (except for top level)
|
virtual |
|
virtual |
Whether or not to show the favorites category star on the top line. Default is true.
|
virtual |
|
virtual |
Whether or not to show the all category on the top line. Default is true.
|
virtual |
|
virtual |
Whether or not to show the recent category on the top line. Default is true.
|
virtual |
|
virtual |
Stylesheet for button with no border.
Default is: QToolButton:!hover { background-color: palette(button); border: 0px solid #8f8f91; }
|
virtual |
| void makVrf::DtPaletteInformationManager::setBorderStylesheet | ( | const std::string & | ) |
Stylesheet for button with border.
Default is: QToolButton:!hover QToolButton { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #f0f0f0, stop: 1.0 #f0f0f0); border: 2px solid #8f8f91; }
| const std::string& makVrf::DtPaletteInformationManager::borderStylesheet | ( | ) | const |
|
virtual |
Stylesheet for stick button with border.
Default is: QToolButton { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #ff0000, stop: 1.0 #ff0000); border: 2px solid #8f8f91; }
|
virtual |
|
virtual |
Stylesheet for no border sticky button.
Default is: QToolButton { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #ff0000, stop: 1.0 #ff0000); border: 0px solid #8f8f91; }
|
virtual |
|
virtual |
Loads default or factory record.
|
virtual |
Saves record as default record.
|
virtual |
| bool makVrf::DtPaletteInformationManager::autoSave | ( | ) | const |
|
virtual |
|
virtual |
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
protected |
|
protected |