Added FormWelcome class.
This commit is contained in:
parent
c92f911b79
commit
36edebf377
3 changed files with 105 additions and 0 deletions
10
src/gui/formwelcome.cpp
Normal file
10
src/gui/formwelcome.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include "formwelcome.h"
|
||||
|
||||
|
||||
FormWelcome::FormWelcome(QWidget *parent) : QDialog(parent), m_ui(new Ui::FormWelcome) {
|
||||
m_ui->setupUi(this);
|
||||
}
|
||||
|
||||
FormWelcome::~FormWelcome() {
|
||||
delete m_ui;
|
||||
}
|
24
src/gui/formwelcome.h
Normal file
24
src/gui/formwelcome.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#ifndef FORMWELCOME_H
|
||||
#define FORMWELCOME_H
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "ui_formwelcome.h"
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class FormWelcome;
|
||||
}
|
||||
|
||||
class FormWelcome : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit FormWelcome(QWidget *parent = 0);
|
||||
~FormWelcome();
|
||||
|
||||
private:
|
||||
Ui::FormWelcome *m_ui;
|
||||
};
|
||||
|
||||
#endif // FORMWELCOME_H
|
71
src/gui/formwelcome.ui
Normal file
71
src/gui/formwelcome.ui
Normal file
|
@ -0,0 +1,71 @@
|
|||
<ui version="4.0">
|
||||
<author/>
|
||||
<comment/>
|
||||
<exportmacro/>
|
||||
<class>FormWelcome</class>
|
||||
<widget class="QDialog" name="FormWelcome">
|
||||
<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>FormWelcome</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>FormWelcome</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>
|
Loading…
Add table
Reference in a new issue