小凡慢慢学
慢慢学,更有趣
摘要: QPushButton {border-image: url(:/OtherButton/images/otherbutton/left.png);}QPushButton:hover {border-image: url(:/OtherButton/images/otherbutton/yleft... 阅读全文
posted @ 2015-11-03 19:20 小凡慢慢学 阅读(2667) 评论(0) 推荐(0) 编辑
摘要: void func(void); // dll库中的函数 typedef void (*PFUNC)(void);方法一: HMODULE g_hAPIDLL = NULL; wchar_t tcDLLPath[100] = L"D:\\name.dll"; g_hAPID... 阅读全文
posted @ 2015-10-19 09:34 小凡慢慢学 阅读(201) 评论(0) 推荐(0) 编辑
摘要: QLabel支持html,所以可以用以下代码设置行QLabel中text的行间距:1 QString text;2 text.append("").append( tr("房间号:")).append(m_roomId).append("")3 .append("").app... 阅读全文
posted @ 2015-05-05 10:22 小凡慢慢学 阅读(4399) 评论(0) 推荐(0) 编辑
摘要: 32bit lib in 64bit Ubuntu 阅读全文
posted @ 2015-04-21 10:11 小凡慢慢学 阅读(226) 评论(0) 推荐(0) 编辑
摘要: // QGraphicsBlurEffect *effect = new QGraphicsBlurEffect(this);// effect->setBlurRadius(3.5); QGraphicsDropShadowEffect *shadowEffect = new Q... 阅读全文
posted @ 2015-03-23 16:09 小凡慢慢学 阅读(914) 评论(0) 推荐(0) 编辑
摘要: 查看运行程序需要哪些动态库(即库的依赖关系): ldd查看文件夹大小: du du-h--max-depth=1/usr 阅读全文
posted @ 2015-03-11 10:20 小凡慢慢学 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Copy From: http://linuxconfig.org/how-to-configure-nfs-on-linuxHow to configure NFS on Linux1.IntroductionThe Network File System is certainly one of ... 阅读全文
posted @ 2015-01-28 11:10 小凡慢慢学 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1.wsdl2h -t ../gsoap/gsoap-2.8.17/gsoap/typemap.dat -o onvif.h http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl http://www.onvif.org/onvif... 阅读全文
posted @ 2015-01-09 14:26 小凡慢慢学 阅读(1081) 评论(0) 推荐(0) 编辑
摘要: 简单说明 乱码原因QURL的2次连续编码修改方式:QUrl encode(const QString& istr){ QByteArray data; data.append(istr); return QUrl::fromEncoded(data);}from:http://www.c... 阅读全文
posted @ 2015-01-07 19:28 小凡慢慢学 阅读(661) 评论(0) 推荐(0) 编辑
摘要: 效果图: 1 ui->tableWidget->setColumnCount(3); 2 ui->tableWidget->verticalHeader()->hide(); 3 ui->tableWidget->horizontalHeader()->setSectionR... 阅读全文
posted @ 2015-01-07 15:10 小凡慢慢学 阅读(5973) 评论(0) 推荐(0) 编辑