summaryrefslogtreecommitdiff
path: root/src/plugins/modeleditor/actionhandler.h
diff options
context:
space:
mode:
authorJochen Becher <jochen_becher@gmx.de>2015-12-27 16:19:33 +0100
committerJochen Becher <jochen_becher@gmx.de>2016-01-06 10:41:37 +0000
commit57ceb1569221d4f10aedb853b03e838ef95063f8 (patch)
tree3e1b281173b83d5e65dc688edab6d712977f009c /src/plugins/modeleditor/actionhandler.h
parent83368083d1f83d77899dc006a5103feac933bd08 (diff)
downloadqt-creator-57ceb1569221d4f10aedb853b03e838ef95063f8.tar.gz
ModelEditor: Add action for inplace editing
Pressing "Return" activates inplace editing, Shift+Return activates properties. Change-Id: I67601a439d27f9d322a3a88f7706d26f75faaab8 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/modeleditor/actionhandler.h')
-rw-r--r--src/plugins/modeleditor/actionhandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/modeleditor/actionhandler.h b/src/plugins/modeleditor/actionhandler.h
index 3f4f337c9e..6455d1a70e 100644
--- a/src/plugins/modeleditor/actionhandler.h
+++ b/src/plugins/modeleditor/actionhandler.h
@@ -71,7 +71,6 @@ public:
QAction *openParentDiagramAction() const;
void createActions();
- void createEditPropertiesShortcut(const Core::Id &shortcutId);
private slots:
void undo();
@@ -84,6 +83,7 @@ private slots:
void selectAll();
void openParentDiagram();
void onEditProperties();
+ void onEditItem();
private:
Core::Command *registerCommand(const Core::Id &id, const std::function<void()> &slot,