QGIS/python/gui/auto_generated/qgsdetaileditemdelegate.sip.in

60 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-05-23 14:44:34 +02:00
/************************************************************************
* 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
{
2017-05-23 14:44:34 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
A custom model/view delegate that can display an icon, heading
and detail sections.
2017-12-05 20:04:14 -04:00
.. seealso:: :py:func:`also`
%End
2017-05-23 14:44:34 +02:00
%TypeHeaderCode
#include "qgsdetaileditemdelegate.h"
%End
public:
QgsDetailedItemDelegate( QObject *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsDetailedItemDelegate
%End
~QgsDetailedItemDelegate();
2017-05-23 14:44:34 +02:00
virtual void paint( QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index ) const;
2017-05-23 14:44:34 +02:00
%Docstring
Reimplement for parent class
%End
virtual QSize sizeHint( const QStyleOptionViewItem &option,
const QModelIndex &index ) const;
2017-05-23 14:44:34 +02:00
%Docstring
Reimplement for parent class
%End
void setVerticalSpacing( int value );
int verticalSpacing() const;
void setHorizontalSpacing( int value );
int horizontalSpacing() const;
2017-05-23 14:44:34 +02:00
};
2017-05-23 14:44:34 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsdetaileditemdelegate.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/