Lines Matching refs:childSize
153 int childSize = 0; in createChildrenSimple() local
155 childSize = (int) ( scale * (*it)->totalAllocatedSize() ); in createChildrenSimple()
157 if ( childSize >= _parentView->minTileSize() ) in createChildrenSimple()
162 childRect = QRectF( rect.x() + offset, rect.y(), childSize, rect.height() ); in createChildrenSimple()
164 childRect = QRectF( rect.x(), rect.y() + offset, rect.width(), childSize ); in createChildrenSimple()
173 offset += childSize; in createChildrenSimple()
316 int childSize = (int) ( (*it)->totalAllocatedSize() / (double) sum * primary + 0.5 ); in layoutRow() local
318 if ( childSize > remaining ) // Prevent overflow because of accumulated rounding errors in layoutRow()
319 childSize = remaining; in layoutRow()
321 remaining -= childSize; in layoutRow()
323 if ( childSize >= _parentView->minTileSize() ) in layoutRow()
328 childRect = QRectF( rect.x() + offset, rect.y(), childSize, secondary ); in layoutRow()
330 childRect = QRectF( rect.x(), rect.y() + offset, secondary, childSize ); in layoutRow()
338 offset += childSize; in layoutRow()