summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/pathtool/pathtoolview.h
blob: eb68c96899714f2a30d38dd77bdbe4936cddbc9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <abstractview.h>

namespace QmlDesigner {

class PathTool;

class PathToolView : public AbstractView
{
    Q_OBJECT
public:
    PathToolView(PathTool *pathTool, ExternalDependenciesInterface &externalDependencies);

    void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) override;
    void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) override;

private:
    PathTool *m_pathTool;
};

} // namespace QmlDesigner