41 lines
722 B
C++
41 lines
722 B
C++
#ifndef WINDOWCHANNEL_H
|
|
#define WINDOWCHANNEL_H
|
|
|
|
#include <QWidget>
|
|
#include <enums.h>
|
|
|
|
namespace Ui {
|
|
class windowChannel;
|
|
}
|
|
|
|
class windowChannel : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
|
|
void setWindowsChannel(typeCHANNEL channel);
|
|
typeCHANNEL getWindowsChannel();
|
|
typeIKU VerifyGainA142(float sens,typeIKU iku);
|
|
QString DisplayIKUA142(float sens,typeIKU iku, typeVALUE value);
|
|
|
|
|
|
|
|
|
|
explicit windowChannel(QWidget *parent = nullptr);
|
|
~windowChannel();
|
|
|
|
public slots:
|
|
void setSens(Set data);
|
|
void setState(Set data);
|
|
void reDraw();
|
|
|
|
private:
|
|
Set thisData; //данные этой структуры
|
|
typeCHANNEL channel;
|
|
Ui::windowChannel *ui;
|
|
};
|
|
|
|
#endif // WINDOWCHANNEL_H
|