aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/about.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/about.h')
-rw-r--r--qt-ui/about.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/qt-ui/about.h b/qt-ui/about.h
new file mode 100644
index 000000000..6636b0e33
--- /dev/null
+++ b/qt-ui/about.h
@@ -0,0 +1,26 @@
+#ifndef ABOUT_H
+#define ABOUT_H
+
+#include <QDialog>
+#include <QPushButton>
+
+namespace Ui {
+ class SubsurfaceAbout;
+}
+
+class SubsurfaceAbout : public QDialog {
+ Q_OBJECT
+
+public:
+ static SubsurfaceAbout* instance();
+private slots:
+ void licenseClicked();
+ void websiteClicked();
+private:
+ explicit SubsurfaceAbout(QWidget* parent = 0, Qt::WindowFlags f = 0);
+ QPushButton *licenseButton;
+ QPushButton *websiteButton;
+ Ui::SubsurfaceAbout *ui;
+};
+
+#endif