Commit e31cb4e4 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Improve tool tips of the snap actions



Change-Id: I931ef58655e896f276617ce21fb1c6fc9d912973
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent b8acf23e
......@@ -70,14 +70,14 @@ FormEditorWidget::FormEditorWidget(FormEditorView *view)
m_noSnappingAction->setChecked(true);
m_noSnappingAction->setIcon(QPixmap(":/icon/layout/no_snapping.png"));
m_snappingAndAnchoringAction = layoutActionGroup->addAction(tr("Snapping with anchoring (W)."));
m_snappingAndAnchoringAction = layoutActionGroup->addAction(tr("Snap to other items and the parent and generate anchors (W)."));
m_snappingAndAnchoringAction->setShortcut(Qt::Key_W);
m_snappingAndAnchoringAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
m_snappingAndAnchoringAction->setCheckable(true);
m_snappingAndAnchoringAction->setChecked(true);
m_snappingAndAnchoringAction->setIcon(QPixmap(":/icon/layout/snapping_and_anchoring.png"));
m_snappingAction = layoutActionGroup->addAction(tr("Snap to guides (E)."));
m_snappingAction = layoutActionGroup->addAction(tr("Snap to other items and the parent but do not generate anchors (E)."));
m_snappingAction->setShortcut(Qt::Key_E);
m_snappingAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);
m_snappingAction->setCheckable(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment