KDStateMachineEditor API Documentation
2.1
Loading...
Searching...
No Matches
src
core
model
element_p.h
Go to the documentation of this file.
1
/*
2
This file is part of the KDAB State Machine Editor Library.
3
4
SPDX-FileCopyrightText: 2014 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5
Author: Kevin Funk <kevin.funk@kdab.com>
6
7
SPDX-License-Identifier: LGPL-2.1-only OR LicenseRef-KDAB-KDStateMachineEditor
8
9
Licensees holding valid commercial KDAB State Machine Editor Library
10
licenses may use this file in accordance with the KDAB State Machine Editor
11
Library License Agreement provided with the Software.
12
13
Contact info@kdab.com if any conditions of this licensing are not clear to you.
14
*/
15
16
#ifndef KDSME_MODEL_ELEMENT_P_H
17
#define KDSME_MODEL_ELEMENT_P_H
18
19
#include "
element.h
"
20
21
#include <QPointF>
22
#include <QRectF>
23
#include <QSizeF>
24
25
namespace
KDSME
{
26
27
struct
Element::Private
28
{
29
Private()
30
: m_id(0)
31
, m_flags(
ElementIsDragEnabled
|
ElementIsSelectable
|
ElementIsEditable
)
32
, m_visible(true)
33
, m_selected(false)
34
, m_height(0.0)
35
, m_width(0.0)
36
{
37
}
38
39
QString m_label;
40
quintptr m_id;
41
Element::Flags m_flags;
42
43
bool
m_visible;
44
bool
m_selected;
45
46
QPointF m_pos;
47
qreal m_height, m_width;
48
};
49
50
}
51
52
#endif
KDSME::Element::ElementIsSelectable
@ ElementIsSelectable
Definition
element.h:73
KDSME::Element::ElementIsDragEnabled
@ ElementIsDragEnabled
Definition
element.h:72
KDSME::Element::ElementIsEditable
@ ElementIsEditable
Definition
element.h:74
element.h
KDSME
Definition
mainwindow.h:21
© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDStateMachineEditor
Create Qt State Machine metacode using a graphical user interface
https://github.com/KDAB/KDStateMachineEditor
Generated on Tue Jul 15 2025 15:21:47 for KDStateMachineEditor API Documentation by doxygen 1.9.8