Add basic help to controllerView
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1504 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -84,6 +84,8 @@ controllerView::controllerView( controller * _model, QWidget * _parent ) :
|
||||
|
||||
m_subWindow->hide();
|
||||
|
||||
setWhatsThis( tr( "Controllers are able to automate the value of a knob, "
|
||||
"slider, and other controls." ) );
|
||||
|
||||
setModel( _model );
|
||||
}
|
||||
@@ -203,6 +205,14 @@ void controllerView::contextMenuEvent( QContextMenuEvent * )
|
||||
|
||||
|
||||
|
||||
void controllerView::displayHelp( void )
|
||||
{
|
||||
QWhatsThis::showText( mapToGlobal( rect().center() ),
|
||||
whatsThis() );
|
||||
}
|
||||
|
||||
|
||||
|
||||
#include "moc_controller_view.cxx"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user