aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/ScriptDialog.h
diff options
context:
space:
mode:
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