itom
4.1.0
|
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< ItomPaletteBase > | m_colorPalettes |
QList< QString > | m_builtInPalettes |
QHash< QString, int > | m_colorPaletteLUT |
ItomPaletteBase | noPalette |
ito::PaletteOrganizer::PaletteOrganizer | ( | ) |
int ito::PaletteOrganizer::getColorBarIndex | ( | const QString & | name, |
bool * | found = NULL |
||
) | const |
shortdesc
longdesc
name | |
found |
ItomPaletteBase ito::PaletteOrganizer::getColorPalette | ( | const int | index | ) | const |
ItomPaletteBase ito::PaletteOrganizer::getColorPalette | ( | const QString & | name, |
bool * | found = NULL |
||
) | const |
QList< QString > ito::PaletteOrganizer::getColorPaletteList | ( | const int | type = ito::tPaletteNoType | ) | const |
shortdesc
longdesc
type |