added automation icon
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@241 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -387,8 +387,7 @@ automationEditor::automationEditor( engine * _engine ) :
|
||||
tb_layout->addStretch();
|
||||
|
||||
// setup our actual window
|
||||
//TODO: change icon
|
||||
setWindowIcon( embed::getIconPixmap( "piano" ) );
|
||||
setWindowIcon( embed::getIconPixmap( "automation" ) );
|
||||
resize( INITIAL_WIDTH, INITIAL_HEIGHT );
|
||||
setCurrentPattern( NULL );
|
||||
|
||||
|
||||
@@ -367,9 +367,8 @@ void mainWindow::finalize( void )
|
||||
"rap-samples) directly into the playlist." ) );
|
||||
|
||||
|
||||
//TODO: Change icon
|
||||
toolButton * automation_editor_window = new toolButton(
|
||||
embed::getIconPixmap( "piano" ),
|
||||
embed::getIconPixmap( "automation" ),
|
||||
tr( "Show/hide Automation Editor" ) +
|
||||
" (F9)",
|
||||
this,
|
||||
|
||||
@@ -188,10 +188,10 @@ pianoRoll::pianoRoll( engine * _engine ) :
|
||||
s_toolMove = new QPixmap( embed::getIconPixmap(
|
||||
"edit_move" ) );
|
||||
}
|
||||
//TODO: Change pixmap!
|
||||
if( s_toolOpen == NULL )
|
||||
{
|
||||
s_toolOpen = new QPixmap( embed::getIconPixmap( "piano" ) );
|
||||
s_toolOpen = new QPixmap( embed::getIconPixmap(
|
||||
"automation" ) );
|
||||
}
|
||||
|
||||
#ifdef QT4
|
||||
|
||||
@@ -255,8 +255,7 @@ void pianoWidget::contextMenuEvent( QContextMenuEvent * _me )
|
||||
caption->setAlignment( Qt::AlignCenter );
|
||||
contextMenu.addAction( caption );
|
||||
#endif
|
||||
//TODO: Change icon
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "&Open in automation editor" ),
|
||||
m_noteKnob->getAutomationPattern(),
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
|
||||
@@ -192,12 +192,11 @@ void surroundArea::contextMenuEvent( QContextMenuEvent * )
|
||||
caption->setAlignment( Qt::AlignCenter );
|
||||
contextMenu.addAction( caption );
|
||||
#endif
|
||||
//TODO: Change icon
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "Open &X in automation editor" ),
|
||||
m_position_x->getAutomationPattern(),
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "Open &Y in automation editor" ),
|
||||
m_position_y->getAutomationPattern(),
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
|
||||
@@ -122,8 +122,7 @@ void automatableButton::contextMenuEvent( QContextMenuEvent * _me )
|
||||
caption->setAlignment( Qt::AlignCenter );
|
||||
contextMenu.addAction( caption );
|
||||
#endif
|
||||
//TODO: Change icon
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "&Open in automation editor" ),
|
||||
pattern,
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
|
||||
@@ -126,8 +126,7 @@ void automatableSlider::contextMenuEvent( QContextMenuEvent * _me )
|
||||
caption->setAlignment( Qt::AlignCenter );
|
||||
contextMenu.addAction( caption );
|
||||
#endif
|
||||
//TODO: Change icon
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "&Open in automation editor" ),
|
||||
m_knob->getAutomationPattern(),
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
|
||||
@@ -197,8 +197,7 @@ void comboBox::contextMenuEvent( QContextMenuEvent * _me )
|
||||
caption->setAlignment( Qt::AlignCenter );
|
||||
contextMenu.addAction( caption );
|
||||
#endif
|
||||
//TODO: Change icon
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "&Open in automation editor" ),
|
||||
getAutomationPattern(),
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
|
||||
@@ -377,8 +377,7 @@ void knob::contextMenuEvent( QContextMenuEvent * )
|
||||
contextMenu.addSeparator();
|
||||
if( !nullTrack() )
|
||||
{
|
||||
//TODO: Change icon
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "&Open in automation editor" ),
|
||||
getAutomationPattern(),
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
|
||||
@@ -197,8 +197,7 @@ void lcdSpinBox::contextMenuEvent( QContextMenuEvent * _me )
|
||||
caption->setAlignment( Qt::AlignCenter );
|
||||
contextMenu.addAction( caption );
|
||||
#endif
|
||||
//TODO: Change icon
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "&Open in automation editor" ),
|
||||
getAutomationPattern(),
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
|
||||
@@ -177,8 +177,7 @@ void tempoSyncKnob::contextMenuEvent( QContextMenuEvent * )
|
||||
|
||||
contextMenu.addSeparator();
|
||||
|
||||
//TODO: Change icon
|
||||
contextMenu.addAction( embed::getIconPixmap( "piano" ),
|
||||
contextMenu.addAction( embed::getIconPixmap( "automation" ),
|
||||
tr( "&Open in automation editor" ),
|
||||
getAutomationPattern(),
|
||||
SLOT( openInAutomationEditor() ) );
|
||||
|
||||
Reference in New Issue
Block a user