随笔分类 -  QT

摘要:##手动调用绘图事件 ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230724170546715-469433605.png) ####widget.h ``` #ifndef WIDGET_H #define WIDG 阅读全文
posted @ 2023-07-24 17:08 Vijurria 阅读(53) 评论(0) 推荐(0) 编辑
摘要:##绘图事件 ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230722232035567-833650556.png) ####widget.h ``` #ifndef WIDGET_H #define WIDGET_H 阅读全文
posted @ 2023-07-22 23:23 Vijurria 阅读(46) 评论(0) 推荐(0) 编辑
摘要:##定时器1 ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230721182054446-627085103.png) ###widget.h ``` #ifndef WIDGET_H #define WIDGET_H 阅读全文
posted @ 2023-07-21 18:35 Vijurria 阅读(123) 评论(0) 推荐(0) 编辑
摘要:##自定义封装控件 ![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230719173323703-1794954406.png) ###smallWidgt.h ``` #ifndef SMALLWIDGET_H #def 阅读全文
posted @ 2023-07-19 17:37 Vijurria 阅读(16) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230719105815540-202531115.png) ``` #include "widget.h" #include "ui_widget.h" #include W 阅读全文
posted @ 2023-07-19 13:28 Vijurria 阅读(84) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230718184231197-1231632200.png) ![](https://img2023.cnblogs.com/blog/2832235/202307/2832 阅读全文
posted @ 2023-07-18 18:13 Vijurria 阅读(37) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230716215136795-1521863934.png) ![](https://img2023.cnblogs.com/blog/2832235/202307/2832 阅读全文
posted @ 2023-07-16 21:53 Vijurria 阅读(22) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230713224337822-53795320.png) ``` #include "mainwindownoui.h" #include #include #include 阅读全文
posted @ 2023-07-13 22:44 Vijurria 阅读(31) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/2832235/202307/2832235-20230713221907568-2057744277.png) ``` #include "mainwindownoui.h" #include #include #inclu 阅读全文
posted @ 2023-07-13 22:20 Vijurria 阅读(18) 评论(0) 推荐(0) 编辑
摘要:``` 创建三个按钮,第一个打开一个新的页面,第二个关闭这个新的页面,第三个共有前两个按钮的功能。 ``` ``` #include "widget.h" #include "ui_widget.h" #include #include Widget::Widget(QWidget *parent) 阅读全文
posted @ 2023-07-12 18:39 Vijurria 阅读(16) 评论(0) 推荐(0) 编辑