libyui-qt  2.43.5
QY2Styler Class Reference

List of all members.

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 QY2Stylerstyler ()

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)

Detailed Description

Definition at line 36 of file QY2Styler.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables