- 博客(2)
- 收藏
- 关注
原创 qobject_cast 的一点感悟
T qobject_cast ( QObject * object )Returns the given object cast to type T if the object is of type T (or of a subclass); otherwise returns
2011-07-14 14:04:49
2704
3
转载 qt 窗口圆角问题
<br />最近在用qss做界面美化的工作,发现一个问题就是qss不能对顶级窗口设置边角圆弧,于是得另辟蹊径。据网上搜索可得到的方法我实现了三种:<br />1.<br /> setWindowFlags(Qt::FramelessWindowHint); QBitmap bmp(this->size()); bmp.fill(); QPainter p(&bmp);// p.setPen(Qt::NoPen);// p.setBrush(Qt::bl
2011-04-11 14:20:00
8326
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人