Added UpdateDialog
This commit is contained in:
14
dialogs/updatedialog.cpp
Normal file
14
dialogs/updatedialog.cpp
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#include "updatedialog.h"
|
||||||
|
#include "ui_updatedialog.h"
|
||||||
|
|
||||||
|
UpdateDialog::UpdateDialog(QWidget *parent) :
|
||||||
|
QDialog(parent),
|
||||||
|
ui(new Ui::UpdateDialog)
|
||||||
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
UpdateDialog::~UpdateDialog()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
20
dialogs/updatedialog.h
Normal file
20
dialogs/updatedialog.h
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#ifndef UPDATEDIALOG_H
|
||||||
|
#define UPDATEDIALOG_H
|
||||||
|
|
||||||
|
#include <QDialog>
|
||||||
|
|
||||||
|
namespace Ui { class UpdateDialog; }
|
||||||
|
|
||||||
|
class UpdateDialog : public QDialog
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit UpdateDialog(QWidget *parent = 0);
|
||||||
|
~UpdateDialog();
|
||||||
|
|
||||||
|
private:
|
||||||
|
Ui::UpdateDialog *ui;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // UPDATEDIALOG_H
|
71
dialogs/updatedialog.ui
Normal file
71
dialogs/updatedialog.ui
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<ui version="4.0">
|
||||||
|
<author/>
|
||||||
|
<comment/>
|
||||||
|
<exportmacro/>
|
||||||
|
<class>UpdateDialog</class>
|
||||||
|
<widget class="QDialog" name="UpdateDialog">
|
||||||
|
<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/>
|
||||||
|
<resources/>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>buttonBox</sender>
|
||||||
|
<signal>accepted()</signal>
|
||||||
|
<receiver>UpdateDialog</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>UpdateDialog</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>
|
@@ -30,7 +30,8 @@ SOURCES += main.cpp \
|
|||||||
strips/timeassignmentstrip.cpp \
|
strips/timeassignmentstrip.cpp \
|
||||||
dialogs/bookingdialog.cpp \
|
dialogs/bookingdialog.cpp \
|
||||||
models/bookingsmodel.cpp \
|
models/bookingsmodel.cpp \
|
||||||
strips/bookingstrip.cpp
|
strips/bookingstrip.cpp \
|
||||||
|
dialogs/updatedialog.cpp
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
zeiterfassung.h \
|
zeiterfassung.h \
|
||||||
@@ -46,7 +47,8 @@ HEADERS += \
|
|||||||
strips/timeassignmentstrip.h \
|
strips/timeassignmentstrip.h \
|
||||||
dialogs/bookingdialog.h \
|
dialogs/bookingdialog.h \
|
||||||
models/bookingsmodel.h \
|
models/bookingsmodel.h \
|
||||||
strips/bookingstrip.h
|
strips/bookingstrip.h \
|
||||||
|
dialogs/updatedialog.h
|
||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
mainwindow.ui \
|
mainwindow.ui \
|
||||||
@@ -57,7 +59,8 @@ FORMS += \
|
|||||||
dialogs/timeassignmentdialog.ui \
|
dialogs/timeassignmentdialog.ui \
|
||||||
strips/timeassignmentstrip.ui \
|
strips/timeassignmentstrip.ui \
|
||||||
dialogs/bookingdialog.ui \
|
dialogs/bookingdialog.ui \
|
||||||
strips/bookingstrip.ui
|
strips/bookingstrip.ui \
|
||||||
|
dialogs/updatedialog.ui
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
resources.qrc
|
resources.qrc
|
||||||
|
Reference in New Issue
Block a user