Sprinkler
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include "SprinklerDevice.h"
|
||||
|
||||
CSprinklerDevice::CSprinklerDevice(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef SPRINKLERDEVICE_H
|
||||
#define SPRINKLERDEVICE_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class CSprinklerDevice : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit CSprinklerDevice(QObject *parent = 0);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // SPRINKLERDEVICE_H
|
||||
@@ -0,0 +1,13 @@
|
||||
#include "SprinklerDeviceGuiItem.h"
|
||||
|
||||
|
||||
CSprinklerDeviceGuiItem::CSprinklerDeviceGuiItem(QWidget *parent) :
|
||||
QWidget(parent)
|
||||
{
|
||||
setupUi(this);
|
||||
}
|
||||
|
||||
CSprinklerDeviceGuiItem::~CSprinklerDeviceGuiItem()
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
#ifndef SPRINKLERDEVICEGUIITEM_H
|
||||
#define SPRINKLERDEVICEGUIITEM_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "ui_SprinklerDeviceGuiItem.h"
|
||||
|
||||
namespace Ui {
|
||||
class CSprinklerDeviceGuiItem;
|
||||
}
|
||||
|
||||
class CSprinklerDeviceGuiItem : public QWidget, public Ui::CSprinklerDeviceGuiItem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CSprinklerDeviceGuiItem(QWidget *parent = 0);
|
||||
~CSprinklerDeviceGuiItem();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // SPRINKLERDEVICEGUIITEM_H
|
||||
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>CSprinklerDeviceGuiItem</class>
|
||||
<widget class="QWidget" name="CSprinklerDeviceGuiItem">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>540</width>
|
||||
<height>399</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QLabel" name="SprinklerAddress">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>101</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Address : </string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="SprinklerFlowSpeed">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>50</y>
|
||||
<width>131</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Flow speed :</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>100</y>
|
||||
<width>54</width>
|
||||
<height>17</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>State : </string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>220</x>
|
||||
<y>20</y>
|
||||
<width>80</width>
|
||||
<height>25</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>PushButton</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -23,7 +23,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Sprinklers</string>
|
||||
<string>Sprinklers network</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
|
||||
Reference in New Issue
Block a user