会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wonderfulday
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
2018年7月4日
qt json操作
摘要: json文件结构形式 { "xiao1": [ { "000100": { "industryCode": "000100", "industryName": "test" } }, { "000101": { "industryCode": "000100", "industryName": "t
阅读全文
posted @ 2018-07-04 17:35 beautifulday
阅读(1075)
评论(0)
推荐(0)
2018年7月3日
qt在tableview中绘制图片
摘要: void ItemModelDeletage::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const { QStyleOptionViewItem viewOption
阅读全文
posted @ 2018-07-03 15:53 beautifulday
阅读(1782)
评论(0)
推荐(0)
qt tableview里面添加控件
摘要: 在QStyledItemDelegate的paint方法里面 void MyItemModelDeletage::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
阅读全文
posted @ 2018-07-03 10:08 beautifulday
阅读(3861)
评论(0)
推荐(0)
2018年6月19日
qt QAbstractItemModel一些方法介绍
摘要: 一。 virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole); 该方法是个虚方法,可用于继承实现 当子类实现的时候,会在什么时候调用呢? 1、比如当tableview
阅读全文
posted @ 2018-06-19 15:08 beautifulday
阅读(1629)
评论(0)
推荐(0)
2018年5月20日
ecahrt表格内容自适应
摘要: window.onresize = myChart.resize;
阅读全文
posted @ 2018-05-20 17:07 beautifulday
阅读(312)
评论(0)
推荐(0)
2018年5月11日
qt tableview列头背景颜色设置
摘要: 设置表列头背景颜色 QHeaderView::section { background: rgb(255, 255, 127); }
阅读全文
posted @ 2018-05-11 16:25 beautifulday
阅读(3335)
评论(0)
推荐(0)
2018年3月5日
qt对plot柱状图颜色设置
摘要: 当使用qwtplotbarchart来使用柱状图时。可以通过下面代码来设置柱状图的颜色 QwtPlotBarChart *barChart = new QwtPlotBarChart("Bar Chart" ); QwtColumnSymbol *symbol = new QwtColumnSymb
阅读全文
posted @ 2018-03-05 15:59 beautifulday
阅读(1578)
评论(0)
推荐(0)
2018年2月2日
qtdebug和release加载不同的文件配置
摘要: win32:CONFIG(release, debug|release): {
阅读全文
posted @ 2018-02-02 10:37 beautifulday
阅读(2870)
评论(0)
推荐(0)
2018年1月23日
c#EntityFrameworkcodeFirst模式
摘要: 一、首先定义数据类 [DataContract(Namespace="http://www.cninnovation.com/Services/2012")] public class RoomReservation : INotifyPropertyChanged { private int id
阅读全文
posted @ 2018-01-23 15:14 beautifulday
阅读(1124)
评论(0)
推荐(0)
2018年1月9日
qt使用QWT注意事项
摘要: 当继承某个QWT类时,有是使用O_OBJECT弘会出现问题 切记在工程文件里别忘了添加这一句 DEFINES+=QWT_DLL
阅读全文
posted @ 2018-01-09 16:13 beautifulday
阅读(360)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
公告