2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2016-01-15 14:59:14 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2013-03-05 12:19:19 +01:00
|
|
|
|
2015-05-19 16:06:52 +02:00
|
|
|
#include <QByteArray>
|
|
|
|
|
#include <QList>
|
|
|
|
|
|
2022-06-09 17:03:42 +02:00
|
|
|
#include <vector>
|
|
|
|
|
|
2013-03-05 12:19:19 +01:00
|
|
|
namespace QmlDesigner {
|
|
|
|
|
|
2018-07-24 23:56:45 +02:00
|
|
|
using PropertyName = QByteArray;
|
|
|
|
|
using PropertyNameList = QList<PropertyName>;
|
2022-06-09 17:03:42 +02:00
|
|
|
using PropertyNames = std::vector<PropertyName>;
|
2018-07-24 23:56:45 +02:00
|
|
|
using TypeName = QByteArray;
|
2013-07-04 17:06:31 +02:00
|
|
|
|
2022-08-09 13:45:50 +02:00
|
|
|
enum class AuxiliaryDataType {
|
|
|
|
|
None,
|
|
|
|
|
Temporary,
|
|
|
|
|
Document,
|
|
|
|
|
NodeInstancePropertyOverwrite,
|
|
|
|
|
NodeInstanceAuxiliary
|
|
|
|
|
};
|
2022-09-14 11:46:08 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
};
|
2013-03-05 12:19:19 +01:00
|
|
|
}
|