forked from qt-creator/qt-creator
QmlDesigner: Shorten the visual block of form editor view
Since we cache now the images from the puppet 100ms are sufficient. Change-Id: Ibf5bd40cb4d5d9c249db8ac4a2c5e60e31df3504 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -484,7 +484,7 @@ void FormEditorView::customNotification(const AbstractView * /*view*/, const QSt
|
||||
|
||||
void FormEditorView::currentStateChanged(const ModelNode & /*node*/)
|
||||
{
|
||||
temporaryBlockView(100);
|
||||
temporaryBlockView();
|
||||
}
|
||||
|
||||
AbstractFormEditorTool *FormEditorView::currentTool() const
|
||||
|
@@ -147,7 +147,7 @@ private:
|
||||
void setupFormEditorItemTree(const QmlItemNode &qmlItemNode);
|
||||
void removeNodeFromScene(const QmlItemNode &qmlItemNode);
|
||||
void createFormEditorWidget();
|
||||
void temporaryBlockView(int duration = 1000);
|
||||
void temporaryBlockView(int duration = 100);
|
||||
void resetNodeInstanceView();
|
||||
void addOrRemoveFormEditorItem(const ModelNode &node);
|
||||
void checkRootModelNode();
|
||||
|
Reference in New Issue
Block a user