forked from qt-creator/qt-creator
QmlDesigner: Deactivate layout shortcut for MCU
Change-Id: I80c247155aabae54b826e950e7c9a93ab75dfc47 Reviewed-by: Aleksei German <aleksei.german@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
3d1f5ba8d2
commit
a4b1e1ccdc
@@ -1810,29 +1810,31 @@ void DesignerActionManager::createDefaultDesignerActions()
|
||||
&isStackedContainerAndIndexCanBeIncreased,
|
||||
&isStackedContainer));
|
||||
|
||||
addDesignerAction(new ModelNodeAction(
|
||||
layoutRowLayoutCommandId,
|
||||
addDesignerAction(
|
||||
new ModelNodeAction(layoutRowLayoutCommandId,
|
||||
layoutRowLayoutDisplayName,
|
||||
Utils::Icon({{":/qmldesigner/icon/designeractions/images/row.png",
|
||||
Utils::Theme::IconsBaseColor}}).icon(),
|
||||
Utils::Theme::IconsBaseColor}})
|
||||
.icon(),
|
||||
layoutRowLayoutToolTip,
|
||||
layoutCategory,
|
||||
QKeySequence("Ctrl+u"),
|
||||
2,
|
||||
&layoutRowLayout,
|
||||
&selectionCanBeLayoutedAndQtQuickLayoutPossible));
|
||||
&selectionCanBeLayoutedAndQtQuickLayoutPossibleAndNotMCU));
|
||||
|
||||
addDesignerAction(new ModelNodeAction(
|
||||
layoutColumnLayoutCommandId,
|
||||
addDesignerAction(
|
||||
new ModelNodeAction(layoutColumnLayoutCommandId,
|
||||
layoutColumnLayoutDisplayName,
|
||||
Utils::Icon({{":/qmldesigner/icon/designeractions/images/column.png",
|
||||
Utils::Theme::IconsBaseColor}}).icon(),
|
||||
Utils::Theme::IconsBaseColor}})
|
||||
.icon(),
|
||||
layoutColumnLayoutToolTip,
|
||||
layoutCategory,
|
||||
QKeySequence("Ctrl+l"),
|
||||
3,
|
||||
&layoutColumnLayout,
|
||||
&selectionCanBeLayoutedAndQtQuickLayoutPossible));
|
||||
&selectionCanBeLayoutedAndQtQuickLayoutPossibleAndNotMCU));
|
||||
|
||||
addDesignerAction(new ModelNodeAction(
|
||||
layoutGridLayoutCommandId,
|
||||
|
||||
Reference in New Issue
Block a user