| 245 | } |
| 246 | |
| 247 | QString InstanceView::groupNameAt(const QPoint& point) |
| 248 | { |
| 249 | executeDelayedItemsLayout(); |
| 250 | |
| 251 | VisualGroup::HitResults hitResult; |
| 252 | auto group = categoryAt(point + offset(), hitResult); |
| 253 | if (group && (hitResult & (VisualGroup::HeaderHit | VisualGroup::BodyHit))) { |
| 254 | return group->text; |
| 255 | } |
| 256 | return QString(); |
| 257 | } |
| 258 | |
| 259 | int InstanceView::calculateItemsPerRow() const |
| 260 | { |
no test coverage detected