comparison ui/mainwindow.h @ 198:56ae02b4a0fc

Merged
author Sascha Wilde <wilde@intevation.de>
date Wed, 26 Mar 2014 12:38:10 +0100
parents 5f0d45ca9de4
children f7176140d20d
comparison
equal deleted inserted replaced
197:5d380b662198 198:56ae02b4a0fc
8 8
9 #include <QSystemTrayIcon> 9 #include <QSystemTrayIcon>
10 #include <QMainWindow> 10 #include <QMainWindow>
11 #include <QSettings> 11 #include <QSettings>
12 #include <QMenuBar> 12 #include <QMenuBar>
13 #include <QListWidget>
14 #include <QTextEdit>
13 15
14 #include "downloader.h" 16 #include "downloader.h"
15 #include "certificatelist.h" 17 #include "certificatelist.h"
16 class QMenu; 18 class QMenu;
17 class QAction; 19 class QAction;
47 /** @brief Trigger the appropiate action depending on the state */ 49 /** @brief Trigger the appropiate action depending on the state */
48 void messageClicked(); 50 void messageClicked();
49 void showSettings(); 51 void showSettings();
50 void showHelp(); 52 void showHelp();
51 void showAbout(); 53 void showAbout();
54 void showDetails(QListWidgetItem*);
52 55
53 private: 56 private:
54 /** @brief check the integrity of available files. 57 /** @brief check the integrity of available files.
55 * 58 *
56 * Do not use this as a trust check as this only works on 59 * Do not use this as a trust check as this only works on
61 */ 64 */
62 void verifyAvailableData(); 65 void verifyAvailableData();
63 void createTrayIcon(); 66 void createTrayIcon();
64 void createActions(); 67 void createActions();
65 void createMenuBar(); 68 void createMenuBar();
69 void createContent();
70 void loadCertificateList();
66 71
67 QString mCurMessage; 72 QString mCurMessage;
68 QString mInstalledSWVersion; 73 QString mInstalledSWVersion;
69 QString mInstalledListVersion; 74 QString mInstalledListVersion;
70 75
77 QAction *mQuitAction; 82 QAction *mQuitAction;
78 CurrentState mCurState; 83 CurrentState mCurState;
79 QMenuBar *mMenuBar; 84 QMenuBar *mMenuBar;
80 85
81 CertificateList mListToInstall; 86 CertificateList mListToInstall;
87
88 QListWidget *certificateList;
89 QTextEdit *certificateDetails;
82 }; 90 };
83 91
84 #endif // MAINWINDOW_H 92 #endif // MAINWINDOW_H

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