Lines Matching refs:relativeRow
409 const int relativeRow = index.row() - firstIndexRow; in leftToRightVisualRect() local
412 …item.topLeft.rx() = (relativeRow % maxItemsPerRow) * q->gridSize().width() + blockPos.x() + catego… in leftToRightVisualRect()
414 …item.topLeft.rx() = viewportWidth() - ((relativeRow % maxItemsPerRow) + 1) * q->gridSize().width()… in leftToRightVisualRect()
416 item.topLeft.ry() = (relativeRow / maxItemsPerRow) * q->gridSize().height(); in leftToRightVisualRect()
419 const int relativeRow = index.row() - firstIndexRow; in leftToRightVisualRect() local
423 …item.topLeft.rx() = (relativeRow % maxItemsPerRow) * itemSize.width() + blockPos.x() + categoryDra… in leftToRightVisualRect()
425 …item.topLeft.rx() = viewportWidth() - (relativeRow % maxItemsPerRow) * itemSize.width() + category… in leftToRightVisualRect()
427 item.topLeft.ry() = (relativeRow / maxItemsPerRow) * itemSize.height(); in leftToRightVisualRect()
484 const int relativeRow = index.row() - firstIndexRow; in topToBottomVisualRect() local
486 item.topLeft.ry() = relativeRow * q->gridSize().height(); in topToBottomVisualRect()
489 const int relativeRow = index.row() - firstIndexRow; in topToBottomVisualRect() local
492 item.topLeft.ry() = relativeRow * itemSize.height(); in topToBottomVisualRect()