aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h')
-rw-r--r--src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h b/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h
new file mode 100644
index 0000000000..968a9bef0f
--- /dev/null
+++ b/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h
@@ -0,0 +1,62 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
+
+#pragma once
+
+#include <QByteArray>
+#include <QList>
+
+#include <vector>
+
+namespace QmlDesigner {
+
+using PropertyName = QByteArray;
+using PropertyNameList = QList<PropertyName>;
+using PropertyNames = std::vector<PropertyName>;
+using TypeName = QByteArray;
+
+enum class AuxiliaryDataType {
+ None,
+ Temporary,
+ Document,
+ NodeInstancePropertyOverwrite,
+ NodeInstanceAuxiliary
+};
+
+enum class View3DActionType {
+ Empty,
+ MoveTool,
+ ScaleTool,
+ RotateTool,
+ FitToView,
+ AlignCamerasToView,
+ AlignViewToCamera,
+ SelectionModeToggle,
+ CameraToggle,
+ OrientationToggle,
+ EditLightToggle,
+ ShowGrid,
+ ShowSelectionBox,
+ ShowIconGizmo,
+ ShowCameraFrustum,
+ ShowParticleEmitter,
+ Edit3DParticleModeToggle,
+ ParticlesPlay,
+ ParticlesRestart,
+ ParticlesSeek,
+ SelectBackgroundColor,
+ SelectGridColor,
+ ResetBackgroundColor,
+ SyncBackgroundColor,
+ GetNodeAtPos
+};
+
+constexpr bool isNanotraceEnabled()
+{
+#ifdef NANOTRACE_ENABLED
+ return true;
+#else
+ return false;
+#endif
+}
+}