#ifndef WINDOWCHANNEL_H #define WINDOWCHANNEL_H #include #include #include #include namespace Ui { class windowChannel; } class windowChannel : public QWidget { Q_OBJECT class MainWindow; bool isConnected; public: void hideValue(); void showValue(); void setWindowsChannel(typeCHANNEL channel); typeCHANNEL getWindowsChannel(); typeIKU VerifyGainA142(Set thisData); QString DisplayIKUA142(float sens,typeIKU iku, typeVALUE value); typeIKU maxGain(Set Data); explicit windowChannel(QWidget *parent = nullptr); ~windowChannel(); signals: void ReadyToSend(Set, typeREQ); public slots: void sendSens(); void setSens(Set data); void setState(Set data); void reDraw(); private slots: void on_comboBoxVCH_activated(int index); void on_comboBoxNCH_activated(int index); void on_comboBoxOUT_activated(int index); private: Set thisData; //данные этой структуры typeCHANNEL channel; Ui::windowChannel *ui; QStringList avalibleKuList(Set thisData); }; #endif // WINDOWCHANNEL_H