aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/ScriptDialog.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-30 15:05:54 -0400
committerKen Moore <moorekou@gmail.com>2016-06-30 15:05:54 -0400
commit70a35d68f5db7abd57210bc289a334df8dbc1dd2 (patch)
tree93fcc923e1ba4dabf6d8fac04188a00618dff73e /src-qt5/core-utils/lumina-config/ScriptDialog.h
parentFix some whitespace issues with the ls.json.sh script. (diff)
downloadlumina-70a35d68f5db7abd57210bc289a334df8dbc1dd2.tar.gz
lumina-70a35d68f5db7abd57210bc289a334df8dbc1dd2.tar.bz2
lumina-70a35d68f5db7abd57210bc289a334df8dbc1dd2.zip
Add the new jsonmenu menu plugin to lumina-config, with a new dialog for setting it up.
Diffstat (limited to 'src-qt5/core-utils/lumina-config/ScriptDialog.h')
-rw-r--r--src-qt5/core-utils/lumina-config/ScriptDialog.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src-qt5/core-utils/lumina-config/ScriptDialog.h b/src-qt5/core-utils/lumina-config/ScriptDialog.h
new file mode 100644
index 00000000..07ac15d4
--- /dev/null
+++ b/src-qt5/core-utils/lumina-config/ScriptDialog.h
@@ -0,0 +1,41 @@
+//===========================================
+// Lumina-DE source code
+// Copyright (c) 2014, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+// This is the dialog for selecting an installed application
+//===========================================
+#ifndef _LUMINA_FILE_MANAGER_SCRIPT_SELECT_DIALOG_H
+#define _LUMINA_FILE_MANAGER_SCRIPT_SELECT_DIALOG_H
+
+#include "globals.h"
+
+namespace Ui{
+ class ScriptDialog;
+};
+
+class ScriptDialog : public QDialog{
+ Q_OBJECT
+public:
+ ScriptDialog(QWidget *parent = 0);
+ ~ScriptDialog();
+
+ //Main interaction functions
+ bool isValid();
+ QString icon();
+ QString name();
+ QString command();
+
+private:
+ Ui::ScriptDialog *ui;
+ bool ok;
+
+private slots:
+ void on_pushApply_clicked();
+ void on_pushCancel_clicked();
+ void on_tool_getexec_clicked();
+ void on_tool_geticon_clicked();
+ void checkItems(bool firstrun = false);
+};
+#endif
bgstack15