48 lines
881 B
C++
48 lines
881 B
C++
#ifndef WINDOWCHANNELSETTINGS_H
|
|
#define WINDOWCHANNELSETTINGS_H
|
|
|
|
#include <QWidget>
|
|
#include <enums.h>
|
|
#include <QInputDialog>
|
|
#include <mainwindow.h>
|
|
|
|
namespace Ui {
|
|
class WindowChannelSettings;
|
|
}
|
|
|
|
class WindowChannelSettings : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
void hideValue();
|
|
void showValue();
|
|
|
|
explicit WindowChannelSettings(QWidget *parent = nullptr);
|
|
~WindowChannelSettings();
|
|
void setWindowsChannel(typeCHANNEL channel);
|
|
|
|
typeIKU VerifyGainA142(Set Data);
|
|
|
|
signals:
|
|
void ReadyToSend(Set, typeREQ);
|
|
|
|
public slots:
|
|
|
|
void sendSens();
|
|
void setSens(Set data);
|
|
void setState(Set data);
|
|
void reDraw();
|
|
|
|
private slots:
|
|
void on_comboBoxUNITS_activated(int index);
|
|
|
|
private:
|
|
Ui::WindowChannelSettings *ui;
|
|
Set thisData; //данные этой структуры
|
|
typeCHANNEL channel;
|
|
};
|
|
|
|
#endif // WINDOWCHANNELSETTINGS_H
|