aboutsummaryrefslogtreecommitdiff
path: root/lumina-fileinfo/dialog.h
blob: 6f0a4dbfccea90394a2a8e6242841e7a1696a055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#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();

public slots:
    void setupIcons();

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
bgstack15