Created
August 30, 2011 03:07
-
-
Save zester/1180077 to your computer and use it in GitHub Desktop.
Howto load an external qt stylesheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QFile file(":/qss/default.qss"); | |
file.open(QFile::ReadOnly); | |
QString styleSheet = QLatin1String(file.readAll()); | |
setStyleSheet(styleSheet); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment