# Qss
**Repository Path**: wwzggz/Qss
## Basic Information
- **Project Name**: Qss
- **Description**: Qt Style Sheets Library With Custom TitleBar!!!
- **Primary Language**: Unknown
- **License**: GPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2020-05-16
- **Last Updated**: 2022-12-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Qss
Qt Style Sheets Example With Custom Title Bar!!!
# How to use
step 1: add Qss.h,Qss.cpp,qss.qrc to your project.
step 2: add code like this:
```C++
QFile file(":/qss/css/qss.css");
if (!file.open(QIODevice::ReadOnly))
exit(0);
QTextStream in(&file);
QString css = in.readAll();
qApp->setStyleSheet(css);
```
to you main function.
step3: your UI class inherit from QssDialog, QssMainWindow provided by Qss.
# Screenshot
QssDemo Screenshot like this:
