diff options
author | Ken Moore <moorekou@gmail.com> | 2015-04-21 00:12:51 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-04-21 00:12:51 -0400 |
commit | 6729dcd0cdafe09b061f9d7b36648388bbae4534 (patch) | |
tree | 7605ac7551ec061013e60aa9a73cc9380ebe3c9b /lumina-fileinfo/dialog.h | |
parent | Make sure to check the list of watched files and reset it if something was re... (diff) | |
parent | test the return code of the command to mv file to refresh the icon. (diff) | |
download | lumina-6729dcd0cdafe09b061f9d7b36648388bbae4534.tar.gz lumina-6729dcd0cdafe09b061f9d7b36648388bbae4534.tar.bz2 lumina-6729dcd0cdafe09b061f9d7b36648388bbae4534.zip |
Merge pull request #92 from william-os4y/deskEditor
I propose you the lumina-fileinfo
Diffstat (limited to 'lumina-fileinfo/dialog.h')
-rw-r--r-- | lumina-fileinfo/dialog.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/lumina-fileinfo/dialog.h b/lumina-fileinfo/dialog.h new file mode 100644 index 00000000..cfc9fde7 --- /dev/null +++ b/lumina-fileinfo/dialog.h @@ -0,0 +1,48 @@ +#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 inMemoryFile; + + 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(); + + void textReplace(QString &origin, QString from, QString to, QString topic); + void copyTemplate(QString templateType); + + void on_lName_textChanged(QString text); + void on_lComment_textChanged(QString text); + +private: + Ui::Dialog *ui; +}; + +#endif // DIALOG_H |