KDStateMachineEditor API Documentation 2.3
Loading...
Searching...
No Matches
semanticzoommanager.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_SEMANTICZOOMMANAGER_H
17#define KDSME_SEMANTICZOOMMANAGER_H
18
19#include "kdsme_view_export.h"
20
21#include <QObject>
22
23namespace KDSME {
24
26class State;
28
29class KDSME_VIEW_EXPORT SemanticZoomManager : public QObject
30{
31 Q_OBJECT
33 Q_PROPERTY(bool enabled READ isEnabled WRITE setEnabled NOTIFY enabledChanged)
34
35public:
36 explicit SemanticZoomManager(QObject *parent = nullptr);
37
38 StateMachineScene *scene() const;
40
43
44 bool isEnabled() const;
45 void setEnabled(bool enabled);
46
47private Q_SLOTS:
48 void handleActiveConfigurationChanged(const QSet<KDSME::State *> &configuration);
49 void updateRuntimeController();
50
51Q_SIGNALS:
54
55private:
56 StateMachineScene *m_scene;
57 RuntimeController *m_runtimeController;
58 bool m_enabled;
59};
60
61}
62
63#endif
KDSME::StateMachineScene * scene
void setScene(StateMachineScene *scene)
void enabledChanged(bool enabled)
void sceneChanged(KDSME::StateMachineScene *controller)
void setRuntimeController(RuntimeController *controller)
RuntimeController * runtimeController() const
SemanticZoomManager(QObject *parent=nullptr)

© 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 for KDStateMachineEditor API Documentation by doxygen 1.15.0