Lines Matching refs:painter
69 FilterBarComboBoxDelegate :: paint( QPainter * painter,
81 myCombo->style()->drawPrimitive(QStyle::PE_IndicatorToolBarSeparator, &opt, painter, myCombo);
108 drawBackground( painter, option, index );
111 drawDecoration( painter, option, decorationRect, decoration(option2,index.data(Qt::DecorationRole)) );
112 drawDisplay( painter, option, displayRect, index.data(Qt::DisplayRole).toString() );
113 drawDisplay( painter, disabledOption, countRect, index.data(TorrentCountRole).toString() );
114 drawFocus( painter, option, displayRect|countRect );
155 QStylePainter painter(this);
156 painter.setPen(palette().color(QPalette::Text));
161 painter.drawComplexControl(QStyle::CC_ComboBox, opt);
181 s->drawItemPixmap( &painter, rect, Qt::AlignLeft|Qt::AlignVCenter, pixmap );
189 const QPen pen = painter.pen( );
190 painter.setPen( opt.palette.color( QPalette::Disabled, QPalette::Text ) );
191 QRect r = s->itemTextRect( painter.fontMetrics(), rect, Qt::AlignRight|Qt::AlignVCenter, false, text );
192 painter.drawText( r, 0, text );
194 painter.setPen( pen );
199 text = painter.fontMetrics().elidedText ( text, Qt::ElideRight, rect.width() );
200 s->drawItemText( &painter, rect, Qt::AlignLeft|Qt::AlignVCenter, opt.palette, true, text );