summaryrefslogtreecommitdiffstats
path: root/mainwindow.h
diff options
context:
space:
mode:
authorMartin Talarczyk <talarczyk.martin@fh-swf.de>2015-09-17 10:58:30 +0200
committerMartin Talarczyk <talarczyk.martin@fh-swf.de>2015-09-17 10:58:30 +0200
commitd0d366731425ad6c5a221d5c12968632e7ba1478 (patch)
tree205d573b944ea3a16eb26fc8e9c2675901f8854f /mainwindow.h
parent9dd195ddd3bce8183a43f9653e7caec5dd0a23ee (diff)
downloadsrc-d0d366731425ad6c5a221d5c12968632e7ba1478.tar.gz
src-d0d366731425ad6c5a221d5c12968632e7ba1478.zip
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.
Diffstat (limited to 'mainwindow.h')
-rw-r--r--mainwindow.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/mainwindow.h b/mainwindow.h
index a3948a9..c505448 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -1,7 +1,13 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
+#include <QFileDialog>
#include <QMainWindow>
+#include <QDebug>
+
+#include "crypt/hybridcrypt.h"
+#include "passworddialog.h"
+#include "publickeyimportdialog.h"
namespace Ui {
class MainWindow;
@@ -15,8 +21,28 @@ public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
+private slots:
+ void on_pushButtonDecrypt_clicked();
+
+ void on_pushButtonEncrypt_clicked();
+
+ void on_pushButtonOpenFile_clicked();
+
+ void on_actionImport_triggered();
+
+
+
+ void on_actionClose_triggered();
+
+ void on_actionExportMyPublicKey_triggered();
+
private:
+
+ QString readKeyFilename(QString titel);
+ QString readPassword();
+
Ui::MainWindow *ui;
+
};
#endif // MAINWINDOW_H