|
libyui-qt
2.43.5
|
Classes | |
| struct | BackgrInfo |
Public Member Functions | |
| void | loadStyleSheet (const QString &file) |
| void | setStyleSheet (const QString &text) |
| QString | themeDir () const |
| void | registerWidget (QWidget *widget) |
| void | unregisterWidget (QWidget *widget) |
| void | registerChildWidget (QWidget *parent, QWidget *widget) |
| QString | textStyle () const |
| bool | updateRendering (QWidget *wid) |
Static Public Member Functions | |
| static QY2Styler * | styler () |
Protected Member Functions | |
| QY2Styler (QObject *parent) | |
| void | renderParent (QWidget *wid) |
| QImage | getScaled (const QString name, const QSize &size) |
| void | processUrls (QString &text) |
| bool | eventFilter (QObject *obj, QEvent *ev) |
Definition at line 36 of file QY2Styler.h.
| QY2Styler::QY2Styler | ( | QObject * | parent | ) | [protected] |
Constructor. Use the static styler() function instead to return the singleton for this class.
Definition at line 53 of file QY2Styler.cc.
| void QY2Styler::processUrls | ( | QString & | text | ) | [protected] |
Search and replace some self-defined macros in the style sheet. Among other things, expands the file name inside url( filename.png ) in the style sheet with the full path.
Definition at line 116 of file QY2Styler.cc.