38 lines
768 B
C
38 lines
768 B
C
|
|
#ifndef SLOWSPEEDCHANNELSETTING_H
|
||
|
|
#define SLOWSPEEDCHANNELSETTING_H
|
||
|
|
|
||
|
|
#include <QWidget>
|
||
|
|
#include "global.h"
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class CSlowSpeedChannelSetting;
|
||
|
|
}
|
||
|
|
|
||
|
|
class CSlowSpeedChannelSetting : public QWidget
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
explicit CSlowSpeedChannelSetting(QWidget *parent = nullptr);
|
||
|
|
~CSlowSpeedChannelSetting();
|
||
|
|
ChannelSetting channelSetting;
|
||
|
|
QStringList slowChannelTypeList;
|
||
|
|
QMap<QString,QString> m_MapSlowChannelType;
|
||
|
|
void displayChannelSetting();
|
||
|
|
private slots:
|
||
|
|
void on_lineEdit_engineeringUnit_editingFinished();
|
||
|
|
|
||
|
|
void on_pushButton_submit_clicked();
|
||
|
|
|
||
|
|
private:
|
||
|
|
Ui::CSlowSpeedChannelSetting *ui;
|
||
|
|
|
||
|
|
QStringList m_itemList;
|
||
|
|
|
||
|
|
signals:
|
||
|
|
void sgSetChannelData(ChannelSetting);
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // SLOWSPEEDCHANNELSETTING_H
|