aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-notify
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-03-09 11:27:04 -0500
committerq5sys <jt@obs-sec.com>2017-03-09 11:27:04 -0500
commit0f1b916df0bd430a280af9a874a68c23b2aac591 (patch)
treec56e89168f23507868d62a557952c93a3ca09af2 /src-qt5/desktop-utils/lumina-notify
parentFix some errors in a few translation files. Now the language field should be ... (diff)
downloadlumina-0f1b916df0bd430a280af9a874a68c23b2aac591.tar.gz
lumina-0f1b916df0bd430a280af9a874a68c23b2aac591.tar.bz2
lumina-0f1b916df0bd430a280af9a874a68c23b2aac591.zip
add lumina-notify utility
Diffstat (limited to 'src-qt5/desktop-utils/lumina-notify')
-rw-r--r--src-qt5/desktop-utils/lumina-notify/main.cpp19
-rw-r--r--src-qt5/desktop-utils/lumina-notify/qnotify.pro16
2 files changed, 35 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-notify/main.cpp b/src-qt5/desktop-utils/lumina-notify/main.cpp
new file mode 100644
index 00000000..f9d76f28
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-notify/main.cpp
@@ -0,0 +1,19 @@
+//-------------------------------------------------
+// Created by q5sys
+// Released under MIT License 2017-03-08
+// A Simple GUI Dialog Program
+//-------------------------------------------------
+
+#include <QApplication>
+#include <QMessageBox>
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ QMessageBox *messageBox = new QMessageBox;
+ messageBox->setText(argv[1]);
+ QPushButton *pushButtonOk = messageBox->addButton(argv[2], QMessageBox::YesRole);
+ messageBox->QDialog::setWindowTitle(argv[3]);
+ messageBox->show();
+ return a.exec();
+}
diff --git a/src-qt5/desktop-utils/lumina-notify/qnotify.pro b/src-qt5/desktop-utils/lumina-notify/qnotify.pro
new file mode 100644
index 00000000..8b1317d7
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-notify/qnotify.pro
@@ -0,0 +1,16 @@
+#-------------------------------------------------
+# Created by q5sys
+# Released under MIT License 2017-03-08
+#-------------------------------------------------
+
+QT += core gui
+
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
+
+TARGET = qnotify
+TEMPLATE = app
+
+DEFINES += QT_DEPRECATED_WARNINGS
+
+SOURCES += main.cpp
+
bgstack15