aboutsummaryrefslogtreecommitdiff
path: root/desktop-editor/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-editor/dialog.h')
-rw-r--r--desktop-editor/dialog.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/desktop-editor/dialog.h b/desktop-editor/dialog.h
new file mode 100644
index 00000000..1a53be1a
--- /dev/null
+++ b/desktop-editor/dialog.h
@@ -0,0 +1,46 @@
+#ifndef DIALOG_H
+#define DIALOG_H
+
+#include <QDialog>
+#include <LuminaXDG.h>
+
+namespace Ui {
+class Dialog;
+}
+
+class Dialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit Dialog(QWidget *parent = 0);
+
+ XDGDesktop DF ;
+
+ QString desktopFileName ;
+ QString iconFileName;
+ QString desktopType;
+
+ void Initialise(QString);
+ void MissingInputs();
+ void LoadDesktopFile(QString);
+
+
+ ~Dialog();
+
+private slots:
+
+ void on_pbCommand_clicked();
+
+ void on_pbWorkingDir_clicked();
+
+ void on_pbApply_clicked();
+
+
+ void on_pbIcon_clicked();
+
+private:
+ Ui::Dialog *ui;
+};
+
+#endif // DIALOG_H
bgstack15