Issue
I want a light blue color in my application, precicely #99ccff in html color codes. In my application, I have:
palette = QtGui.QPalette()
palette.setColor(QtGui.QPalette.Background, QtCore.Qt.blue)
self.setPalette(palette)
Althought that changes the color to blue, it is not the type of blue that I want.
Solution
Use:
palette.setColor(QtGui.QPalette.Background, QColor("#99ccff"))
Answered By - eyllanesc
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.