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:
Paul Giblock
2008-08-27 08:57:12 +00:00
parent 3eeb7b8a76
commit c9bd266479
3 changed files with 16 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-08-27 Paul Giblock <drfaygo/at/gmail/dot/com>
* include/controller_view.h:
* src/gui/widgets/controller_view.cpp:
Add stub for controller help
2008-08-26 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* cmake/modules/DetectMachine.cmake:

View File

@@ -60,7 +60,7 @@ public:
public slots:
void editControls( void );
void deleteController( void );
//void displayHelp( void );
void displayHelp( void );
void closeControls( void );

View File

@@ -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