摘要: https://blog.csdn.net/qq_31073871/article/details/83117430 阅读全文
posted @ 2019-08-14 22:38 Truman001 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1 QToolButton的setMenu()为button设置一个菜单,Action是通过QMenu添加的。对于已有的QToolButton,menu()方法返回QMenu对象,QMenu的addAction()方法可以添加QAction 2 可通过设置button透明的方式设置toolbutto 阅读全文
posted @ 2019-08-14 21:59 Truman001 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 1 添加头文件#include <QComboBox> 2 常用信号函数 3 常用槽函数 4 使用addItem函数添加不会触发currentIndexChanged信号, 使用InsertItem函数添加会触发currentIndexChanged信号 使用clear函数会触发currentInd 阅读全文
posted @ 2019-08-14 21:44 Truman001 阅读(335) 评论(0) 推荐(0) 编辑