16 #ifndef QGSTABLEWIDGETITEM_H
17 #define QGSTABLEWIDGETITEM_H
19 #include <QTableWidget>
46 void setSortRole(
int role );
54 bool operator <(
const QTableWidgetItem &other )
const override;
57 int mSortRole = Qt::DisplayRole;
bool operator<(const QVariant &v1, const QVariant &v2)
Compares two QVariant values and returns whether the first is less than the second.