Add qmodmaster and move udp app to applications
This commit is contained in:
37
Applications/qModMaster/forms/settingsmodbustcp.h
Normal file
37
Applications/qModMaster/forms/settingsmodbustcp.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#ifndef SETTINGSMODBUSTCP_H
|
||||
#define SETTINGSMODBUSTCP_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QSettings>
|
||||
#include <QAbstractButton>
|
||||
|
||||
#include "src/modbuscommsettings.h"
|
||||
|
||||
namespace Ui {
|
||||
class SettingsModbusTCP;
|
||||
}
|
||||
|
||||
class SettingsModbusTCP : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SettingsModbusTCP(QWidget *parent = 0 ,ModbusCommSettings * settings = 0);
|
||||
~SettingsModbusTCP();
|
||||
bool modbus_connected;
|
||||
|
||||
private:
|
||||
Ui::SettingsModbusTCP *ui;
|
||||
ModbusCommSettings * m_settings;
|
||||
int validateInputs();
|
||||
|
||||
private slots:
|
||||
void changesAccepted();
|
||||
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent * event);
|
||||
|
||||
};
|
||||
|
||||
#endif // SETTINGSMODBUSTCP_H
|
||||
Reference in New Issue
Block a user