31 lines
492 B
C++
31 lines
492 B
C++
#ifndef TORQUEDIALOG_H
|
|
#define TORQUEDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class TorqueDialog;
|
|
}
|
|
|
|
class TorqueDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TorqueDialog(QWidget *parent = nullptr);
|
|
~TorqueDialog();
|
|
|
|
bool getConfirmState();
|
|
private slots:
|
|
void on_cancel_Btn_clicked();
|
|
|
|
void on_confirm_Btn_clicked();
|
|
protected:
|
|
void paintEvent(QPaintEvent *event);
|
|
private:
|
|
Ui::TorqueDialog *ui;
|
|
bool isConfirmed;
|
|
};
|
|
|
|
#endif // TORQUEDIALOG_H
|