会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
辉常的D调
2014年8月6日
QTableWidget中添加按钮
摘要: 添加按钮void QTableWidget::setCellWidget ( int row, int column, QWidget * widget )widget可以是自己定义的按钮class MyPushButton : public QPushButton{ Q_OBJECTpubl...
阅读全文
posted @ 2014-08-06 20:04 辉常的D调
阅读(9554)
评论(0)
推荐(0)
QTreeWidget中的复选框使用
摘要: 在树形结构中有时候需要在每项前添加复选框,能够进行勾选,复选框的添加可以使用tree本身的属性就行 void QTreeWidgetItem::setCheckState ( int column, Qt::CheckState state )Sets the item in the given c...
阅读全文
posted @ 2014-08-06 12:12 辉常的D调
阅读(10987)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告