2022-09-09 15:55:16 +08:00
|
|
|
#ifndef INDEX0_H
|
2020-05-18 21:00:05 +08:00
|
|
|
#define INDEX0_H
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
#include "QFile"
|
|
|
|
|
#include "QTextStream"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "LinkUI.h"
|
2020-05-27 20:30:26 +08:00
|
|
|
#include "MapSettingUI.h"
|
2020-11-21 18:19:28 +08:00
|
|
|
#include "Global/GlobalSetting.h"
|
2020-05-18 21:00:05 +08:00
|
|
|
|
2020-05-29 19:30:33 +08:00
|
|
|
|
2020-05-18 21:00:05 +08:00
|
|
|
namespace Ui {
|
|
|
|
|
class Index0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class Index0 : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit Index0(QWidget *parent = nullptr);
|
|
|
|
|
~Index0();
|
|
|
|
|
|
|
|
|
|
void resizeEvent(QResizeEvent *event);
|
|
|
|
|
|
2020-05-19 19:02:32 +08:00
|
|
|
LinkUI *link = nullptr;
|
2022-09-09 15:55:16 +08:00
|
|
|
// MapSettingUI *mapsetting = nullptr;
|
2020-11-21 18:19:28 +08:00
|
|
|
GlobalSetting *globalsetting = nullptr;
|
|
|
|
|
|
2020-05-19 19:02:32 +08:00
|
|
|
|
2020-05-18 21:00:05 +08:00
|
|
|
private slots:
|
|
|
|
|
|
|
|
|
|
void onTabIndexChanged(const int &index);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void on_pushButton_Link_clicked();
|
|
|
|
|
|
2022-09-09 15:55:16 +08:00
|
|
|
// void on_pushButton_Map_clicked();
|
2020-05-18 21:00:05 +08:00
|
|
|
|
2020-06-17 18:01:56 +08:00
|
|
|
|
2020-11-21 18:19:28 +08:00
|
|
|
void on_pushButton_Global_clicked();
|
|
|
|
|
|
2020-05-18 21:00:05 +08:00
|
|
|
signals:
|
|
|
|
|
void IndexChanged(const int &index);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::Index0 *ui;
|
2020-05-19 19:02:32 +08:00
|
|
|
|
2020-05-18 21:00:05 +08:00
|
|
|
|
|
|
|
|
};
|
|
|
|
|
#endif // INDEX0_H
|