if (rows - trunc(rows)) rowsInt++;
+ retRect.setTop(retRect.top() +
+ (rowsInt * itemHeight) +
+ itemCategorizer->categoryHeight(listView->viewOptions()) +
+ listView->spacing() * 2);
+
if (listView->gridSize().isEmpty())
{
retRect.setTop(retRect.top() +
- (rowsInt * listView->spacing()) +
- (rowsInt * itemHeight) +
- itemCategorizer->categoryHeight(listView->viewOptions()) +
- listView->spacing() * 2);
- }
- else
- {
- retRect.setTop(retRect.top() +
- (rowsInt * itemHeight) +
- itemCategorizer->categoryHeight(listView->viewOptions()) +
- listView->spacing());
+ (rowsInt * listView->spacing()));
}
}
if (rows - trunc(rows)) rowsInt++;
+ retRect.setTop(retRect.top() +
+ (rowsInt * itemHeight) +
+ itemCategorizer->categoryHeight(listView->viewOptions()) +
+ listView->spacing() * 2);
+
if (listView->gridSize().isEmpty())
{
retRect.setTop(retRect.top() +
- (rowsInt * listView->spacing()) +
- (rowsInt * itemHeight) +
- itemCategorizer->categoryHeight(listView->viewOptions()) +
- listView->spacing() * 2);
- }
- else
- {
- retRect.setTop(retRect.top() +
- (rowsInt * itemHeight) +
- itemCategorizer->categoryHeight(listView->viewOptions()) +
- listView->spacing());
+ (rowsInt * listView->spacing()));
}
}