Last active
July 29, 2019 03:10
-
-
Save jniemann66/fd43a927001e7364a5a855fda1a89b7c to your computer and use it in GitHub Desktop.
Qt getting standard Qt icons as QPixmaps
This file contains hidden or 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
statusIndicator->setPixmap(style()->standardPixmap(QStyle::SP_DialogOkButton)); | |
// see https://doc.qt.io/qt-5/qstyle.html#StandardPixmap-enum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://doc.qt.io/qt-5/qstyle.html#StandardPixmap-enum