| 20 | public: |
| 21 | TreeIntItem(QTreeWidget *parent = nullptr) : QTreeWidgetItem(parent) {} |
| 22 | bool operator< (const QTreeWidgetItem& x) const |
| 23 | { |
| 24 | int col = treeWidget()->sortColumn(); |
| 25 | if (col == C_SEED) |
| 26 | return data(col, Qt::UserRole).toLongLong() < x.data(col, Qt::UserRole).toLongLong(); |
| 27 | return QTreeWidgetItem::operator< (x); |
| 28 | } |
| 29 | }; |
| 30 | |
| 31 | void AnalysisStructures::run() |