aboutsummaryrefslogtreecommitdiff
path: root/lumina-info/MainUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-28 11:43:31 -0500
committerKen Moore <ken@pcbsd.org>2015-01-28 11:43:31 -0500
commit4b93059ecb156cbc4d6fa5955c6ba5b76f205a26 (patch)
treee9229fa9590d5b7af5fc24eb331efbd6d9e57e30 /lumina-info/MainUI.h
parentAdd a new function to all LuminaOS files: OSName() (diff)
downloadlumina-4b93059ecb156cbc4d6fa5955c6ba5b76f205a26.tar.gz
lumina-4b93059ecb156cbc4d6fa5955c6ba5b76f205a26.tar.bz2
lumina-4b93059ecb156cbc4d6fa5955c6ba5b76f205a26.zip
Add a new utility: lumina-info
This utility provides basic information/links for the Lumina desktop project.
Diffstat (limited to 'lumina-info/MainUI.h')
-rw-r--r--lumina-info/MainUI.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/lumina-info/MainUI.h b/lumina-info/MainUI.h
new file mode 100644
index 00000000..c9a9804a
--- /dev/null
+++ b/lumina-info/MainUI.h
@@ -0,0 +1,39 @@
+//===========================================
+// Lumina-DE source code
+// Copyright (c) 2015, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#ifndef _LUMINA_INFORMATION_WINDOW_H
+#define _LUMINA_INFORMATION_WINDOW_H
+
+#include <QMainWindow>
+#include <QObject>
+#include <QListWidgetItem>
+
+namespace Ui{
+ class MainUI;
+};
+
+class MainUI : public QMainWindow{
+ Q_OBJECT
+public:
+ MainUI();
+ ~MainUI();
+
+private:
+ Ui::MainUI *ui;
+
+ void updateUI();
+
+private slots:
+ void slotSingleInstance(){
+ this->show();
+ this->raise();
+ }
+
+ void showQtInfo();
+ void showSponsor(QListWidgetItem *item);
+ void LinkClicked(QString url);
+};
+#endif \ No newline at end of file
bgstack15