07 2023 档案

摘要:##手动调用绘图事件 ![](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://codeforces.com/contest/1843/problem/D ``` 题目大意: 一颗树中,每次给定两个结点,每个结点都可以移动到孩子结点,最后可以到达叶子结点, 问我们这两个结点最终移到叶子结点有多少种组合? (其实就是让求以这两个节点为根的子树的叶子结点个数的乘积) 阅读全文
posted @ 2023-07-15 10:50 Vijurria 阅读(17) 评论(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) 编辑
摘要:> 很久没写题目了,划点水题 ###A. Love Story ``` #include using namespace std; typedef long long LL; typedef pair PII; const LL MAXN = 1e18; const LL N = 1e6, M = 阅读全文
posted @ 2023-07-12 18:47 Vijurria 阅读(9) 评论(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) 编辑