Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added data/themes/default/grid_size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/themes/default/grid_snap_size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified data/themes/default/scale.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added data/themes/default/snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/gui/editors/PianoRoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ PianoRoll::PianoRoll() :
this, SLOT(zoomingYChanged()));

// Set up quantization model
m_quantizeModel.addItem( tr( "Note lock" ) );
m_quantizeModel.addItem(tr("Same as note"));
for (auto q : Quantizations) {
m_quantizeModel.addItem(QString("1/%1").arg(q));
}
Expand Down Expand Up @@ -4322,7 +4322,7 @@ PianoRollWindow::PianoRollWindow() :

connect( editModeGroup, SIGNAL( triggered( int ) ), m_editor, SLOT( setEditMode( int ) ) );

QAction* quantizeAction = new QAction(embed::getIconPixmap( "quantize" ), tr( "Quantize" ), this );
QAction* quantizeAction = new QAction(embed::getIconPixmap("snap"), tr("Snap notes to grid"), this);
connect( quantizeAction, SIGNAL( triggered() ), m_editor, SLOT( quantizeNotes() ) );

notesActionsToolBar->addAction( drawAction );
Expand Down Expand Up @@ -4384,12 +4384,12 @@ PianoRollWindow::PianoRollWindow() :

// setup quantize-stuff
QLabel * quantize_lbl = new QLabel( m_toolBar );
quantize_lbl->setPixmap( embed::getIconPixmap( "quantize" ) );
quantize_lbl->setPixmap(embed::getIconPixmap("grid_size"));

m_quantizeComboBox = new ComboBox( m_toolBar );
m_quantizeComboBox->setModel( &m_editor->m_quantizeModel );
m_quantizeComboBox->setFixedSize( 64, ComboBox::DEFAULT_HEIGHT );
m_quantizeComboBox->setToolTip( tr( "Quantization") );
m_quantizeComboBox->setToolTip(tr("Grid size"));

// setup note-len-stuff
QLabel * note_len_lbl = new QLabel( m_toolBar );
Expand Down
3 changes: 2 additions & 1 deletion src/gui/editors/SongEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ SongEditorWindow::SongEditorWindow(Song* song) :

DropToolBar *snapToolBar = addDropToolBarToTop(tr("Snap controls"));
QLabel * snap_lbl = new QLabel( m_toolBar );
snap_lbl->setPixmap( embed::getIconPixmap( "quantize" ) );
snap_lbl->setPixmap(embed::getIconPixmap("grid_snap_size"));

//Set up quantization/snapping selector
m_snappingComboBox = new ComboBox( m_toolBar );
Expand All @@ -998,6 +998,7 @@ SongEditorWindow::SongEditorWindow(Song* song) :
connect(m_setProportionalSnapAction, SIGNAL(triggered()), this, SLOT(updateSnapLabel()) );

snapToolBar->addWidget( snap_lbl );
snapToolBar->addSeparator();
snapToolBar->addWidget( m_snappingComboBox );
snapToolBar->addSeparator();
snapToolBar->addAction( m_setProportionalSnapAction );
Expand Down