3500/ChannelSetting.h

59 lines
1.3 KiB
C++

#ifndef CHANNELSETTING_H
#define CHANNELSETTING_H
#include <QWidget>
#include "global.h"
#include "sqlitedb.h"
namespace Ui {
class CChannelSetting;
}
class CChannelSetting : public QWidget
{
Q_OBJECT
public:
explicit CChannelSetting(QWidget *parent = nullptr);
~CChannelSetting();
ChannelSetting channelSetting;
QJsonObject jsonValue;
void displayChannelSetting();
void PushData();
private slots:
void on_pushButton_submit_clicked();
void on_channelTypeCombox_currentTextChanged(const QString &arg1);
void on_lineEdit_sensorEngineeringUnit_editingFinished();
void on_comboBox_tachAutoTach_currentIndexChanged(const QString &arg1);
void on_comboBox_samplingRate_currentTextChanged(const QString &arg1);
void on_pushButton_copy_clicked();
void slotNetMgr(QString sAddr,const QVariant& msg);
void on_comboBox_sensorType_currentTextChanged(const QString &arg1);
void on_lineEdit_engineeringUnit_editingFinished();
void on_pushButton_CustomFilter_clicked();
public slots:
void slotCopyChannelData(QStringList&);
private:
Ui::CChannelSetting *ui;
QStringList m_itemList;
QStringList m_DisPlayerList;
QStringList strListFs;
signals:
void sgSetChannelData(ChannelSetting);
void ChannelSettingClose_sg();
};
#endif // CHANNELSETTING_H