comparison 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
comparison
equal deleted inserted replaced
431:280f2556a48b 432:16b5cd858571
18 #include <QSettings> 18 #include <QSettings>
19 #include <QMenuBar> 19 #include <QMenuBar>
20 #include <QListWidget> 20 #include <QListWidget>
21 #include <QTextEdit> 21 #include <QTextEdit>
22 #include <QPushButton> 22 #include <QPushButton>
23 #include <QLabel>
24 #include <QCheckBox>
23 25
24 #include "downloader.h" 26 #include "downloader.h"
25 #include "certificatelist.h" 27 #include "certificatelist.h"
26 class QMenu; 28 class QMenu;
27 class QAction; 29 class QAction;
28 class QTimer; 30 class QTimer;
31
32 Q_DECLARE_METATYPE(Certificate);
29 33
30 class MainWindow : public QMainWindow 34 class MainWindow : public QMainWindow
31 { 35 {
32 Q_OBJECT 36 Q_OBJECT
33 37
136 /* Previously made "unselect" choices in the form of 140 /* Previously made "unselect" choices in the form of
137 * base64lines with I:/R: prefix */ 141 * base64lines with I:/R: prefix */
138 QStringList mPreviouslyUnselected; 142 QStringList mPreviouslyUnselected;
139 143
140 QListWidget *mCertListWidget; 144 QListWidget *mCertListWidget;
141 QTextEdit *certificateDetails; 145
146 QLabel *mSubjectCN;
147 QLabel *mSubjectOU;
148 QLabel *mIssuerCN;
149 QLabel *mIssuerOU;
150 QLabel *mValidFrom;
151 QLabel *mValidTo;
152 QLabel *mFingerprint;
153
154 QCheckBox *mAutoUpdateOption;
155 QCheckBox *mAutoStartOption;
156
142 QPushButton *installButton; 157 QPushButton *installButton;
143 QPushButton *quitButton; 158 QPushButton *quitButton;
144 }; 159 };
145 160
146 #endif // MAINWINDOW_H 161 #endif // MAINWINDOW_H

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