feat: add OMEMODevices (WIP)

This commit is contained in:
vae 2021-05-12 00:58:39 +03:00
parent bc66ab7e52
commit cb7e2ede75
Signed by: vae
GPG Key ID: A9A33351400E00E5
4 changed files with 99 additions and 0 deletions

View File

@ -16,6 +16,9 @@ target_sources(squawk PRIVATE
newcontact.cpp newcontact.cpp
newcontact.h newcontact.h
newcontact.ui newcontact.ui
omemodevices.cpp
omemodevices.h
omemodevices.ui
room.cpp room.cpp
room.h room.h
) )

View File

@ -0,0 +1,6 @@
/*
* Created by victoria on 2021-05-12.
*/
#include "omemodevices.h"
OMEMODevices::OMEMODevices(QWidget *parent) {}

18
ui/widgets/omemodevices.h Normal file
View File

@ -0,0 +1,18 @@
/*
* Created by victoria on 2021-05-12.
*/
#pragma once
#include <QDialog>
namespace Ui {
class OMEMODevices;
}
class OMEMODevices : public QDialog {
Q_OBJECT
public:
explicit OMEMODevices(QWidget *parent = nullptr);
~OMEMODevices() override = default;
};

View File

@ -0,0 +1,72 @@
<ui version="4.0" >
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<class>Dialog</class>
<widget class="QDialog" name="Dialog" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle" >
<string>Dialog</string>
</property>
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="geometry" >
<rect>
<x>30</x>
<y>240</y>
<width>341</width>
<height>32</height>
</rect>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</widget>
<pixmapfunction></pixmapfunction>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>Dialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel" >
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>Dialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel" >
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>