Mercurial > trustbridge
comparison ui/administratorwindow.h @ 1316:ff9cd05e861e
(issue166) Fix certificiate removal
The index that should be removed came from the filter proxy model
and did not map to the real index. This was broken.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 13 Oct 2014 17:23:35 +0200 |
parents | 2a1aa9df8f11 |
children | d009da9cfa10 |
comparison
equal
deleted
inserted
replaced
1315:12ed0b72e9f5 | 1316:ff9cd05e861e |
---|---|
22 #include "certificatelist.h" | 22 #include "certificatelist.h" |
23 #include "certificatetablemodel.h" | 23 #include "certificatetablemodel.h" |
24 | 24 |
25 class QMenu; | 25 class QMenu; |
26 class QAction; | 26 class QAction; |
27 class QSortFilterProxyModel; | |
27 | 28 |
28 /** @brief Main Window of the Administrator application | 29 /** @brief Main Window of the Administrator application |
29 * | 30 * |
30 * The controlling class of the Admin application. Holds | 31 * The controlling class of the Admin application. Holds |
31 * the certificate data and the settings of the application. | 32 * the certificate data and the settings of the application. |
114 QMenuBar *menuBar; | 115 QMenuBar *menuBar; |
115 | 116 |
116 QTableView *certificateView; | 117 QTableView *certificateView; |
117 CertificateList mCertList; | 118 CertificateList mCertList; |
118 CertificateTabelModel *certificateModel; | 119 CertificateTabelModel *certificateModel; |
120 QSortFilterProxyModel *mFilterModel; | |
119 QPushButton *saveButton; | 121 QPushButton *saveButton; |
120 QPushButton *loadButton; | 122 QPushButton *loadButton; |
121 QPushButton *addButton; | 123 QPushButton *addButton; |
122 QPushButton *removeButton; | 124 QPushButton *removeButton; |
123 }; | 125 }; |