2020-09-24 16:35:21 +08:00
|
|
|
|
|
|
|
|
#ifndef INDEX1_H
|
2020-05-18 21:00:05 +08:00
|
|
|
#define INDEX1_H
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
#include "QFile"
|
|
|
|
|
#include "QTextStream"
|
2020-05-28 18:11:23 +08:00
|
|
|
#include "QDebug"
|
2020-05-18 21:00:05 +08:00
|
|
|
|
|
|
|
|
|
2020-06-08 17:54:17 +08:00
|
|
|
#include "ParameterInspector.h"
|
|
|
|
|
|
2020-05-18 21:00:05 +08:00
|
|
|
namespace Ui {
|
|
|
|
|
class Index1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class Index1 : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit Index1(QWidget *parent = nullptr);
|
|
|
|
|
~Index1();
|
|
|
|
|
|
2020-05-28 18:11:23 +08:00
|
|
|
void resizeEvent(QResizeEvent *event);
|
|
|
|
|
|
2020-06-08 17:54:17 +08:00
|
|
|
|
|
|
|
|
ParameterInspector *paramInspect = nullptr;
|
|
|
|
|
|
2020-05-18 21:00:05 +08:00
|
|
|
private:
|
|
|
|
|
Ui::Index1 *ui;
|
2020-05-28 18:11:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-06-08 17:54:17 +08:00
|
|
|
QWidget *widget = nullptr;
|
2020-05-28 18:11:23 +08:00
|
|
|
private slots:
|
|
|
|
|
|
|
|
|
|
void onTabIndexChanged(const int &index);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void on_pushButton_Parameters_clicked();
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
void IndexChanged(const int &index);
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
2020-05-29 19:30:33 +08:00
|
|
|
void setInstallWidget(QWidget *w);
|
2020-05-28 18:11:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-18 21:00:05 +08:00
|
|
|
};
|
|
|
|
|
#endif // INDEX1_H
|