libyui-qt
 
Loading...
Searching...
No Matches
QY2StyleSheetSelector Class Reference

#include <QY2StyleSheetSelector.h>

Inheritance diagram for QY2StyleSheetSelector:
Collaboration diagram for QY2StyleSheetSelector:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ QY2StyleSheetSelector()

QY2StyleSheetSelector::QY2StyleSheetSelector ( QWidget * parent = 0)

Constructor.

◆ ~QY2StyleSheetSelector()

QY2StyleSheetSelector::~QY2StyleSheetSelector ( )
virtual

Destructor.

Member Function Documentation

◆ applySelectedStyle

void QY2StyleSheetSelector::applySelectedStyle ( )
slot

Apply the currently selected style.

◆ resetToDefault

void QY2StyleSheetSelector::resetToDefault ( )
slot

Reset the dialog to default, i.e. reload the default style.


The documentation for this class was generated from the following files: