2017-06-08 11:26:03 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgstablewidgetitem.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
2016-03-27 15:03:13 +02:00
|
|
|
|
|
|
|
class QgsTableWidgetItem : QTableWidgetItem
|
|
|
|
{
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
This can be used like a regular QTableWidgetItem with the difference that a
|
|
|
|
specific role can be set to sort.
|
|
|
|
%End
|
|
|
|
|
2016-03-27 15:03:13 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgstablewidgetitem.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
QgsTableWidgetItem();
|
2017-06-08 11:26:03 +02:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsTableWidgetItem( const QString &text );
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
Creates a new table widget item with the specified text.
|
|
|
|
%End
|
|
|
|
|
|
|
|
|
|
|
|
void setSortRole( int role );
|
|
|
|
%Docstring
|
|
|
|
Set the role by which the items should be sorted.
|
|
|
|
By default this will be set to Qt.DisplayRole
|
|
|
|
%End
|
2016-03-27 15:03:13 +02:00
|
|
|
|
|
|
|
int sortRole() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
Get the role by which the items should be sorted.
|
|
|
|
By default this will be Qt.DisplayRole
|
|
|
|
:rtype: int
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual bool operator <( const QTableWidgetItem &other ) const;
|
|
|
|
|
|
|
|
|
2016-03-27 15:03:13 +02:00
|
|
|
};
|
2017-06-08 11:26:03 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgstablewidgetitem.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|