diff ui/mainwindow.h @ 432:16b5cd858571

Updated layout and certificate details in trustbridge installer.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 22 Apr 2014 11:20:13 +0200
parents 17e1c8f37d72
children b3721ded6f5b
line wrap: on
line diff
--- a/ui/mainwindow.h	Tue Apr 22 10:38:02 2014 +0200
+++ b/ui/mainwindow.h	Tue Apr 22 11:20:13 2014 +0200
@@ -20,6 +20,8 @@
 #include <QListWidget>
 #include <QTextEdit>
 #include <QPushButton>
+#include <QLabel>
+#include <QCheckBox>
 
 #include "downloader.h"
 #include "certificatelist.h"
@@ -27,6 +29,8 @@
 class QAction;
 class QTimer;
 
+Q_DECLARE_METATYPE(Certificate);
+
 class MainWindow : public QMainWindow
 {
     Q_OBJECT
@@ -138,7 +142,18 @@
     QStringList mPreviouslyUnselected;
 
     QListWidget *mCertListWidget;
-    QTextEdit *certificateDetails;
+
+    QLabel *mSubjectCN;
+    QLabel *mSubjectOU;
+    QLabel *mIssuerCN;
+    QLabel *mIssuerOU;
+    QLabel *mValidFrom;
+    QLabel *mValidTo;
+    QLabel *mFingerprint;
+
+    QCheckBox *mAutoUpdateOption;
+    QCheckBox *mAutoStartOption;
+
     QPushButton *installButton;
     QPushButton *quitButton;
 };

http://wald.intevation.org/projects/trustbridge/