![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
QSS 设置
文章平均质量分 50
排蛊
这个作者很懒,什么都没留下…
展开
-
Qt 中 QLabel 自定义文本的颜色状态,设置为三种状态(类似于Qcheckbutton里面的checked unchecked)
1 自定义设置Qlabel文本颜色状态。 别的类可以进行类推#ifndef QCOMPLEXLABEL_H#define QCOMPLEXLABEL_H#include #include #include class QComplexLabel : public QLabel{ Q_OBJECT Q_PROPERTY(QColor normalColor R原创 2018-01-15 11:11:58 · 4558 阅读 · 0 评论 -
QTableView 样式表 参考
QTableView样式分多个区域整体样式QTableView { color: white; /*表格内文字颜色*/ gridline-color: black; /*表格内框颜色*/ background-color: rgb(10...转载 2020-04-23 16:36:39 · 2420 阅读 · 1 评论 -
Qt 中Qss 的设置 ,QPushbutton QScrollBar(QTableview 包括) QTableView QComboBox
1 QPushButtonQPushButton { } // 一般的属性QPushButton:focus{ }//焦点QPushButton:checked{ }// 按键按下设置属性。 QPushButton #okButton { }// 以okButton为名字的按键属性其中 与 背景图片有关的属性为 background-image(除外边框之外,添加的图片重复在原创 2018-01-15 11:31:08 · 1251 阅读 · 0 评论