forked from qt-creator/qt-creator
remove common actions from toolbar
This removes paste, copy, cut, delete, undo and do action icons from the toolbar to make space for more important icons. Change-Id: I8b0db80521e0848c93d4eb9d20796a5376d7e08e Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -669,7 +669,7 @@ void DesignerActionManager::createDefaultDesignerActions()
|
|||||||
&toBack,
|
&toBack,
|
||||||
&singleSelection));
|
&singleSelection));
|
||||||
|
|
||||||
addDesignerAction(new ModelNodeAction(
|
addDesignerAction(new ModelNodeFormEditorAction(
|
||||||
raiseCommandId, raiseDisplayName,
|
raiseCommandId, raiseDisplayName,
|
||||||
Utils::Icon({{":/qmldesigner/icon/designeractions/images/raise.png", Utils::Theme::IconsBaseColor}}).icon(),
|
Utils::Icon({{":/qmldesigner/icon/designeractions/images/raise.png", Utils::Theme::IconsBaseColor}}).icon(),
|
||||||
raiseToolTip,
|
raiseToolTip,
|
||||||
@@ -679,7 +679,7 @@ void DesignerActionManager::createDefaultDesignerActions()
|
|||||||
&raise,
|
&raise,
|
||||||
&raiseAvailable));
|
&raiseAvailable));
|
||||||
|
|
||||||
addDesignerAction(new ModelNodeAction(
|
addDesignerAction(new ModelNodeFormEditorAction(
|
||||||
lowerCommandId,
|
lowerCommandId,
|
||||||
lowerDisplayName,
|
lowerDisplayName,
|
||||||
Utils::Icon({{":/qmldesigner/icon/designeractions/images/lower.png", Utils::Theme::IconsBaseColor}}).icon(),
|
Utils::Icon({{":/qmldesigner/icon/designeractions/images/lower.png", Utils::Theme::IconsBaseColor}}).icon(),
|
||||||
|
@@ -180,7 +180,7 @@ public:
|
|||||||
QByteArray category() const override { return m_category; }
|
QByteArray category() const override { return m_category; }
|
||||||
QByteArray menuId() const override { return QByteArray(); }
|
QByteArray menuId() const override { return QByteArray(); }
|
||||||
int priority() const override { return m_priority; }
|
int priority() const override { return m_priority; }
|
||||||
Type type() const override { return Action; }
|
Type type() const override { return ContextMenuAction; }
|
||||||
void currentContextChanged(const SelectionContext &) override {}
|
void currentContextChanged(const SelectionContext &) override {}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Reference in New Issue
Block a user