2025-03-13 15:21:23 +08:00

63 lines
822 B
C++

#ifndef STARTUPFORM_H
#define STARTUPFORM_H
#include <QWidget>
namespace Ui {
class StartUpForm;
}
class StartUpForm : public QWidget
{
Q_OBJECT
public:
explicit StartUpForm(QWidget *parent = 0);
~StartUpForm();
public:
int getCurrentIndex();
int getStartValue();
int getStopValue();
signals:
void sigLogText(const QString &text);
void sigStartSystem();
void sigStopSystem();
public slots:
void changeIndex(int index);
void changeStartValue(int value);
void changeStopValue(int value);
void initStartValue();
void initStopValue();
void initValue();
void startSystem();
void stopSystem();
private:
void initVariables();
void initView();
void initConn();
private:
Ui::StartUpForm *ui;
};
#endif // STARTUPFORM_H