摘要:
一. 背景設定為成黑色,前景色設為白色。 方法一、paltette方式,經測試,該方法不會影響到其他控制元件,建議使用 QPalette bgpal = palette();bgpal.setColor (QPalette::Background, QColor (0, 0 , 0, 255));//bgpal.setColor (QPalette::Background, Qt::transparent);bgpal.setColor (QPalette::Foreground, QColor (255,255,255,255)); setPalette (bgpal);方法二、styles 阅读全文
posted @ 2014-03-12 16:39
江召伟
阅读(2379)
评论(0)
推荐(0)