- 博客(6)
- 资源 (18)
- 收藏
- 关注
原创 QSpacerItem在布局中的用法示例
需要实现的部件显示效果如下: 构建方法如上右图,实现代码:#include #include #include #include int main(int argc, char *argv[]){ QApplication a(argc, argv); QWidget w; QPushButton btn1("b
2014-11-25 18:49:57 18466
转载 Qt之Tab键实现(自由切换焦点)—— 采用事件过滤器处理
在Qt中,有一些特殊的按键比如说Tab键,默认Tab事件(切换焦点)被先捕获了,所以如果想自定义Tab键的使用应该如何实现呢? 在实际需求中我主要是实现QLineEdit、QCheckBox、QPushButton、QToolButton之间的切换,可以根据自己的程序修改切换顺序。当然如果自己不去实现Tab键的功能,就像前面所言,Qt也会去捕获Tab键切换焦点,只不过顺序是死的!那么要想
2014-11-19 16:50:11 2757
转载 QT: QFileSystemModel _q_fileSystemChanged slot is executed on the UI thread which contradicts docume
http://stackoverflow.com/questions/4055726/qt-qfilesystemmodel-q-filesystemchanged-slot-is-executed-on-the-ui-thread-whic
2014-11-06 18:24:01 634
转载 自定义控件方法
http://blog.csdn.net/dbzhang800/article/details/6871693http://qimo601.iteye.com/blog/1407257
2014-11-05 10:53:51 456
QtCreator_opengl+glew+glut.zip
2019-08-29
WinSCP工具
2018-09-07
QPushButton和QListView实现自定义QcomboBox功能(可以自由定义下拉框位置)
2017-12-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人