• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

Public Types | Public Slots | Public Member Functions | List of all members
FastSizeHintItemDelegate Class Reference

#include <fastsizehintitemdelegate.h>

Inheritance diagram for FastSizeHintItemDelegate:
Inheritance graph
[legend]

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

Author
Nick Shaforostoff

Definition at line 42 of file fastsizehintitemdelegate.h.

Member Enumeration Documentation

enum FastSizeHintItemDelegate::Roles
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.

FastSizeHintItemDelegate::~FastSizeHintItemDelegate ( )
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.

void FastSizeHintItemDelegate::reset ( )
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:
  • fastsizehintitemdelegate.h
  • fastsizehintitemdelegate.cpp
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

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal