diff options
Diffstat (limited to 'pica-client/dialogs/addaccountdialog.h')
| -rw-r--r-- | pica-client/dialogs/addaccountdialog.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pica-client/dialogs/addaccountdialog.h b/pica-client/dialogs/addaccountdialog.h new file mode 100644 index 0000000..976d020 --- /dev/null +++ b/pica-client/dialogs/addaccountdialog.h @@ -0,0 +1,41 @@ +#ifndef ADDACCOUNTDIALOG_H +#define ADDACCOUNTDIALOG_H + +#include <QDialog> +#include <QPushButton> +#include <QLineEdit> +#include <QRadioButton> + +class AddAccountDialog : public QDialog +{ + Q_OBJECT +public: + explicit AddAccountDialog(QWidget *parent = 0); + QString GetCertFilename(); + QString GetPkeyFilename(); + bool isCopyFilesChecked(); + +private: + QPushButton *btOK; + QPushButton *btCancel; + + QLineEdit *cert_filename; + QLineEdit *pkey_filename; + + QPushButton *bt_browse_cert; + QPushButton *bt_browse_pkey; + + QRadioButton *rb_copyfiles; + QRadioButton *rb_readinplace; +signals: + +public slots: +private slots: + void OK(); + void Cancel(); + void browse_cert(); + void browse_pkey(); + +}; + +#endif // ADDACCOUNTDIALOG_H |
