|
|
@ -66,7 +66,7 @@ KbfxToolTip::KbfxToolTip ( TQWidget * parent, const char *name, WFlags fl ) :
|
|
|
|
connect ( _update_timer, TQT_SIGNAL ( timeout () ), this, TQT_SLOT ( logoMove () ) );
|
|
|
|
connect ( _update_timer, TQT_SIGNAL ( timeout () ), this, TQT_SLOT ( logoMove () ) );
|
|
|
|
|
|
|
|
|
|
|
|
TQCursor kbfxCursor;
|
|
|
|
TQCursor kbfxCursor;
|
|
|
|
kbfxCursor.setShape ( Qt::PointingHandCursor );
|
|
|
|
kbfxCursor.setShape ( TQt::PointingHandCursor );
|
|
|
|
this->setCursor ( ( const TQCursor ) kbfxCursor );
|
|
|
|
this->setCursor ( ( const TQCursor ) kbfxCursor );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -266,7 +266,7 @@ KbfxToolTip::paintEvent ( TQPaintEvent * pe )
|
|
|
|
|
|
|
|
|
|
|
|
TQPainter p;
|
|
|
|
TQPainter p;
|
|
|
|
p.begin ( this );
|
|
|
|
p.begin ( this );
|
|
|
|
p.setBackgroundMode ( Qt::TransparentMode );
|
|
|
|
p.setBackgroundMode ( TQt::TransparentMode );
|
|
|
|
p.drawPixmap ( TQRect ( 7, 16, _dude_box.width (), _dude_box.height () ),
|
|
|
|
p.drawPixmap ( TQRect ( 7, 16, _dude_box.width (), _dude_box.height () ),
|
|
|
|
_dude_box );
|
|
|
|
_dude_box );
|
|
|
|
int _paddingX = ( ( _dude_box.height () - _dude.height () ) / 2 ) + 16;
|
|
|
|
int _paddingX = ( ( _dude_box.height () - _dude.height () ) / 2 ) + 16;
|
|
|
|