itom  4.1.0
ito::PaletteOrganizer Class Reference
Inheritance diagram for ito::PaletteOrganizer:

Public Slots

ito::RetVal setColorBarThreaded (QString name, ito::ItomPaletteBase newPalette, ItomSharedSemaphore *waitCond=NULL)
 
ito::RetVal getColorBarThreaded (QString name, QSharedPointer< ito::ItomPaletteBase > palette, ItomSharedSemaphore *waitCond=NULL)
 
ito::RetVal getColorBarListThreaded (QSharedPointer< QStringList > palettes, ItomSharedSemaphore *waitCond=NULL)
 

Public Member Functions

 PaletteOrganizer ()
 shortdesc More...
 
ito::RetVal saveColorPaletteToSettings (const ItomPaletteBase &palette, QSettings &settings) const
 
ito::RetVal loadColorPaletteFromSettings (const QString &paletteName, ItomPaletteBase &palette, QSettings &settings) const
 
ItomPaletteBase getColorPalette (const int index) const
 shortdesc More...
 
ItomPaletteBase getColorPalette (const QString &name, bool *found=NULL) const
 shortdesc More...
 
int getColorBarIndex (const QString &name, bool *found=NULL) const
 shortdesc More...
 
QList< QString > getColorPaletteList (const int type=ito::tPaletteNoType) const
 shortdesc More...
 
QList< QString > getBuiltInPaletteNames () const
 
int numberOfColorPalettes () const
 
bool removeColorPalette (const int index)
 

Private Member Functions

void calcColorPaletteLut ()
 

Private Attributes

QList< QString > m_restrictedKeyWords
 
QList< ItomPaletteBasem_colorPalettes
 
QList< QString > m_builtInPalettes
 
QHash< QString, int > m_colorPaletteLUT
 
ItomPaletteBase noPalette
 

Constructor & Destructor Documentation

ito::PaletteOrganizer::PaletteOrganizer ( )

shortdesc

longdesc

Returns
PaletteOrganizer

Member Function Documentation

int ito::PaletteOrganizer::getColorBarIndex ( const QString &  name,
bool *  found = NULL 
) const

shortdesc

longdesc

Parameters
name
found
Returns
int
ItomPaletteBase ito::PaletteOrganizer::getColorPalette ( const int  index) const

shortdesc

longdesc

Parameters
index
Returns
ItomPaletteBase
ItomPaletteBase ito::PaletteOrganizer::getColorPalette ( const QString &  name,
bool *  found = NULL 
) const

shortdesc

longdesc

Parameters
name
found
Returns
ItomPaletteBase
QList< QString > ito::PaletteOrganizer::getColorPaletteList ( const int  type = ito::tPaletteNoType) const

shortdesc

longdesc

Parameters
type
Returns
QList<QString>

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