Chenwen1126 Qss Save

Qt Style Sheets Library With Custom TitleBar!!!

Project 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:

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:

Open Source Agenda is not affiliated with "Chenwen1126 Qss" Project. README Source: chenwen1126/Qss
Stars
86
Open Issues
1
Last Commit
6 years ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating