#ifndef CHANNELSETTING_H #define CHANNELSETTING_H #include #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(); public slots: void slotSetChannelData(QStringList&); private: Ui::CChannelSetting *ui; QStringList m_itemList; QStringList m_DisPlayerList; QStringList strListFs; signals: void sgSetChannelData(ChannelSetting); }; #endif // CHANNELSETTING_H