From d0d366731425ad6c5a221d5c12968632e7ba1478 Mon Sep 17 00:00:00 2001 From: Martin Talarczyk Date: Thu, 17 Sep 2015 10:58:30 +0200 Subject: MainWindow Funkson der Gui hergestelt. passworddialog ist Funksions Fähig und Kommentirt. das Treewidget bei PublicKeyImportDialog gegen listewiget ausgetrauscht und Teilweis Funksion hergestellt nicht Komentiert. Bei keinem Der Klassen ist eine verbindung mit der hybridcrypt gegebn. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- passworddialog.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'passworddialog.h') diff --git a/passworddialog.h b/passworddialog.h index 3db9b1f..9d894ec 100644 --- a/passworddialog.h +++ b/passworddialog.h @@ -1,7 +1,10 @@ #ifndef PASSWORDDIALOG_H #define PASSWORDDIALOG_H +#include +#include #include +#include namespace Ui { class PasswordDialog; @@ -12,9 +15,36 @@ class PasswordDialog : public QDialog Q_OBJECT public: + /** + * @brief PasswordDialog + * Öffnent ein Neues Fenster zur Passwortapfrage. + * @param parent + * Zeiger auf das Aufrufende widget. + */ explicit PasswordDialog(QWidget *parent = 0); + + /** + * @brief PasswordDialog + * Löscht das User Interface. + */ ~PasswordDialog(); + /** + * @brief getPassword + * Gibt die Eingabe aus dem Passwortfeld zurück. + * @return Das eingebenes Passwort. + */ + QString getPassword(); + +private slots: + /** + * @brief on_buttonBox_clicked + * Setz das Passwortfeld Zurück wenn der Zurücksetzen Butten gefrückt wurde. + * @param button + * Der Gedrückt Button. + */ + void on_buttonBox_clicked(QAbstractButton *button); + private: Ui::PasswordDialog *ui; }; -- cgit v1.2.3-70-g09d2