diff ui/certificateitemdelegate.h @ 433:2e5499fae159

Set sizeHint for certificate item delegates.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 22 Apr 2014 12:33:10 +0200
parents 17e1c8f37d72
children b3721ded6f5b
line wrap: on
line diff
--- a/ui/certificateitemdelegate.h	Tue Apr 22 11:20:13 2014 +0200
+++ b/ui/certificateitemdelegate.h	Tue Apr 22 12:33:10 2014 +0200
@@ -31,6 +31,8 @@
      */
     void paint(QPainter *painter, const QStyleOptionViewItem &option,
         const QModelIndex &index) const;
+    QSize sizeHint(const QStyleOptionViewItem &option,
+        const QModelIndex &index) const;
 
     /** @brief different roles for this tiem */
     enum ItemRole {

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