Mercurial > trustbridge
comparison ui/mainwindow.h @ 271:1ae15ea73850
Some GUI desing and layout changes.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 02 Apr 2014 13:36:21 +0200 |
parents | f7176140d20d |
children | 75f7288ad67b |
comparison
equal
deleted
inserted
replaced
267:89e8783866f8 | 271:1ae15ea73850 |
---|---|
10 #include <QMainWindow> | 10 #include <QMainWindow> |
11 #include <QSettings> | 11 #include <QSettings> |
12 #include <QMenuBar> | 12 #include <QMenuBar> |
13 #include <QListWidget> | 13 #include <QListWidget> |
14 #include <QTextEdit> | 14 #include <QTextEdit> |
15 #include <QPushButton> | |
15 | 16 |
16 #include "downloader.h" | 17 #include "downloader.h" |
17 #include "certificatelist.h" | 18 #include "certificatelist.h" |
18 class QMenu; | 19 class QMenu; |
19 class QAction; | 20 class QAction; |
51 void showSettings(); | 52 void showSettings(); |
52 void showStatus(); | 53 void showStatus(); |
53 void showHelp(); | 54 void showHelp(); |
54 void showAbout(); | 55 void showAbout(); |
55 void showDetails(QListWidgetItem*); | 56 void showDetails(QListWidgetItem*); |
57 void resizeButtons(); | |
56 | 58 |
57 private: | 59 private: |
58 /** @brief check the integrity of available files. | 60 /** @brief check the integrity of available files. |
59 * | 61 * |
60 * Do not use this as a trust check as this only works on | 62 * Do not use this as a trust check as this only works on |
86 | 88 |
87 CertificateList mListToInstall; | 89 CertificateList mListToInstall; |
88 | 90 |
89 QListWidget *certificateList; | 91 QListWidget *certificateList; |
90 QTextEdit *certificateDetails; | 92 QTextEdit *certificateDetails; |
93 QPushButton *installButton; | |
94 QPushButton *quitButton; | |
91 }; | 95 }; |
92 | 96 |
93 #endif // MAINWINDOW_H | 97 #endif // MAINWINDOW_H |