用编程改变大众。。。
发布时间:2014-11-13 16:34:07
一. 背景刷成黑色,前景色设为白色。 方法一、paltette方式,经测试,该方法不会影响到其他控件,推荐使用 QPalette bgpal = palette();bgpal.setColor (QPalette::Background, QColor (0, 0 , 0, 255));//bgpal.setColor (QPalette::Background, Qt::transparent);bgpal.setColor (QPalett.........【阅读全文】
发布时间:2014-11-10 10:19:43
Seriously. I don’t know how I ever created a Qt user interface without using stylesheets. This was, by far, the best idea Trolltech ever had.For today’s show-and-tell, I give you a nifty-looking QSlider with some nice gradient style applied to it:The handle has a nice hov.........【阅读全文】