summaryrefslogtreecommitdiff
path: root/src/plugins/scxmleditor/plugin_interface/attributeitemdelegate.cpp
blob: 927a33296f39a6777aca6954ed32746d0e0eed32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "attributeitemdelegate.h"

using namespace ScxmlEditor::PluginInterface;

AttributeItemDelegate::AttributeItemDelegate(QObject *parent)
    : QStyledItemDelegate(parent)
{
}

void AttributeItemDelegate::setTag(ScxmlTag *tag)
{
    m_tag = tag;
}

ScxmlTag *AttributeItemDelegate::tag() const
{
    return m_tag;
}