41 lines
697 B
C
41 lines
697 B
C
|
#ifndef MACHINESTARTDIALOG_H
|
||
|
#define MACHINESTARTDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
|
||
|
namespace Ui {
|
||
|
class MachineStartDialog;
|
||
|
}
|
||
|
|
||
|
class MachineStartDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit MachineStartDialog(QWidget *parent = nullptr);
|
||
|
~MachineStartDialog();
|
||
|
|
||
|
int getResult();
|
||
|
protected:
|
||
|
void paintEvent(QPaintEvent *event);
|
||
|
|
||
|
virtual void changeEvent(QEvent* event);
|
||
|
|
||
|
void showEvent(QShowEvent *event);
|
||
|
|
||
|
private slots:
|
||
|
void on_cancel_Btn_clicked();
|
||
|
|
||
|
// void on_confirm_Btn_clicked();
|
||
|
|
||
|
void on_confirm_Btn_pressed();
|
||
|
|
||
|
void on_UpLimbOnClick_Btn_pressed();
|
||
|
|
||
|
private:
|
||
|
Ui::MachineStartDialog *ui;
|
||
|
int m_result;
|
||
|
};
|
||
|
|
||
|
#endif // MACHINESTARTDIALOG_H
|