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