Files
VX5_KRO_GearPump/setnumdlg.h
T
2026-06-22 08:51:10 +08:00

40 lines
549 B
C++

#ifndef SETNUMDLG_H
#define SETNUMDLG_H
#include <QDialog>
namespace Ui {
class SetNumDlg;
}
class SetNumDlg : public QDialog
{
Q_OBJECT
public:
explicit SetNumDlg(QWidget *parent = 0);
~SetNumDlg();
bool getIsSet();
int getNum();
private slots:
void on_btn_confirm_clicked();
void on_btn_clearProductCnt_clicked();
private:
Ui::SetNumDlg *ui;
// 是否采用预设值
bool isSet = false;
unsigned int num = 0;
signals:
void sig_setNum();
void sig_clearCnt();
};
#endif // SETNUMDLG_H