myClose = new QToolButton( myBtnWidget );
myClose->setIcon( QIcon( close_xpm ) );
myClose->setAutoRaise( true );
+ myClose->setToolTip( tr( "Close the Find Bar" ) );
myBtnWidget_layout->addWidget( wrapWidget( myBtnWidget, myClose ) );
connect( myClose, SIGNAL( clicked() ), this, SLOT( hide() ) );
myToFirst = new QToolButton( myBtnWidget );
myToFirst->setIcon( QIcon( first_xpm ) );
myToFirst->setAutoRaise( true );
+ myToFirst->setToolTip( tr( "First" ) );
myBtnWidget_layout->addWidget( wrapWidget( myBtnWidget, myToFirst ), 0 );
connect( myToFirst, SIGNAL( clicked() ), this, SLOT( findFirst() ) );
myToFirst->installEventFilter( this );
myPrev = new QToolButton( myBtnWidget );
myPrev->setIcon( QIcon( prev_xpm ) );
myPrev->setAutoRaise( true );
+ myPrev->setToolTip( tr( "Previous" ) );
myBtnWidget_layout->addWidget( wrapWidget( myBtnWidget, myPrev ), 0 );
connect( myPrev, SIGNAL( clicked() ), this, SLOT( findPrevious() ) );
myPrev->installEventFilter( this );
myNext = new QToolButton( myBtnWidget );
myNext->setIcon( QIcon( next_xpm ) );
myNext->setAutoRaise( true );
+ myNext->setToolTip( tr( "Next" ) );
myBtnWidget_layout->addWidget( wrapWidget( myBtnWidget, myNext ), 0 );
connect( myNext, SIGNAL( clicked() ), this, SLOT( findNext() ) );
myNext->installEventFilter( this );
myToLast = new QToolButton( myBtnWidget );
myToLast->setIcon( QIcon( last_xpm ) );
myToLast->setAutoRaise( true );
+ myToLast->setToolTip( tr( "Last" ) );
myBtnWidget_layout->addWidget( wrapWidget( myBtnWidget, myToLast ), 0 );
connect( myToLast, SIGNAL( clicked() ), this, SLOT( findLast() ) );
myToLast->installEventFilter( this );