ui: renamed undo&redo to back&forward, control back&forward via mouse and backspace

* the key codes for mouse back and forward buttons can be defined in the ApplicationSettings
* fixed only left mouse button allowed for graph interactions
This commit is contained in:
Eberhard Graether
2015-12-16 16:22:10 +01:00
parent 103c8242f5
commit 82a16341d8
7 changed files with 100 additions and 6 deletions
+2 -2
View File
@@ -16,13 +16,13 @@ QtUndoRedo::QtUndoRedo()
m_undoButton = new QPushButton(this);
m_undoButton->setObjectName("undo_button");
m_undoButton->setToolTip("undo");
m_undoButton->setToolTip("back");
m_undoButton->setAttribute(Qt::WA_LayoutUsesWidgetRect); // fixes layouting on Mac
m_undoButton->setEnabled(false);
m_redoButton = new QPushButton(this);
m_redoButton->setObjectName("redo_button");
m_redoButton->setToolTip("redo");
m_redoButton->setToolTip("forward");
m_redoButton->setAttribute(Qt::WA_LayoutUsesWidgetRect); // fixes layouting on Mac
m_redoButton->setEnabled(false);