摘要: 一、菜单栏 #include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui-> 阅读全文
posted @ 2021-04-09 17:23 ☞@_@ 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 一、窗口代码实例 二、.pro文件解释 三、创建按钮 四、信号和槽 五、自定义的信号和槽 六、信号连接信号 七、lambda表达式 一、窗口代码实例 #include "widget.h" #include <QApplication>//包含一个应用程序类的头文件 int main(int arg 阅读全文
posted @ 2021-04-09 11:13 ☞@_@ 阅读(120) 评论(0) 推荐(0) 编辑