vrplayer: added help about dialog

ulab-next
Jay Sorg 11 years ago
parent def3ba8d6a
commit bb19b8ed57

@ -0,0 +1,20 @@
#include "dlgabout.h"
#include "ui_dlgabout.h"
DlgAbout::DlgAbout(QWidget *parent) :
QDialog(parent),
ui(new Ui::DlgAbout)
{
ui->setupUi(this);
connect(ui->okButton, SIGNAL(clicked()), this, SLOT(onOk()));
}
DlgAbout::~DlgAbout()
{
delete ui;
}
void DlgAbout::onOk()
{
this->done(0);
}

@ -0,0 +1,25 @@
#ifndef DLGABOUT_H
#define DLGABOUT_H
#include <QDialog>
namespace Ui {
class DlgAbout;
}
class DlgAbout : public QDialog
{
Q_OBJECT
public:
explicit DlgAbout(QWidget *parent = 0);
~DlgAbout();
private:
Ui::DlgAbout *ui;
private slots:
void onOk();
};
#endif // DLGABOUT_H

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DlgAbout</class>
<widget class="QDialog" name="DlgAbout">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>288</width>
<height>168</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>70</x>
<y>60</y>
<width>151</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>VRPlayer v1.2</string>
</property>
</widget>
<widget class="QPushButton" name="okButton">
<property name="geometry">
<rect>
<x>180</x>
<y>120</y>
<width>94</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>OK</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
Loading…
Cancel
Save