52 void loadStyleSheet(
const QString &file );
53 void setStyleSheet(
const QString & text );
54 QString themeDir()
const;
55 void registerWidget( QWidget *widget );
56 void unregisterWidget( QWidget *widget );
57 void registerChildWidget( QWidget *parent, QWidget *widget );
58 QString textStyle()
const {
return _textStyle; }
60 bool updateRendering( QWidget *wid );
63 void renderParent( QWidget *wid );
64 QImage getScaled(
const QString name,
const QSize & size );
76 bool eventFilter( QObject * obj, QEvent * ev );
90 QHash<QString,BackgrInfo> _backgrounds;
91 QMap<QWidget*, QList< QWidget* > > _children;
void processUrls(QString &text)
Search and replace some self-defined macros in the style sheet.
QY2Styler(QObject *parent)
Constructor.