QtStyler is a QObject
class to style QtWidgets.
See QtShowcase for an example and screenshots.
To use QtStyler
in your application simply clone this repository to your applications root folder.
cd YourApplication
git clone https://github.com/chrizbee/QtStyler
Additionally the project needs to be included from YourApplication.pro
.
include(QtStyler/qtstyler.pri)
The easiest way to use QtStyler
is with a QComboBox
.
QtStyler *styler = new QtStyler(this);
QComboBox *combo = new QComboBox(this);
combo->addItems(styler->availableStyles());
combo->setCurrentText(styler->currentStyle());
connect(combo, &QComboBox::currentTextChanged, styler, &QtStyler::setStyle);
connect(styler, &QtStyler::styleChanged, combo, &QComboBox::setCurrentText);
- Qt5 - The UI framework used
We use SemVer for versioning.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.