Plasma Engine  2.0
Loading...
Searching...
No Matches
MeshAssetWindow.moc.h
1#pragma once
2
3#include <EditorPluginAssets/EditorPluginAssetsDLL.h>
4
5#include <EditorEngineProcessFramework/EngineProcess/ViewRenderSettings.h>
6#include <EditorFramework/DocumentWindow/EngineDocumentWindow.moc.h>
7#include <EditorPluginAssets/MeshAsset/MeshAsset.h>
8#include <ToolsFoundation/Object/DocumentObjectManager.h>
9
10#include <QPointer>
11#include <QTimer>
12
14
16{
17 Q_OBJECT
18
19public:
22
23 plMeshAssetDocument* GetMeshDocument();
24 virtual const char* GetWindowLayoutGroupName() const override { return "MeshAsset"; }
25
26protected:
27 virtual void InternalRedraw() override;
28 virtual void ProcessMessageEventHandler(const plEditorEngineDocumentMsg* pMsg) override;
29
30protected Q_SLOTS:
31 void HighlightTimer();
32
33private:
34 void SendRedrawMsg();
35 void QueryObjectBBox(plInt32 iPurpose = 0);
36 void PropertyEventHandler(const plDocumentObjectPropertyEvent& e);
37 bool UpdatePreview();
38
39 plEngineViewConfig m_ViewConfig;
40 plQtOrbitCamViewWidget* m_pViewWidget;
41 plUInt32 m_uiHighlightSlots = 0;
42 QPointer<QTimer> m_pHighlightTimer;
43};
44
Base class for all messages that are tied to some document.
Definition EngineProcessMessages.h:151
Definition MeshAsset.h:12
Base class for all document windows that need a connection to the engine process, and might want to r...
Definition EngineDocumentWindow.moc.h:37
Definition MeshAssetWindow.moc.h:16
virtual const char * GetWindowLayoutGroupName() const override
The 'GroupName' is used for serializing window layouts. It should be unique among different window ty...
Definition MeshAssetWindow.moc.h:24
Definition OrbitCamViewWidget.moc.h:11
Used by plDocumentObjectManager::m_PropertyEvents.
Definition DocumentObjectManager.h:77
Definition ViewRenderSettings.h:26