void ImageCategoryDrawer::setDefaultViewOptions(const QStyleOptionViewItem& option) { d->font = option.font; if (option.rect.width() != d->rect.width()) { updateRectsAndPixmaps(option.rect.width()); } }
void ImportCategoryDrawer::invalidatePaintingCache() { if (d->rect.isEmpty()) { return; } updateRectsAndPixmaps(d->rect.width()); }
void ImageCategoryDrawer::invalidatePaintingCache() { if (d->rect.isNull()) { return; } updateRectsAndPixmaps(d->rect.width()); }