Lines Matching defs:painter
76 TorrentDelegateMin :: drawTorrent( QPainter * painter, const QStyleOptionViewItem& option, const Torrent& tor ) const
93 painter->save( );
101 painter->fillRect(option.rect, option.palette.brush(cg, QPalette::Highlight));
148 painter->setPen( QColor( "red" ) );
150 painter->setPen( option.palette.color( cg, cr ) );
151 tor.getMimeTypeIcon().paint( painter, iconArea, Qt::AlignCenter, im, qs );
152 painter->setFont( nameFont );
153 painter->drawText( nameArea, 0, nameFM.elidedText( nameStr, Qt::ElideRight, nameArea.width( ) ) );
154 painter->setFont( statusFont );
155 painter->drawText( statusArea, 0, statusStr );
174 style->drawControl( QStyle::CE_ProgressBar, myProgressBarStyle, painter );
176 painter->restore( );