From bb19b8ed5770a5a45e78ec8e3919b859932a76a0 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Fri, 19 Jul 2013 23:45:13 -0700 Subject: vrplayer: added help about dialog --- vrplayer/dlgabout.cpp | 20 ++++++++++++++++++++ vrplayer/dlgabout.h | 25 +++++++++++++++++++++++++ vrplayer/dlgabout.ui | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 vrplayer/dlgabout.cpp create mode 100644 vrplayer/dlgabout.h create mode 100644 vrplayer/dlgabout.ui diff --git a/vrplayer/dlgabout.cpp b/vrplayer/dlgabout.cpp new file mode 100644 index 00000000..b6ec55ee --- /dev/null +++ b/vrplayer/dlgabout.cpp @@ -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); +} diff --git a/vrplayer/dlgabout.h b/vrplayer/dlgabout.h new file mode 100644 index 00000000..4795e2fe --- /dev/null +++ b/vrplayer/dlgabout.h @@ -0,0 +1,25 @@ +#ifndef DLGABOUT_H +#define DLGABOUT_H + +#include + +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 diff --git a/vrplayer/dlgabout.ui b/vrplayer/dlgabout.ui new file mode 100644 index 00000000..8b2c38e5 --- /dev/null +++ b/vrplayer/dlgabout.ui @@ -0,0 +1,45 @@ + + + DlgAbout + + + + 0 + 0 + 288 + 168 + + + + Dialog + + + + + 70 + 60 + 151 + 17 + + + + VRPlayer v1.2 + + + + + + 180 + 120 + 94 + 27 + + + + OK + + + + + + -- cgit v1.2.1