forked from qt-creator/qt-creator
The node instance view and his commands should be not called directly from other views. There are special classes QmlItem which can do it but every change should go through the model. Change-Id: I734e5538d7f6ecb07d736912f647c5eb92dc7631 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
54 lines
1.0 KiB
C++
54 lines
1.0 KiB
C++
// 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
|
|
};
|
|
}
|