上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: 1 QToolButton的setMenu()为button设置一个菜单,Action是通过QMenu添加的。对于已有的QToolButton,menu()方法返回QMenu对象,QMenu的addAction()方法可以添加QAction 2 可通过设置button透明的方式设置toolbutto 阅读全文
posted @ 2019-08-14 21:59 Truman001 阅读(525) 评论(0) 推荐(0)
摘要: 1 添加头文件#include <QComboBox> 2 常用信号函数 3 常用槽函数 4 使用addItem函数添加不会触发currentIndexChanged信号, 使用InsertItem函数添加会触发currentIndexChanged信号 使用clear函数会触发currentInd 阅读全文
posted @ 2019-08-14 21:44 Truman001 阅读(359) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/wanghuaijun/p/7899141.html 阅读全文
posted @ 2019-08-13 22:26 Truman001 阅读(479) 评论(0) 推荐(0)
摘要: 使用Qtcreater编译 https://www.cnblogs.com/tianmochou/p/6708957.htm 使用VS编译: https://blog.csdn.net/shiwolf/article/details/75050237 Qt生成的oracle动态库: 链接:https 阅读全文
posted @ 2019-07-31 15:40 Truman001 阅读(374) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/yuxiaole/p/9349601.html 阅读全文
posted @ 2019-07-31 10:16 Truman001 阅读(132) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/chuankang/p/8727316.html 阅读全文
posted @ 2019-07-31 10:01 Truman001 阅读(108) 评论(0) 推荐(0)
摘要: 原因:qt开源版本没有提供oracle数据库驱动,需要自己根据源代码来手动编译oracle驱动。 注意:在安装Qt的过程中切记把 src选项勾上,默认是不选的 阅读全文
posted @ 2019-07-31 09:55 Truman001 阅读(319) 评论(0) 推荐(0)
摘要: 1 oracle官网下载oracle11 https://jingyan.baidu.com/article/63f236287d86c70208ab3d08.html 2 安装方法步骤 https://www.cnblogs.com/yuxiaole/p/9339063.html 阅读全文
posted @ 2019-07-31 09:54 Truman001 阅读(253) 评论(0) 推荐(0)
摘要: 1 使最大化按钮失效 setWindowFlags(Qt::WindowCloseButtonHint|Qt::WindowMinimizeButtonHint); 2 初始界面最大化 setWindowState(Qt::WindowMaximized); 阅读全文
posted @ 2019-07-19 11:18 Truman001 阅读(164) 评论(0) 推荐(0)
摘要: 1 动态库的特点 (1)运行时独立存在 (2)不会链接到执行程序 (3)使用时加载(使用动态库,必须使动态库执行) 2 动态库和静态库的比较 (1)由于静态库使将代码嵌入到使用程序中,多个程序使用时,会有多份代码,所以代码体积会增大,动态库的代码只需要存在一份,其他程序通过函数地址使用,所以代码体积 阅读全文
posted @ 2019-07-18 16:28 Truman001 阅读(666) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页