libyui-qt
|
#include <QY2StyleSheetSelector.h>
Public Slots | |
void | resetToDefault () |
void | applySelectedStyle () |
Public Member Functions | |
QY2StyleSheetSelector (QWidget *parent=0) | |
virtual | ~QY2StyleSheetSelector () |
Protected Member Functions | |
void | initWidgets () |
void | populate () |
Protected Attributes | |
Ui_QY2StyleSheetSelector * | _ui |
This is a dialog that lets the user select a different .qss widget style sheet on the fly from all the .qss files in the theme directory.
Upon selecting a style sheet from the list, it is applied instantly. But there is a "Reset to Defaults" button.
QY2StyleSheetSelector::QY2StyleSheetSelector | ( | QWidget * | parent = 0 | ) |
Constructor.
|
virtual |
Destructor.
|
slot |
Apply the currently selected style.
|
slot |
Reset the dialog to default, i.e. reload the default style.