87 lines
2.0 KiB
Plaintext
87 lines
2.0 KiB
Plaintext
#ifndef TRIGGERCTRL_H
|
|
#define TRIGGERCTRL_H
|
|
|
|
#include <QWidget>
|
|
#include "ParaSettingUI.h"
|
|
#include "PulseNumFix.h"
|
|
#include "mainwindow.h"
|
|
namespace Ui {
|
|
class TriggerCtrl;
|
|
}
|
|
|
|
class TriggerCtrl : public QWidget,public ParaSettingUI
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TriggerCtrl(QWidget *parent = 0);
|
|
~TriggerCtrl();
|
|
void updateSysParaToUI(); //重载
|
|
void applyUIPara(); //重载
|
|
void updateSysStatusToUI();
|
|
|
|
void setBuildTime(QString s);
|
|
void TriggerCtrlLog();
|
|
|
|
signals:
|
|
Q_SIGNALS:
|
|
// void synDisableFontWidth(bool);
|
|
//修改字体宽度
|
|
|
|
void autoUpdateFontWidthByTriggerCtrl(const unsigned int);
|
|
|
|
private slots:
|
|
void on_radioButtonDelayTrigger_pressed();
|
|
void TriggerupdateSysParaToUI();
|
|
void on_checkEyeTriggerSynPrintEn_pressed();
|
|
void on_radioButtonEleEyeEdgetTrigger_pressed();
|
|
|
|
void on_radioButtonEleEyeLevelTrigger_pressed();
|
|
|
|
void on_radioButtonSynTrigger_pressed();
|
|
|
|
void on_pushButtonApplyPulseFix_clicked();
|
|
|
|
void onPulseNumFixDone(float);
|
|
|
|
void on_comboBoxSynPrintMode_currentIndexChanged(int index);
|
|
void on_pushButtonApply_pressed();
|
|
|
|
void on_checkBoxPulseOutputEnable_clicked();
|
|
|
|
void on_checkEyeTriggerSynPrintEn_clicked(bool checked);
|
|
|
|
void on_comboBoxSyncActType_activated(int index);
|
|
|
|
void on_lineEditTriggerPulsePerMm_textChanged(const QString &arg1);
|
|
|
|
void on_spinBoxSynTriggerPrintLen_textChanged(const QString &arg1);
|
|
|
|
//void on_spinBoxEleEyeTriggerIntervalMs_valueChanged(int arg1);
|
|
|
|
//void on_radioButtonSynTrigger_clicked();
|
|
|
|
void on_radioButtonEleEyeLevelTrigger_clicked();
|
|
|
|
void on_radioButtonEleEyeEdgetTrigger_clicked();
|
|
|
|
void on_radioButtonDelayTrigger_clicked();
|
|
|
|
void on_spinBoxpluseSinal_valueChanged(int arg1);
|
|
|
|
void OutputPulse();
|
|
|
|
signals:
|
|
void synDisableFontWidth(bool);
|
|
|
|
private:
|
|
Ui::TriggerCtrl *ui;
|
|
|
|
void setTriggerUI(int triggerMode);
|
|
void setSynPrintMode(int mode);
|
|
void GetTriggerUIPara();
|
|
PulseNumFix *pulseNumFix;
|
|
};
|
|
|
|
#endif // TRIGGERCTRL_H
|