查看完整版本: [--
如何使窗口背景颜色半黑半白
--]
QTCN开发网
->
Qt基础编程
->
如何使窗口背景颜色半黑半白
[打印本页]
登录
->
注册
->
回复主题
->
发表主题
zx12345
2021-03-02 15:33
如何使窗口背景颜色半黑半白
如题
yanhuaw
2021-03-03 08:23
做个半黑半白背景图片不行吗
yangbaolin
2021-03-03 13:21
也可以通过QSS设置,
QLabel#label{
background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,
stop:0 red,stop:1 green);
}
查看完整版本: [--
如何使窗口背景颜色半黑半白
--] [--
top
--]
Powered by
phpwind
v8.7
Code ©2003-2011
phpwind
Gzip disabled