lokalize
FastSizeHintItemDelegate Class Reference
  #include <fastsizehintitemdelegate.h>
Inheritance diagram for FastSizeHintItemDelegate:

Public Types | |
| enum | Roles { HtmlDisplayRole =Qt::UserRole+5 } | 
Public Slots | |
| void | reset () | 
Public Member Functions | |
| FastSizeHintItemDelegate (QObject *parent, const QVector< bool > &slc, const QVector< bool > &rtc) | |
| ~FastSizeHintItemDelegate () | |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const | 
| QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const | 
Detailed Description
remember to connect appropriate signals to reset slot for delegate to have actual cache
Definition at line 42 of file fastsizehintitemdelegate.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| HtmlDisplayRole | |
Definition at line 47 of file fastsizehintitemdelegate.h.
Constructor & Destructor Documentation
| FastSizeHintItemDelegate::FastSizeHintItemDelegate | ( | QObject * | parent, | 
| const QVector< bool > & | slc, | ||
| const QVector< bool > & | rtc | ||
| ) | 
Definition at line 31 of file fastsizehintitemdelegate.cpp.
      
  | 
  inline | 
Definition at line 53 of file fastsizehintitemdelegate.h.
Member Function Documentation
| void FastSizeHintItemDelegate::paint | ( | QPainter * | painter, | 
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const | 
Definition at line 60 of file fastsizehintitemdelegate.cpp.
      
  | 
  slot | 
Definition at line 38 of file fastsizehintitemdelegate.cpp.
| QSize FastSizeHintItemDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, | 
| const QModelIndex & | index | ||
| ) | const | 
Definition at line 43 of file fastsizehintitemdelegate.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference