ColorSetManager Class Reference
#include <colorsetmanager.h>
Public Member Functions | |
| ColorSetManager () | |
| ~ColorSetManager () | |
| void | initialiseDefaultPrefs (struct ApplicationPrefs &appPrefs) |
| void | findPaletteLocations () |
| void | findPalettes () |
| QStringList | paletteNames () |
| QString | paletteFileFromName (const QString &paletteName) |
Protected Attributes | |
| QStringList | paletteLocations |
| QMap< QString, QString > | palettes |
Detailed Description
Definition at line 22 of file colorsetmanager.h.
Constructor & Destructor Documentation
| ColorSetManager::ColorSetManager | ( | ) |
Definition at line 22 of file colorsetmanager.cpp.
| ColorSetManager::~ColorSetManager | ( | ) |
Definition at line 26 of file colorsetmanager.cpp.
Member Function Documentation
| void ColorSetManager::initialiseDefaultPrefs | ( | struct ApplicationPrefs & | appPrefs | ) |
Definition at line 30 of file colorsetmanager.cpp.
References ApplicationPrefs::DColors, ApplicationPrefs::DColorSet, ScColor::fromQColor(), ScPaths::instance(), ScPaths::libDir(), loadRawText(), CommonStrings::None, ScColor::setColorRGB(), ScColor::setNamedColor(), ScColor::setRegistrationColor(), and ScColor::setSpotColor().
Referenced by PrefsManager::initDefaults().
| void ColorSetManager::findPaletteLocations | ( | ) |
Definition at line 112 of file colorsetmanager.cpp.
References ScPaths::getSystemCreateSwatchesDirs(), ScPaths::instance(), ScPaths::libDir(), and paletteLocations.
Referenced by CMYKChoose::CMYKChoose(), ColorManager::ColorManager(), and PrefsManager::initDefaults().
| void ColorSetManager::findPalettes | ( | ) |
Definition at line 125 of file colorsetmanager.cpp.
References paletteLocations, and palettes.
Referenced by CMYKChoose::CMYKChoose(), ColorManager::ColorManager(), and PrefsManager::initDefaults().
| QStringList ColorSetManager::paletteNames | ( | ) |
Definition at line 144 of file colorsetmanager.cpp.
References palettes.
Referenced by CMYKChoose::CMYKChoose(), and ColorManager::ColorManager().
| QString ColorSetManager::paletteFileFromName | ( | const QString & | paletteName | ) |
Definition at line 152 of file colorsetmanager.cpp.
References palettes.
Referenced by ColorManager::loadDefaults(), and CMYKChoose::SelSwatch().
Member Data Documentation
QStringList ColorSetManager::paletteLocations [protected] |
Definition at line 35 of file colorsetmanager.h.
Referenced by findPaletteLocations(), and findPalettes().
QMap<QString, QString> ColorSetManager::palettes [protected] |
Definition at line 36 of file colorsetmanager.h.
Referenced by findPalettes(), paletteFileFromName(), and paletteNames().
The documentation for this class was generated from the following files:
