comparison ui/mainwindow.h @ 445:b3721ded6f5b

Sort and filter the certificate list, changed certificate item roles.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Apr 2014 11:53:57 +0200
parents 16b5cd858571
children b1b14daf2116
comparison
equal deleted inserted replaced
443:20f539866fa8 445:b3721ded6f5b
114 void createActions(); 114 void createActions();
115 void createMenuBar(); 115 void createMenuBar();
116 void createContent(); 116 void createContent();
117 void loadCertificateList(); 117 void loadCertificateList();
118 118
119 /** @brief Create a separator item for the certificate list.
120 *
121 * The item uses a SeparatorItemDelegate for layout and styling at the given
122 * index.
123 *
124 * @param[in] text The text for the item.
125 * @param[in] index The index of the item.
126 *
127 * @return The new separator item.
128 */
129 QListWidgetItem* createSeparator(const QString &text, int index);
130
131 /** @brief Create a certificate list item for the list.
132 *
133 * The item uses a CertificateItemDelegate for layout and styling.
134 *
135 * @param[in] text The certificate to display.
136 * @param[in] status The certificate status.
137 * @param[in] index The index of the item.
138 *
139 * @return The new separator item.
140 */
141 QListWidgetItem* createListItem(const Certificate &certificate,
142 Certificate::Status status, int index);
143
119 /* Are we running in tray mode ?*/ 144 /* Are we running in tray mode ?*/
120 const bool mTrayMode; 145 const bool mTrayMode;
121 /* The message currently shown at intervals */ 146 /* The message currently shown at intervals */
122 QString mCurMessage; 147 QString mCurMessage;
123 QString mInstalledSWVersion; 148 QString mInstalledSWVersion;

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