QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsDetailedItemDelegate Class Reference

A custom model/view delegate that can display an icon, heading and detail sections. More...

#include <qgsdetaileditemdelegate.h>

Inheritance diagram for QgsDetailedItemDelegate:
Inheritance graph
[legend]

Public Member Functions

 QgsDetailedItemDelegate (QObject *parent=0)
 
 ~QgsDetailedItemDelegate ()
 
void paint (QPainter *thePainter, const QStyleOptionViewItem &theOption, const QModelIndex &theIndex) const
 reimplement for parent class More...
 
QSize sizeHint (const QStyleOptionViewItem &theOption, const QModelIndex &theIndex) const
 reimplement for parent class More...
 
void setVerticalSpacing (int theValue)
 
int verticalSpacing () const
 
void setHorizontalSpacing (int theValue)
 
int horizontalSpacing () const
 

Detailed Description

A custom model/view delegate that can display an icon, heading and detail sections.

See also
also QgsDetailedItemData

Constructor & Destructor Documentation

QgsDetailedItemDelegate::QgsDetailedItemDelegate ( QObject *  parent = 0)
QgsDetailedItemDelegate::~QgsDetailedItemDelegate ( )

Member Function Documentation

int QgsDetailedItemDelegate::horizontalSpacing ( ) const
void QgsDetailedItemDelegate::paint ( QPainter *  thePainter,
const QStyleOptionViewItem &  theOption,
const QModelIndex &  theIndex 
) const

reimplement for parent class

void QgsDetailedItemDelegate::setHorizontalSpacing ( int  theValue)
void QgsDetailedItemDelegate::setVerticalSpacing ( int  theValue)
QSize QgsDetailedItemDelegate::sizeHint ( const QStyleOptionViewItem &  theOption,
const QModelIndex &  theIndex 
) const

reimplement for parent class

int QgsDetailedItemDelegate::verticalSpacing ( ) const

The documentation for this class was generated from the following files: