2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2019 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2020-09-02 13:42:32 +02:00
|
|
|
|
|
|
|
|
#include "curveeditorview.h"
|
|
|
|
|
#include "curveeditor.h"
|
|
|
|
|
#include "curveeditormodel.h"
|
|
|
|
|
#include "curvesegment.h"
|
2020-10-26 15:26:17 +01:00
|
|
|
#include "treeitem.h"
|
2020-09-02 13:42:32 +02:00
|
|
|
|
2022-07-25 20:16:58 +02:00
|
|
|
#include <auxiliarydataproperties.h>
|
2020-09-02 13:42:32 +02:00
|
|
|
#include <bindingproperty.h>
|
|
|
|
|
#include <easingcurve.h>
|
|
|
|
|
#include <nodeabstractproperty.h>
|
2022-07-25 20:16:58 +02:00
|
|
|
#include <nodelistproperty.h>
|
2022-08-24 13:11:33 +02:00
|
|
|
#include <nodemetainfo.h>
|
2020-09-02 13:42:32 +02:00
|
|
|
#include <variantproperty.h>
|
|
|
|
|
#include <qmlstate.h>
|
|
|
|
|
#include <qmltimeline.h>
|
|
|
|
|
|
|
|
|
|
#include <cmath>
|
|
|
|
|
|
|
|
|
|
namespace QmlDesigner {
|
|
|
|
|
|
2022-09-15 15:01:49 +02:00
|
|
|
CurveEditorView::CurveEditorView(ExternalDependenciesInterface &externalDepoendencies)
|
|
|
|
|
: AbstractView{externalDepoendencies}
|
|
|
|
|
, m_block(false)
|
2020-10-26 15:26:17 +01:00
|
|
|
, m_model(new CurveEditorModel())
|
|
|
|
|
, m_editor(new CurveEditor(m_model))
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
2020-10-26 15:26:17 +01:00
|
|
|
connect(m_model, &CurveEditorModel::commitCurrentFrame, this, &CurveEditorView::commitCurrentFrame);
|
|
|
|
|
connect(m_model, &CurveEditorModel::commitStartFrame, this, &CurveEditorView::commitStartFrame);
|
|
|
|
|
connect(m_model, &CurveEditorModel::commitEndFrame, this, &CurveEditorView::commitEndFrame);
|
|
|
|
|
connect(m_model, &CurveEditorModel::curveChanged, this, &CurveEditorView::commitKeyframes);
|
2021-09-28 17:54:31 +02:00
|
|
|
|
|
|
|
|
connect(m_editor, &CurveEditor::viewEnabledChanged, this, [this](bool enabled){
|
|
|
|
|
setEnabled(enabled);
|
|
|
|
|
if (enabled)
|
|
|
|
|
init();
|
|
|
|
|
});
|
|
|
|
|
setEnabled(false);
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CurveEditorView::~CurveEditorView() {}
|
|
|
|
|
|
|
|
|
|
bool CurveEditorView::hasWidget() const
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
WidgetInfo CurveEditorView::widgetInfo()
|
|
|
|
|
{
|
2022-03-16 16:32:36 +01:00
|
|
|
return createWidgetInfo(m_editor, "CurveEditorId", WidgetInfo::BottomPane, 0, tr("Curves"));
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::modelAttached(Model *model)
|
|
|
|
|
{
|
|
|
|
|
AbstractView::modelAttached(model);
|
|
|
|
|
|
2021-09-28 17:54:31 +02:00
|
|
|
if (isEnabled())
|
|
|
|
|
init();
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::modelAboutToBeDetached(Model *model)
|
|
|
|
|
{
|
|
|
|
|
AbstractView::modelAboutToBeDetached(model);
|
|
|
|
|
m_model->reset({});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool dirtyfiesView(const ModelNode &node)
|
|
|
|
|
{
|
2023-06-27 16:35:57 +02:00
|
|
|
return (node.type() == "QtQuick.Timeline.Keyframe" && node.hasParentProperty())
|
|
|
|
|
|| QmlTimeline::isValidQmlTimeline(node)
|
|
|
|
|
|| QmlTimelineKeyframeGroup::isValidQmlTimelineKeyframeGroup(node);
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
2022-07-07 18:04:18 +02:00
|
|
|
void CurveEditorView::nodeRemoved([[maybe_unused]] const ModelNode &removedNode,
|
2020-09-02 13:42:32 +02:00
|
|
|
const NodeAbstractProperty &parentProperty,
|
2022-07-07 18:04:18 +02:00
|
|
|
[[maybe_unused]] PropertyChangeFlags propertyChange)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
|
|
|
|
if (!parentProperty.isValid())
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
ModelNode parent = parentProperty.parentModelNode();
|
|
|
|
|
if (dirtyfiesView(parent))
|
|
|
|
|
updateKeyframes();
|
2021-04-20 15:11:14 +02:00
|
|
|
|
|
|
|
|
if (!activeTimeline().isValid())
|
|
|
|
|
m_model->reset({});
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
2022-07-07 18:04:18 +02:00
|
|
|
void CurveEditorView::nodeReparented([[maybe_unused]] const ModelNode &node,
|
|
|
|
|
[[maybe_unused]] const NodeAbstractProperty &newPropertyParent,
|
|
|
|
|
[[maybe_unused]] const NodeAbstractProperty &oldPropertyParent,
|
|
|
|
|
[[maybe_unused]] PropertyChangeFlags propertyChange)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
|
|
|
|
ModelNode parent = newPropertyParent.parentModelNode();
|
|
|
|
|
if (newPropertyParent.isValid() && dirtyfiesView(parent))
|
|
|
|
|
updateKeyframes();
|
|
|
|
|
else if (QmlTimelineKeyframeGroup::checkKeyframesType(node))
|
|
|
|
|
updateKeyframes();
|
2021-03-24 15:31:31 +01:00
|
|
|
else if (newPropertyParent.isValid() && !oldPropertyParent.isValid()) {
|
|
|
|
|
if (activeTimeline().hasKeyframeGroupForTarget(node)) {
|
|
|
|
|
updateKeyframes();
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
void CurveEditorView::auxiliaryDataChanged(const ModelNode &node,
|
2022-07-25 20:16:58 +02:00
|
|
|
AuxiliaryDataKeyView key,
|
2020-10-26 15:26:17 +01:00
|
|
|
const QVariant &data)
|
|
|
|
|
{
|
2022-07-25 20:16:58 +02:00
|
|
|
if (key == lockedProperty) {
|
2020-10-26 15:26:17 +01:00
|
|
|
if (auto *item = m_model->find(node.id())) {
|
|
|
|
|
QSignalBlocker blocker(m_model);
|
|
|
|
|
m_model->setLocked(item, data.toBool());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-07 18:04:18 +02:00
|
|
|
void CurveEditorView::instancePropertyChanged(
|
|
|
|
|
[[maybe_unused]] const QList<QPair<ModelNode, PropertyName>> &propertyList)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
2022-05-25 15:38:17 +02:00
|
|
|
if (auto timeline = activeTimeline(); timeline.isValid()) {
|
|
|
|
|
|
|
|
|
|
auto timelineNode = timeline.modelNode();
|
|
|
|
|
for (const auto &pair : propertyList) {
|
|
|
|
|
if (!QmlTimeline::isValidQmlTimeline(pair.first))
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
if (pair.first != timelineNode)
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
if (pair.second == "startFrame")
|
|
|
|
|
updateStartFrame(pair.first);
|
|
|
|
|
else if (pair.second == "endFrame")
|
|
|
|
|
updateEndFrame(pair.first);
|
|
|
|
|
else if (pair.second == "currentFrame")
|
|
|
|
|
updateCurrentFrame(pair.first);
|
|
|
|
|
}
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-07 18:04:18 +02:00
|
|
|
void CurveEditorView::variantPropertiesChanged([[maybe_unused]] const QList<VariantProperty> &propertyList,
|
|
|
|
|
[[maybe_unused]] PropertyChangeFlags propertyChange)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
|
|
|
|
for (const auto &property : propertyList) {
|
2023-06-27 16:35:57 +02:00
|
|
|
if (dirtyfiesView(property.parentModelNode()))
|
|
|
|
|
updateKeyframes();
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-07 18:04:18 +02:00
|
|
|
void CurveEditorView::bindingPropertiesChanged([[maybe_unused]] const QList<BindingProperty> &propertyList,
|
|
|
|
|
[[maybe_unused]] PropertyChangeFlags propertyChange)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
|
|
|
|
for (const auto &property : propertyList) {
|
2023-06-27 16:35:57 +02:00
|
|
|
if (dirtyfiesView(property.parentModelNode()))
|
2020-09-02 13:42:32 +02:00
|
|
|
updateKeyframes();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-07-07 18:04:18 +02:00
|
|
|
void CurveEditorView::propertiesRemoved([[maybe_unused]] const QList<AbstractProperty> &propertyList)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
|
|
|
|
for (const auto &property : propertyList) {
|
2023-06-27 16:35:57 +02:00
|
|
|
if (dirtyfiesView(property.parentModelNode()))
|
|
|
|
|
updateKeyframes();
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QmlTimeline CurveEditorView::activeTimeline() const
|
|
|
|
|
{
|
2022-07-01 13:22:32 +02:00
|
|
|
if (!isAttached())
|
|
|
|
|
return {};
|
|
|
|
|
|
2020-09-02 13:42:32 +02:00
|
|
|
QmlModelState state = currentState();
|
|
|
|
|
if (state.isBaseState()) {
|
2022-08-24 13:11:33 +02:00
|
|
|
for (const ModelNode &node : allModelNodesOfType(model()->qtQuickTimelineTimelineMetaInfo())) {
|
2020-09-02 13:42:32 +02:00
|
|
|
if (QmlTimeline::isValidQmlTimeline(node)) {
|
|
|
|
|
if (node.hasVariantProperty("enabled")
|
|
|
|
|
&& node.variantProperty("enabled").value().toBool())
|
|
|
|
|
return QmlTimeline(node);
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-05-06 14:28:20 +02:00
|
|
|
return {};
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
2022-08-24 13:11:33 +02:00
|
|
|
for (const ModelNode &node : allModelNodesOfType(model()->qtQuickTimelineTimelineMetaInfo())) {
|
2020-09-02 13:42:32 +02:00
|
|
|
if (QmlTimeline::isValidQmlTimeline(node) && state.affectsModelNode(node)) {
|
|
|
|
|
QmlPropertyChanges propertyChanges(state.propertyChanges(node));
|
|
|
|
|
if (!propertyChanges.isValid())
|
|
|
|
|
continue;
|
|
|
|
|
|
2022-05-06 14:28:20 +02:00
|
|
|
if (propertyChanges.modelNode().hasProperty("enabled") &&
|
|
|
|
|
propertyChanges.modelNode().variantProperty("enabled").value().toBool())
|
|
|
|
|
return QmlTimeline(node);
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return {};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::updateKeyframes()
|
|
|
|
|
{
|
|
|
|
|
if (m_block)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
QmlTimeline timeline = activeTimeline();
|
|
|
|
|
if (timeline.isValid())
|
|
|
|
|
m_model->setTimeline(timeline);
|
|
|
|
|
else
|
|
|
|
|
m_model->reset({});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::updateCurrentFrame(const ModelNode &node)
|
|
|
|
|
{
|
|
|
|
|
if (m_editor->dragging())
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
QmlTimeline timeline(node);
|
|
|
|
|
if (timeline.isValid())
|
|
|
|
|
m_model->setCurrentFrame(static_cast<int>(std::round(timeline.currentKeyframe())));
|
|
|
|
|
else
|
|
|
|
|
m_model->setCurrentFrame(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::updateStartFrame(const ModelNode &node)
|
|
|
|
|
{
|
|
|
|
|
QmlTimeline timeline(node);
|
|
|
|
|
if (timeline.isValid())
|
|
|
|
|
m_model->setMinimumTime(static_cast<int>(std::round(timeline.startKeyframe())));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::updateEndFrame(const ModelNode &node)
|
|
|
|
|
{
|
|
|
|
|
QmlTimeline timeline(node);
|
|
|
|
|
if (timeline.isValid())
|
|
|
|
|
m_model->setMaximumTime(static_cast<int>(std::round(timeline.endKeyframe())));
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
ModelNode getTargetNode(PropertyTreeItem *item, const QmlTimeline &timeline)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
2020-10-26 15:26:17 +01:00
|
|
|
if (const NodeTreeItem *nodeItem = item->parentNodeTreeItem()) {
|
2020-09-02 13:42:32 +02:00
|
|
|
QString targetId = nodeItem->name();
|
|
|
|
|
if (timeline.isValid()) {
|
|
|
|
|
for (auto &&target : timeline.allTargets()) {
|
2020-10-16 16:45:44 +02:00
|
|
|
if (target.isValid() && target.displayName() == targetId)
|
2020-09-02 13:42:32 +02:00
|
|
|
return target;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return ModelNode();
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
QmlTimelineKeyframeGroup timelineKeyframeGroup(QmlTimeline &timeline, PropertyTreeItem *item)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
2020-10-26 15:26:17 +01:00
|
|
|
ModelNode node = getTargetNode(item, timeline);
|
2022-08-31 10:21:55 +02:00
|
|
|
return timeline.keyframeGroup(node, item->name().toLatin1());
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
void attachEasingCurve(const QmlTimelineKeyframeGroup &group, double frame, const QEasingCurve &curve)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
|
|
|
|
ModelNode frameNode = group.keyframe(frame);
|
|
|
|
|
if (frameNode.isValid()) {
|
|
|
|
|
auto expression = EasingCurve(curve).toString();
|
|
|
|
|
frameNode.bindingProperty("easing.bezierCurve").setExpression(expression);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
void commitAuxiliaryData(ModelNode &node, TreeItem *item)
|
2020-09-02 13:42:32 +02:00
|
|
|
{
|
2022-08-31 10:21:55 +02:00
|
|
|
if (item->locked())
|
|
|
|
|
node.setLocked(true);
|
|
|
|
|
else
|
|
|
|
|
node.setLocked(false);
|
2020-10-26 15:26:17 +01:00
|
|
|
|
2022-08-31 10:21:55 +02:00
|
|
|
if (item->pinned())
|
|
|
|
|
node.setAuxiliaryData(pinnedProperty, true);
|
|
|
|
|
else
|
|
|
|
|
node.removeAuxiliaryData(pinnedProperty);
|
2020-10-26 15:26:17 +01:00
|
|
|
|
2022-08-31 10:21:55 +02:00
|
|
|
if (auto *pitem = item->asPropertyItem()) {
|
|
|
|
|
if (pitem->hasUnified())
|
|
|
|
|
node.setAuxiliaryData(unifiedProperty, pitem->unifyString());
|
|
|
|
|
else
|
|
|
|
|
node.removeAuxiliaryData(unifiedProperty);
|
2020-10-26 15:26:17 +01:00
|
|
|
}
|
|
|
|
|
}
|
2020-09-02 13:42:32 +02:00
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
void CurveEditorView::commitKeyframes(TreeItem *item)
|
|
|
|
|
{
|
2022-07-01 13:22:32 +02:00
|
|
|
if (!isAttached())
|
|
|
|
|
return;
|
|
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
if (auto *nitem = item->asNodeItem()) {
|
|
|
|
|
ModelNode node = modelNodeForId(nitem->name());
|
|
|
|
|
commitAuxiliaryData(node, item);
|
|
|
|
|
|
|
|
|
|
} else if (auto *pitem = item->asPropertyItem()) {
|
|
|
|
|
QmlTimeline currentTimeline = activeTimeline();
|
2022-07-01 13:22:32 +02:00
|
|
|
if (!currentTimeline.isValid())
|
|
|
|
|
return;
|
|
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
QmlTimelineKeyframeGroup group = timelineKeyframeGroup(currentTimeline, pitem);
|
|
|
|
|
|
|
|
|
|
if (group.isValid()) {
|
|
|
|
|
ModelNode groupNode = group.modelNode();
|
|
|
|
|
commitAuxiliaryData(groupNode, item);
|
|
|
|
|
|
2022-07-01 13:22:32 +02:00
|
|
|
auto replaceKeyframes = [&group, pitem, this]() mutable {
|
2020-10-26 15:26:17 +01:00
|
|
|
m_block = true;
|
2022-07-01 13:22:32 +02:00
|
|
|
|
|
|
|
|
for (auto& frame : group.keyframes())
|
2020-10-26 15:26:17 +01:00
|
|
|
frame.destroy();
|
|
|
|
|
|
2022-07-01 13:22:32 +02:00
|
|
|
AnimationCurve curve = pitem->curve();
|
|
|
|
|
if (curve.valueType() == AnimationCurve::ValueType::Bool) {
|
|
|
|
|
for (const auto& frame : curve.keyframes()) {
|
|
|
|
|
QPointF pos = frame.position();
|
|
|
|
|
group.setValue(QVariant(pos.y()), pos.x());
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
Keyframe previous;
|
|
|
|
|
for (const auto& frame : curve.keyframes()) {
|
|
|
|
|
QPointF pos = frame.position();
|
|
|
|
|
group.setValue(QVariant(pos.y()), pos.x());
|
|
|
|
|
|
|
|
|
|
if (previous.isValid()) {
|
|
|
|
|
if (frame.interpolation() == Keyframe::Interpolation::Bezier ||
|
|
|
|
|
frame.interpolation() == Keyframe::Interpolation::Step ) {
|
|
|
|
|
CurveSegment segment(previous, frame);
|
|
|
|
|
if (segment.isValid())
|
|
|
|
|
attachEasingCurve(group, pos.x(), segment.easingCurve());
|
|
|
|
|
} else if (frame.interpolation() == Keyframe::Interpolation::Easing) {
|
|
|
|
|
QVariant data = frame.data();
|
2023-06-07 13:03:11 +02:00
|
|
|
if (data.typeId() == static_cast<int>(QMetaType::QEasingCurve))
|
2022-07-01 13:22:32 +02:00
|
|
|
attachEasingCurve(group, pos.x(), data.value<QEasingCurve>());
|
|
|
|
|
}
|
2020-10-26 15:26:17 +01:00
|
|
|
}
|
2022-07-01 13:22:32 +02:00
|
|
|
previous = frame;
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
2020-10-26 15:26:17 +01:00
|
|
|
}
|
|
|
|
|
m_block = false;
|
|
|
|
|
};
|
2020-09-02 13:42:32 +02:00
|
|
|
|
2020-10-26 15:26:17 +01:00
|
|
|
executeInTransaction("CurveEditor::commitKeyframes", replaceKeyframes);
|
|
|
|
|
}
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::commitCurrentFrame(int frame)
|
|
|
|
|
{
|
|
|
|
|
QmlTimeline timeline = activeTimeline();
|
2021-03-17 14:56:01 +01:00
|
|
|
if (timeline.isValid())
|
2022-07-25 20:16:58 +02:00
|
|
|
timeline.modelNode().setAuxiliaryData(currentFrameProperty, frame);
|
2020-09-02 13:42:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::commitStartFrame(int frame)
|
|
|
|
|
{
|
|
|
|
|
QmlTimeline timeline = activeTimeline();
|
|
|
|
|
if (timeline.isValid())
|
|
|
|
|
timeline.modelNode().variantProperty("startFrame").setValue(frame);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CurveEditorView::commitEndFrame(int frame)
|
|
|
|
|
{
|
|
|
|
|
QmlTimeline timeline = activeTimeline();
|
|
|
|
|
if (timeline.isValid())
|
|
|
|
|
timeline.modelNode().variantProperty("endFrame").setValue(frame);
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-28 17:54:31 +02:00
|
|
|
void CurveEditorView::init()
|
|
|
|
|
{
|
2022-04-05 13:45:30 +02:00
|
|
|
m_model->setTimeline(activeTimeline());
|
2021-09-28 17:54:31 +02:00
|
|
|
}
|
|
|
|
|
|
2020-09-02 13:42:32 +02:00
|
|
|
} // namespace QmlDesigner
|