|
|
|
@ -1816,8 +1816,8 @@ CollectionDB::createDragPixmap( const KURL::List &urls, TQString textOverRide )
|
|
|
|
|
TQPainter p;
|
|
|
|
|
p.begin( &pmtext );
|
|
|
|
|
p.fillRect( 0, 0, pixmapW, fontH, TQBrush( TQt::black ) ); // border
|
|
|
|
|
p.fillRect( 1, 1, pixmapW-margin, fontH-margin, palette.brush( TQPalette::Normal, TQColorGroup::Background ) );
|
|
|
|
|
p.setBrush( palette.color( TQPalette::Normal, TQColorGroup::Text ) );
|
|
|
|
|
p.fillRect( 1, 1, pixmapW-margin, fontH-margin, palette.brush( TQPalette::Active, TQColorGroup::Background ) );
|
|
|
|
|
p.setBrush( palette.color( TQPalette::Active, TQColorGroup::Text ) );
|
|
|
|
|
p.setFont( font );
|
|
|
|
|
p.drawText( margin, fm.ascent() + 1, text );
|
|
|
|
|
p.end();
|
|
|
|
|