You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.1 KiB
C++
65 lines
1.1 KiB
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include "gddcdlg.h"
|
|
#include "homepagedlg.h"
|
|
#include "qweb.h"
|
|
#include <QPushButton>
|
|
#include <QLabel>
|
|
#include <QAction>
|
|
#include <QLineEdit>
|
|
#include <QTextEdit>
|
|
#include <QMenu>
|
|
#include <QMenuBar>
|
|
#include <QGridLayout>
|
|
#include <QWebEngineView>
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
QT_END_NAMESPACE
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainWindow(QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
|
|
|
|
public:
|
|
void initWindow();
|
|
void initButton();
|
|
void initMenuBar();
|
|
void initToolBar();
|
|
private slots:
|
|
void on_pushButton_clicked();
|
|
|
|
void on_pushButton_2_clicked();
|
|
|
|
void on_pushButton_3_clicked();
|
|
|
|
void on_pushButton_4_clicked();
|
|
|
|
void on_pushButton_5_clicked();
|
|
|
|
void on_pushButton_6_clicked();
|
|
|
|
void on_pushButton_7_clicked();
|
|
|
|
void on_pushButton_8_clicked();
|
|
|
|
public:
|
|
GDDCdlg *m_GDDCdlg;
|
|
HomePageDlg *m_HomePagedlg;
|
|
//QWeb *m_qWeb;
|
|
QWebEngineView *mWeb;
|
|
|
|
};
|
|
#endif // MAINWINDOW_H
|