摘要:
widget.h #ifndef WIDGET_H #define WIDGET_H #include <QWidget> namespace Ui { class Widget; } class Widget : public QWidget { Q_OBJECT private: void my 阅读全文
posted @ 2022-06-05 12:15
蘑菇王国大聪明
阅读(184)
评论(0)
推荐(0)
摘要:
效果 代码 mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QSerialPort> #include <QSerialPortInfo> #include <QPushB 阅读全文
posted @ 2022-06-05 11:56
蘑菇王国大聪明
阅读(64)
评论(0)
推荐(0)
摘要:
mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QPushButton> #include <QFile> class MainWindow : public QMainW 阅读全文
posted @ 2022-06-05 10:02
蘑菇王国大聪明
阅读(97)
评论(0)
推荐(0)
摘要:
效果 代码 mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QSqlDatabase> #include <QSqlQuery> #include <QMainWindow> #include <QLabel> #in 阅读全文
posted @ 2022-06-05 09:45
蘑菇王国大聪明
阅读(298)
评论(0)
推荐(0)
摘要:
效果 代码 mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QSqlDatabase> #include <QSqlQuery> #include <QMainWindow> #include <QDialog> #i 阅读全文
posted @ 2022-06-05 09:41
蘑菇王国大聪明
阅读(106)
评论(0)
推荐(0)
摘要:
效果 代码 main.cpp #include "mainwindow.h" #include <QApplication> #include <QFile> int main(int argc, char *argv[]) { QApplication a(argc, argv); /* 指定文件 阅读全文
posted @ 2022-06-05 09:27
蘑菇王国大聪明
阅读(68)
评论(0)
推荐(0)
摘要:
效果 代码 main.cpp #include "mainwindow.h" #include <QApplication> #include <QFile> int main(int argc, char *argv[]) { QApplication a(argc, argv); /* 指定文件 阅读全文
posted @ 2022-06-05 09:23
蘑菇王国大聪明
阅读(79)
评论(0)
推荐(0)

浙公网安备 33010602011771号