hlp:640x480-小屏vx4齿轮泵代码提交
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
#ifndef DIALOGCYCLEPRINT_H
|
||||
#define DIALOGCYCLEPRINT_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
typedef struct {
|
||||
int area_end1;
|
||||
int area_end2;
|
||||
int area_end3;
|
||||
int area_end4;
|
||||
int area_end5;
|
||||
int area_end6;
|
||||
|
||||
int cycle_time1;
|
||||
int cycle_time2;
|
||||
int cycle_time3;
|
||||
int cycle_time4;
|
||||
int cycle_time5;
|
||||
int cycle_time6;
|
||||
|
||||
}CycleprintArg;
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class DialogCycleprint;
|
||||
}
|
||||
|
||||
class DialogCycleprint : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DialogCycleprint(QWidget *parent = 0);
|
||||
|
||||
void getSpinboxValue(CycleprintArg &t_arg);
|
||||
void SetSpinboxValue(CycleprintArg &t_arg);
|
||||
void update_save();
|
||||
|
||||
~DialogCycleprint();
|
||||
|
||||
private slots:
|
||||
|
||||
void on_spinBoxarea3_editingFinished();
|
||||
void on_spinBoxcycletime3_editingFinished();
|
||||
|
||||
void on_spinBoxarea4_editingFinished();
|
||||
void on_spinBoxcycletime4_editingFinished();
|
||||
|
||||
void on_spinBoxarea5_editingFinished();
|
||||
void on_spinBoxcycletime5_editingFinished();
|
||||
|
||||
void on_spinBoxarea6_editingFinished();
|
||||
void on_spinBoxcycletime6_editingFinished();
|
||||
|
||||
private:
|
||||
|
||||
void set_spinBox_value(int area, int cycletime, int which_box);
|
||||
|
||||
CycleprintArg save_arg;
|
||||
|
||||
Ui::DialogCycleprint *ui;
|
||||
};
|
||||
|
||||
#endif // DIALOGCYCLEPRINT_H
|
||||
Reference in New Issue
Block a user