Mercurial > trustbridge
diff ui/mainwindow.h @ 189:5f0d45ca9de4
Show certificates in the list view and details in the textfield.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 26 Mar 2014 11:44:16 +0100 |
parents | 0c06a608e15f |
children | f7176140d20d |
line wrap: on
line diff
--- a/ui/mainwindow.h Wed Mar 26 09:12:10 2014 +0100 +++ b/ui/mainwindow.h Wed Mar 26 11:44:16 2014 +0100 @@ -10,6 +10,8 @@ #include <QMainWindow> #include <QSettings> #include <QMenuBar> +#include <QListWidget> +#include <QTextEdit> #include "downloader.h" #include "certificatelist.h" @@ -49,6 +51,7 @@ void showSettings(); void showHelp(); void showAbout(); + void showDetails(QListWidgetItem*); private: /** @brief check the integrity of available files. @@ -64,6 +67,7 @@ void createActions(); void createMenuBar(); void createContent(); + void loadCertificateList(); QString mCurMessage; QString mInstalledSWVersion; @@ -80,6 +84,9 @@ QMenuBar *mMenuBar; CertificateList mListToInstall; + + QListWidget *certificateList; + QTextEdit *certificateDetails; }; #endif // MAINWINDOW_H