blob: 02a22364dd95d74d8c7f91b93626e7fb56425db6 (
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
26
27
28
29
30
31
32
33
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include <QWidget>
QT_FORWARD_DECLARE_CLASS(QLabel)
QT_FORWARD_DECLARE_CLASS(QToolButton)
namespace ScxmlEditor {
namespace PluginInterface { class ShapeProvider; }
namespace Common {
class ShapeGroupWidget : public QWidget
{
Q_OBJECT
public:
explicit ShapeGroupWidget(PluginInterface::ShapeProvider *shapeProvider, int groupIndex, QWidget *parent = nullptr);
private:
void createUi();
QLabel *m_title = nullptr;
QToolButton *m_closeButton = nullptr;
QWidget *m_content = nullptr;
};
} // namespace Common
} // namespace ScxmlEditor
|