aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-notify
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-notify')
-rw-r--r--src-qt5/desktop-utils/lumina-notify/main.cpp19
1 files changed, 19 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();
+}
bgstack15