摘要: 两种使用方式 第一种:使用系统自带的颜色 ui.widget_6->MeColor(Qt::yellow); 效果: Qt::yellow Qt::red Qt::blue 第二种:使用RGB QColor background_color; background_color.setRgb(0,10 阅读全文
posted @ 2021-04-08 15:04 老QT了 阅读(734) 评论(0) 推荐(0)
摘要: 两种方法 1.setWindowFlags (Qt::CustomizeWindowHint) 效果: 多了一个可以缩放的的窗口 2.setWindowFlags (Qt::FramelessWindowHint) 效果: 没有缩放的窗口了 阅读全文
posted @ 2021-04-08 14:33 老QT了 阅读(822) 评论(0) 推荐(0)