|
|
|
@ -304,7 +304,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e )
|
|
|
|
|
if ( e->button() != TQt::LeftButton )
|
|
|
|
|
return;
|
|
|
|
|
if ( d->ignoreNextMouseClick ) {
|
|
|
|
|
d->ignoreNextMouseClick = FALSE;
|
|
|
|
|
d->ignoreNextMouseClick = false;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -318,7 +318,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e )
|
|
|
|
|
|
|
|
|
|
if ( arrowRect.contains( e->pos() ) ) {
|
|
|
|
|
popup();
|
|
|
|
|
repaint( FALSE );
|
|
|
|
|
repaint( false );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -349,7 +349,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
|
|
|
|
|
flags |= TQStyle::Style_HasFocus;
|
|
|
|
|
|
|
|
|
|
if ( width() < 5 || height() < 5 ) {
|
|
|
|
|
qDrawShadePanel( &p, rect(), g, FALSE, 2,
|
|
|
|
|
qDrawShadePanel( &p, rect(), g, false, 2,
|
|
|
|
|
&g.brush( TQColorGroup::Button ) );
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -375,7 +375,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
|
|
|
|
|
// item->paint( &p );
|
|
|
|
|
// }
|
|
|
|
|
// } else if ( d->listBox() && d->listBox()->item( 0 ) ) {
|
|
|
|
|
p.setClipping( FALSE );
|
|
|
|
|
p.setClipping( false );
|
|
|
|
|
TQListBoxItem * item = listBox()->item( 0 );
|
|
|
|
|
const TQPixmap *pix = item->pixmap();
|
|
|
|
|
if ( pix ) {
|
|
|
|
@ -385,7 +385,7 @@ void K3bFileTreeComboBox::paintEvent( TQPaintEvent* )
|
|
|
|
|
( re.height() - pix->height() ) / 2, *pix );
|
|
|
|
|
}
|
|
|
|
|
// }
|
|
|
|
|
p.setClipping( FALSE );
|
|
|
|
|
p.setClipping( false );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|