Skip to content
/ Qss Public
forked from chenwen1126/Qss

Qt Style Sheets Library With Custom TitleBar!!!

License

Notifications You must be signed in to change notification settings

iDLE1992/Qss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

Qt Style Sheets Library With Custom TitleBar!!!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.5%
  • QMake 0.5%