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:
Javier Serrano Polo
2006-07-16 00:47:06 +00:00
parent ab7a0b512f
commit 055a795cb3
15 changed files with 32 additions and 25 deletions

View File

@@ -1,3 +1,20 @@
2006-07-16 Javier Serrano Polo <jasp00/at/terra/dot/es>
* data/themes/default/automation.png:
* resources/automation.png:
* src/core/automation_editor.cpp:
* src/core/main_window.cpp:
* src/core/piano_roll.cpp:
* src/core/piano_widget.cpp:
* src/core/surround_area.cpp:
* src/widgets/automatable_button.cpp:
* src/widgets/automatable_slider.cpp:
* src/widgets/combobox.cpp:
* src/widgets/knob.cpp:
* src/widgets/lcd_spinbox.cpp:
* src/widgets/tempo_sync_knob.cpp:
added automation icon
2006-07-15 Javier Serrano Polo <jasp00/at/terra/dot/es>
* data/locale/ca.ts:

View File

@@ -2,8 +2,8 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(lmms, 0.1.4-cvs20060715, tobydox/at/users/dot/sourceforge/dot/net)
AM_INIT_AUTOMAKE(lmms, 0.1.4-cvs20060715)
AC_INIT(lmms, 0.1.4-cvs20060716, tobydox/at/users/dot/sourceforge/dot/net)
AM_INIT_AUTOMAKE(lmms, 0.1.4-cvs20060716)
AM_CONFIG_HEADER(config.h)

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

BIN
resources/automation.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

View File

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

View File

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

View File

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

View File

@@ -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() ) );

View File

@@ -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() ) );

View File

@@ -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() ) );

View File

@@ -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() ) );

View File

@@ -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() ) );

View File

@@ -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() ) );

View File

@@ -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() ) );

View File

@@ -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() ) );