diff options
author | q5sys <jt@obs-sec.com> | 2017-05-01 12:38:57 -0400 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2017-05-01 12:38:57 -0400 |
commit | 01610a8efa628529ad4899827209a4181942d895 (patch) | |
tree | 803fddb1ee6095e1c35c782b2da04fe1c04eff04 /src-qt5/desktop-utils/lumina-xdg-entry/mainwindow.h | |
parent | Translated using Weblate (lumina_FM@lt (generated)) (diff) | |
download | lumina-01610a8efa628529ad4899827209a4181942d895.tar.gz lumina-01610a8efa628529ad4899827209a4181942d895.tar.bz2 lumina-01610a8efa628529ad4899827209a4181942d895.zip |
add inital commit for .desktop file creator
Diffstat (limited to 'src-qt5/desktop-utils/lumina-xdg-entry/mainwindow.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-xdg-entry/mainwindow.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-xdg-entry/mainwindow.h b/src-qt5/desktop-utils/lumina-xdg-entry/mainwindow.h new file mode 100644 index 00000000..1aad8325 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-xdg-entry/mainwindow.h @@ -0,0 +1,40 @@ +//=========================================== +// Copyright (c) 2017, q5sys (JT) +// Available under the MIT license +// See the LICENSE file for full details +//=========================================== + +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include <QMainWindow> + +namespace Ui { +class MainWindow; +} + +class MainWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit MainWindow(QWidget *parent = 0); + ~MainWindow(); + + QString name, genericname, comment, icon, executable, terminal, keywords, catList, categories, iconpath, execpath; + QString namefield, genericnamefield, commentfield, iconfield, terminalfield,execfield, categoriesfield, keywordfield; + +public slots: + void setIcon(); + void setExec(); + void setCategories(); + void setOtherValues(); + void setDesktopFields(); + void save(); + + +private: + Ui::MainWindow *ui; +}; + +#endif // MAINWINDOW_H |