mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgstablewidgetitem.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
class QgsTableWidgetItem : QTableWidgetItem
|
|
{
|
|
%Docstring
|
|
This can be used like a regular QTableWidgetItem with the difference that a
|
|
specific role can be set to sort.
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgstablewidgetitem.h"
|
|
%End
|
|
public:
|
|
|
|
QgsTableWidgetItem();
|
|
%Docstring
|
|
Constructor for QgsTableWidgetItem.
|
|
%End
|
|
|
|
QgsTableWidgetItem( const QString &text );
|
|
%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
|
|
|
|
int sortRole() const;
|
|
%Docstring
|
|
Gets the role by which the items should be sorted.
|
|
By default this will be Qt.DisplayRole
|
|
%End
|
|
|
|
virtual bool operator <( const QTableWidgetItem &other ) const;
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgstablewidgetitem.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|