blob: 19b61ef05dbb72f21d64d1db40045bb35df86de0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <QGraphicsSimpleTextItem>
#include <QList>
namespace qmt {
class StereotypesItem : public QGraphicsSimpleTextItem
{
public:
explicit StereotypesItem(QGraphicsItem *parent = nullptr);
~StereotypesItem() override;
void setStereotypes(const QList<QString> &stereotypes);
static QString format(const QList<QString> &stereotypes);
};
} // namespace qmt
|