QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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>

Public Member Functions

 QgsDetailedItemDelegate (QObject *parent=0)
 ~QgsDetailedItemDelegate ()
void paint (QPainter *thePainter, const QStyleOptionViewItem &theOption, const QModelIndex &theIndex) const
 reimplement for parent class
QSize sizeHint (const QStyleOptionViewItem &theOption, const QModelIndex &theIndex) const
 reimplement for parent class
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: