Plasma Engine  2.0
Loading...
Searching...
No Matches
SkeletonAssetWindow.moc.h
1#pragma once
2
3#include <EditorEngineProcessFramework/EngineProcess/ViewRenderSettings.h>
4#include <EditorFramework/DocumentWindow/EngineDocumentWindow.moc.h>
5#include <EditorPluginAssets/SkeletonAsset/SkeletonAsset.h>
6#include <Foundation/Basics.h>
7#include <ToolsFoundation/Object/DocumentObjectManager.h>
8
11
13{
14 Q_OBJECT
15
16public:
19
20 plSkeletonAssetDocument* GetSkeletonDocument();
21 virtual const char* GetWindowLayoutGroupName() const override { return "SkeletonAsset"; }
22
23protected:
24 virtual void InternalRedraw() override;
25 virtual void ProcessMessageEventHandler(const plEditorEngineDocumentMsg* pMsg) override;
26
27private:
28 void SendRedrawMsg();
29 void QueryObjectBBox(plInt32 iPurpose = 0);
30 void SelectionEventHandler(const plSelectionManagerEvent& e);
31 void SkeletonAssetEventHandler(const plSkeletonAssetEvent& e);
32
33 void PropertyEventHandler(const plDocumentObjectPropertyEvent& e);
34 void CommandEventHandler(const plCommandHistoryEvent&);
35
36 void SendLiveResourcePreview();
37 void RestoreResource();
38
39 plEngineViewConfig m_ViewConfig;
40 plQtOrbitCamViewWidget* m_pViewWidget = nullptr;
41};
42
Base class for all messages that are tied to some document.
Definition EngineProcessMessages.h:151
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 OrbitCamViewWidget.moc.h:11
Definition SkeletonAssetWindow.moc.h:13
virtual const char * GetWindowLayoutGroupName() const override
The 'GroupName' is used for serializing window layouts. It should be unique among different window ty...
Definition SkeletonAssetWindow.moc.h:21
Definition SelectionContext.h:12
Definition SkeletonAsset.h:25
Definition CommandHistory.h:31
Used by plDocumentObjectManager::m_PropertyEvents.
Definition DocumentObjectManager.h:77
Definition ViewRenderSettings.h:26
Definition SelectionManager.h:10
Definition SkeletonAsset.h:13