VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Properties
makVrf::DtQtPaletteInformationManager Class Reference

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.

Inheritance diagram for makVrf::DtQtPaletteInformationManager:
Inheritance graph
[legend]

Public Member Functions

 DtQtPaletteInformationManager (makVrv::DtDe &)
 
virtual ~DtQtPaletteInformationManager ()
 
virtual int forceButtonWidth () const
 
virtual int topLevelTagIconWidth () const
 
virtual int topLevelTagIconHeight () const
 
virtual QSize topLevelTagIconSize () const
 
virtual void setClearTagsButtonWidth (int)
 
virtual int clearTagsButtonWidth () const
 
virtual int tagButtonHeight () const
 
virtual QSize tagButtonSize () const
 
virtual int tagLargeButtonHeight () const
 
virtual QSize tagLargeButtonSize () const
 
virtual QSize clearTagsButtonSize () const
 
virtual void manageClearButton (QToolButton *)
 
- Public Member Functions inherited from makVrf::DtPaletteInformationManager
 DtPaletteInformationManager (makVrv::DtDe &)
 
virtual ~DtPaletteInformationManager ()
 
virtual int numberOfTagLines () const
 
virtual void setNumberOfTagLines (int)
 
virtual void setShowTopCategories (int)
 
virtual int showTopCategories () const
 
virtual void setShowFavoritesCategory (bool)
 
virtual bool showFavoritesCategory () const
 
virtual void setShowAllCategory (bool)
 
virtual bool showAllCategory () const
 
virtual void setShowRecentCategory (bool)
 
virtual bool showRecentCategory () const
 
virtual void loadDefaults (bool fromFactory=false)
 
virtual void saveAsDefaults ()
 
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)
 
virtual void addRecords (DtPaletteInformationSettingsRecord &recs, DtPaletteInformationSettingsRecord &combinedRec)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static
DtQtPaletteInformationManager
instance (makVrv::DtDe &de)
 
- Static Public Member Functions inherited from makVrf::DtPaletteInformationManager
static
DtPaletteInformationManager
instance (makVrv::DtDe &de)
 
static void registerInstance (makVrv::DtDe &, DtPaletteInformationManager *)
 

Protected Types

typedef std::set< QPointer
< QToolButton > > 
ClearButtons
 

Protected Member Functions

virtual void setupClearButtons ()
 

Protected Attributes

int myForceButtonWidth
 
int myTagLevelTagIconWidth
 
int myClearTagsButtonWidth
 
int myTagButtonHeight
 
int myLargeTagButtonHeight
 
ClearButtons myClearButtons
 
makVrv::DtSignalConnectionManager myConnections
 
- Protected Attributes inherited from makVrf::DtPaletteInformationManager
makVrv::DtDemyDe
 
DtPaletteInformationSettingsRecord myRecord
 

Properties

int ForceButtonWidth
 
int TagLevelTagIconWidth
 
int ClearTagsButtonWidth
 
int TagButtonHeight
 
int LargeTagButtonHeight
 

Member Typedef Documentation

typedef std::set<QPointer<QToolButton> > makVrf::DtQtPaletteInformationManager::ClearButtons
protected

Constructor & Destructor Documentation

makVrf::DtQtPaletteInformationManager::DtQtPaletteInformationManager ( makVrv::DtDe )
virtual makVrf::DtQtPaletteInformationManager::~DtQtPaletteInformationManager ( )
virtual

Member Function Documentation

static DtQtPaletteInformationManager& makVrf::DtQtPaletteInformationManager::instance ( makVrv::DtDe de)
static

Returns instance of the messager.

virtual int makVrf::DtQtPaletteInformationManager::forceButtonWidth ( ) const
virtual

Accessor for force button width (and height). Default is 20.

virtual int makVrf::DtQtPaletteInformationManager::topLevelTagIconWidth ( ) const
virtual

Sets the tag button width (which will effect size and height). Default is 24.

virtual int makVrf::DtQtPaletteInformationManager::topLevelTagIconHeight ( ) const
virtual
virtual QSize makVrf::DtQtPaletteInformationManager::topLevelTagIconSize ( ) const
virtual

Size of tag button. Based on tag button width. Default is 20.

virtual void makVrf::DtQtPaletteInformationManager::setClearTagsButtonWidth ( int  )
virtual

Width of the clear button used to clear tags. Default is 24.

virtual int makVrf::DtQtPaletteInformationManager::clearTagsButtonWidth ( ) const
virtual
virtual int makVrf::DtQtPaletteInformationManager::tagButtonHeight ( ) const
virtual

Height of the text used to contain the tags. Default is 24.

virtual QSize makVrf::DtQtPaletteInformationManager::tagButtonSize ( ) const
virtual
virtual int makVrf::DtQtPaletteInformationManager::tagLargeButtonHeight ( ) const
virtual

If showing large buttons on the command panel, the size to show.

virtual QSize makVrf::DtQtPaletteInformationManager::tagLargeButtonSize ( ) const
virtual
virtual QSize makVrf::DtQtPaletteInformationManager::clearTagsButtonSize ( ) const
virtual

Size of the clear button. This is the clear button width - 2 to give a buffer for the frame.

virtual void makVrf::DtQtPaletteInformationManager::manageClearButton ( QToolButton )
virtual

Manages clear buttons such that if the style changes the size will change accordingly.

virtual void makVrf::DtQtPaletteInformationManager::setupClearButtons ( )
protectedvirtual

Member Data Documentation

int makVrf::DtQtPaletteInformationManager::myForceButtonWidth
protected
int makVrf::DtQtPaletteInformationManager::myTagLevelTagIconWidth
protected
int makVrf::DtQtPaletteInformationManager::myClearTagsButtonWidth
protected
int makVrf::DtQtPaletteInformationManager::myTagButtonHeight
protected
int makVrf::DtQtPaletteInformationManager::myLargeTagButtonHeight
protected
ClearButtons makVrf::DtQtPaletteInformationManager::myClearButtons
protected
makVrv::DtSignalConnectionManager makVrf::DtQtPaletteInformationManager::myConnections
protected

Property Documentation

int makVrf::DtQtPaletteInformationManager::ForceButtonWidth
int makVrf::DtQtPaletteInformationManager::TagLevelTagIconWidth
int makVrf::DtQtPaletteInformationManager::ClearTagsButtonWidth
readwrite
int makVrf::DtQtPaletteInformationManager::TagButtonHeight
int makVrf::DtQtPaletteInformationManager::LargeTagButtonHeight

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)