Added some features and fixed initial mistakes (getting ready for dev build)

This commit is contained in:
NeoTheFox 2015-02-28 20:33:14 +03:00
parent db0a0cea86
commit 7643fb9a53
6 changed files with 112 additions and 1 deletions

BIN
a3246.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

14
aboutwindow.cpp Normal file
View File

@ -0,0 +1,14 @@
#include "aboutwindow.h"
#include "ui_aboutwindow.h"
AboutWindow::AboutWindow(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutWindow)
{
ui->setupUi(this);
}
AboutWindow::~AboutWindow()
{
delete ui;
}

22
aboutwindow.h Normal file
View File

@ -0,0 +1,22 @@
#ifndef ABOUTWINDOW_H
#define ABOUTWINDOW_H
#include <QDialog>
namespace Ui {
class AboutWindow;
}
class AboutWindow : public QDialog
{
Q_OBJECT
public:
explicit AboutWindow(QWidget *parent = 0);
~AboutWindow();
private:
Ui::AboutWindow *ui;
};
#endif // ABOUTWINDOW_H

71
aboutwindow.ui Normal file
View File

@ -0,0 +1,71 @@
<ui version="4.0">
<author/>
<comment/>
<exportmacro/>
<class>AboutWindow</class>
<widget class="QDialog" name="AboutWindow">
<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>AboutWindow</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>AboutWindow</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>

5
graphics.qrc Normal file
View File

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/pics">
<file alias="logo">a3246.png</file>
</qresource>
</RCC>

View File

@ -1 +0,0 @@
<RCC/>