lxg

导航

 

2021年1月19日

摘要: 引自:https://blog.csdn.net/ninglu1989/article/details/82425595 一、编译boost源码为静态库 1>将你的Qt的工具目录(有g++.exe)设置环境变量。(我的是 F:\Qt592\Tools\mingw530_32\bin,要依据实际情况) 阅读全文
posted @ 2021-01-19 12:14 lxg_7105 阅读(271) 评论(0) 推荐(0) 编辑
 
摘要: #ifndef ICONNECT_H#define ICONNECT_H #include <QtCore/qglobal.h>#if defined(MYDLL_LIBRARY)# define MYDLL_EXPORT Q_DECL_EXPORT#else# define MYDLL_EXPOR 阅读全文
posted @ 2021-01-19 10:37 lxg_7105 阅读(797) 评论(0) 推荐(0) 编辑
 

2021年1月1日

摘要: #ifndef CONCURRENTTASKMGR_H#define CONCURRENTTASKMGR_H #include <QObject>#include <QVariant>#include <QReadWriteLock>#include <QFutureWatcher> class C 阅读全文
posted @ 2021-01-01 14:08 lxg_7105 阅读(1245) 评论(0) 推荐(1) 编辑
 

2020年12月24日

摘要: 引自:https://blog.csdn.net/SuperYang_/article/details/79041345 引自:https://blog.csdn.net/gx864102252/article/details/80739885?utm_medium=distribute.pc_re 阅读全文
posted @ 2020-12-24 17:57 lxg_7105 阅读(328) 评论(0) 推荐(0) 编辑
 
摘要: 引自:https://blog.csdn.net/u010168781/article/details/89681674 引自:https://blog.csdn.net/sksukai/article/details/107325930 思路一.设置环境变量 export QT_DEBUG_PLU 阅读全文
posted @ 2020-12-24 09:35 lxg_7105 阅读(20218) 评论(0) 推荐(0) 编辑
 

2020年12月18日

摘要: class IParser{public: virtual ~IParser(){} virtual void parse() = 0;}; class Parser1 : public IParser{public: Parser1() { cout<<"Parser1"<<endl; } ~Pa 阅读全文
posted @ 2020-12-18 17:55 lxg_7105 阅读(663) 评论(0) 推荐(0) 编辑
 

2020年12月16日

摘要: 效果图: //初始化void SetAttrListDlg::init(){ m_pLeftStandardItemModel = new QStandardItemModel(); m_pRightStandardItemModel = new QStandardItemModel(); ui-> 阅读全文
posted @ 2020-12-16 14:47 lxg_7105 阅读(1151) 评论(0) 推荐(0) 编辑
 

2020年12月11日

摘要: //https://www.cnblogs.com/MenAngel/p/11552588.html /*psClient.xml<psClient> <ServerNameList select="196.168.65.187"> <ServerName>196.168.65.187</Serve 阅读全文
posted @ 2020-12-11 14:10 lxg_7105 阅读(295) 评论(0) 推荐(0) 编辑
 

2020年12月2日

摘要: 不使用QComboBox的setModel(),setView();点击有问题 使用QToolButton,代码如下: QToolButton* pToolbutton = new QToolButton(this); pToolbutton->setPopupMode(QToolButton::I 阅读全文
posted @ 2020-12-02 17:24 lxg_7105 阅读(1286) 评论(0) 推荐(0) 编辑
 

2020年11月30日

摘要: #ifndef CARRAYMODEL_H #define CARRAYMODEL_H #include <QAbstractItemModel> #include <QStyledItemDelegate> #include <QItemDelegate> #include <vector> #i 阅读全文
posted @ 2020-11-30 17:21 lxg_7105 阅读(2193) 评论(0) 推荐(0) 编辑