summaryrefslogtreecommitdiffstats
path: root/passworddialog.h
blob: 4ba57a509ec070252784a79f0eab4c9716008d63 (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
#ifndef PASSWORDDIALOG_H
#define PASSWORDDIALOG_H

#include <QDialog>
#include "mainwindow.h"

namespace Ui {
class PasswordDialog;
}

class PasswordDialog : public QDialog
{
    Q_OBJECT

public:
    explicit PasswordDialog(MainWindow *parent = 0);
    ~PasswordDialog();
    void setPassword(QString);
    QString getPassword();
    void setTemplate(QString);
    void setFile(QString);

private slots:
    void on_checkBoxShow_stateChanged(int arg1);
    void on_createPasswordButton_clicked();

private:
    Ui::PasswordDialog *ui;
    MainWindow *mainWindow;
    QString passTemplate;
    void addFields();
    QStringList fields;

};

#endif // PASSWORDDIALOG_H