forked from qt-creator/qt-creator
QmlDesigner: Fix tooltip for navigator keys
Task-number: QTCREATORBUG-12205 Change-Id: Id24ce92057908a81b77b3f61d488eb78c1e6f9e7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -83,12 +83,12 @@ QList<QToolButton *> NavigatorWidget::createToolBarWidgets()
|
||||
|
||||
buttons << new QToolButton();
|
||||
buttons.last()->setIcon(QIcon(":/navigator/icon/arrowleft.png"));
|
||||
buttons.last()->setToolTip(tr("Become first sibling of parent (CTRL + Left)."));
|
||||
buttons.last()->setToolTip(tr("Become last sibling of parent (CTRL + Left)."));
|
||||
buttons.last()->setShortcut(QKeySequence(Qt::Key_Left | Qt::CTRL));
|
||||
connect(buttons.last(), SIGNAL(clicked()), this, SIGNAL(leftButtonClicked()));
|
||||
buttons << new QToolButton();
|
||||
buttons.last()->setIcon(QIcon(":/navigator/icon/arrowright.png"));
|
||||
buttons.last()->setToolTip(tr("Become child of first sibling (CTRL + Right)."));
|
||||
buttons.last()->setToolTip(tr("Become child of last sibling (CTRL + Right)."));
|
||||
buttons.last()->setShortcut(QKeySequence(Qt::Key_Right | Qt::CTRL));
|
||||
connect(buttons.last(), SIGNAL(clicked()), this, SIGNAL(rightButtonClicked()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user