1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsdetaileditemdelegate.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsDetailedItemDelegate : QAbstractItemDelegate
{
%Docstring(signature="appended")
A custom model/view delegate that can display an icon, heading
and detail sections.
.. seealso:: :py:func:`also`
%End
%TypeHeaderCode
#include "qgsdetaileditemdelegate.h"
%End
public:
QgsDetailedItemDelegate( QObject *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsDetailedItemDelegate
%End
~QgsDetailedItemDelegate();
virtual void paint( QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index ) const;
%Docstring
Reimplement for parent class
%End
virtual QSize sizeHint( const QStyleOptionViewItem &option,
const QModelIndex &index ) const;
%Docstring
Reimplement for parent class
%End
void setVerticalSpacing( int value );
int verticalSpacing() const;
void setHorizontalSpacing( int value );
int horizontalSpacing() const;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsdetaileditemdelegate.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
|