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:
@@ -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:
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
public slots:
|
||||
void editControls( void );
|
||||
void deleteController( void );
|
||||
//void displayHelp( void );
|
||||
void displayHelp( void );
|
||||
void closeControls( void );
|
||||
|
||||
|
||||
|
||||
@@ -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