Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
StyleLoader () | |
~StyleLoader () | |
bool | hasProperty (const QString &name) |
void | load (const QString &propertyName, bool &value) |
void | load (const QString &propertyName, double &value) |
void | load (const QString &propertyName, int &value) |
void | load (const QString &propertyName, QColor &value) |
void | load (const QString &propertyName, QString &value) |
template<typename T > | |
void | load (const QString &propertyName, T &value) |
template<typename T > | |
T * | loadStyle (const QString &path, const QString &styleName) |
Private Member Functions | |
QString | getProperty (const QString &name) |
void | loadComposite (QBrush &value) |
void | loadComposite (QFont &value) |
void | loadComposite (QLinearGradient &value) |
template<typename T > | |
void | loadComposite (QList< T > &value) |
template<typename F , typename S > | |
void | loadComposite (QPair< F, S > &value) |
void | loadComposite (QPen &value) |
void | loadComposite (QPointF &value) |
void | loadComposite (QRadialGradient &value) |
template<typename T > | |
void | loadComposite (QVector< T > &value) |
template<typename T > | |
void | loadComposite (T &value) |
Private Attributes | |
QList< QString > | nodePath |
StyleNode * | rootStyleNode |
Visualization::StyleLoader::StyleLoader | ( | ) |
Visualization::StyleLoader::~StyleLoader | ( | ) |
|
private |
bool Visualization::StyleLoader::hasProperty | ( | const QString & | name | ) |
void Visualization::StyleLoader::load | ( | const QString & | propertyName, |
bool & | value | ||
) |
void Visualization::StyleLoader::load | ( | const QString & | propertyName, |
double & | value | ||
) |
void Visualization::StyleLoader::load | ( | const QString & | propertyName, |
int & | value | ||
) |
void Visualization::StyleLoader::load | ( | const QString & | propertyName, |
QColor & | value | ||
) |
void Visualization::StyleLoader::load | ( | const QString & | propertyName, |
QString & | value | ||
) |
void Visualization::StyleLoader::load | ( | const QString & | propertyName, |
T & | value | ||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
T * Visualization::StyleLoader::loadStyle | ( | const QString & | path, |
const QString & | styleName | ||
) |
|
private |
|
private |