上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: QProcess p(NULL); p.setWorkingDirectory(szAppPath+"/database"); //指定工作路径,这个地方一定要设置; p.start(szCmd); //开进程执行命令; while(p.state() != QProcess::NotRunning... 阅读全文
posted @ 2019-04-10 14:36 时光旅者 阅读(3214) 评论(1) 推荐(0)
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #include #define UEVENT_BUFFER_SIZE 2048 static int init_hotplug_sock() { co... 阅读全文
posted @ 2019-04-04 16:12 时光旅者 阅读(1668) 评论(0) 推荐(0)
摘要: Qt提供了QAbstractNativeEventFilter来实现本地时间得过滤,通过对本地事件的检测,判断usb热插拔;(这里是windows 的例子); 首先,以QWidget, QAbstractNativeEventFilter为基类建立子类,重定义nativeEventFilter: 譬 阅读全文
posted @ 2019-04-04 16:04 时光旅者 阅读(6820) 评论(0) 推荐(0)
摘要: 我们知道模板函数或模板类的定义一般都是和声明一起在头文件中,但是这样的话, 就暴露了内部实现,有什么办法能够将定义和声明进行分离呢? 答案是: 有的; 阅读全文
posted @ 2019-03-27 17:24 时光旅者 阅读(2057) 评论(0) 推荐(0)
摘要: Time owner search 阅读全文
posted @ 2019-03-24 20:55 时光旅者 阅读(446) 评论(0) 推荐(0)
摘要: css: 阅读全文
posted @ 2019-03-24 20:51 时光旅者 阅读(904) 评论(0) 推荐(0)
摘要: bootstrap库能够很方便的实现PC和移动上的响应式操作。 jQuery库大大的简化了脚本的开发; html: css: jQuery: 阅读全文
posted @ 2019-03-17 11:13 时光旅者 阅读(905) 评论(0) 推荐(0)
摘要: QT的数据库操作有两种方式: 一) 使用QsqlTableModel类, 可以配合QTableView进行界面显示并进行数据库操作, 这种方法比较方便快捷; 二) 使用原始SQL语言, 利用INSERT, UPDATE, SELECT, DELETE实现插入,更新,查询,删除功能; 1) QSqlT 阅读全文
posted @ 2019-02-22 16:13 时光旅者 阅读(1220) 评论(0) 推荐(0)
摘要: 1、 mysql 数据库; 转载: https://www.cnblogs.com/fuqia/p/8994080.html mysql安装成功后可以看到已经存在mysql、information_schema和test这个几个数据库。 information_schema库中有一个名为COLUMN 阅读全文
posted @ 2019-02-19 17:52 时光旅者 阅读(5993) 评论(0) 推荐(0)
摘要: 1、使用时间耗损循环; 2、QTimer定时; 阅读全文
posted @ 2019-02-18 14:56 时光旅者 阅读(1863) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 13 下一页