!B (Sandbox) (CE-21795) Importing models with multisubmaterials via fbx switches...
[CRYENGINE.git] / Code / Sandbox / Plugins / EditorSchematyc2 / Editor / MainWindow.h
blob503d881d3edd8a23d86b82e59966cd2f30d2be64
1 // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
3 #pragma once
5 #include <QTViewPane.h>
6 #include <CrySandbox/CryInterop.h>
8 namespace Schematyc2
10 class CBrowserWidget;
11 class CDetailWidget;
12 class CDocGraphWidget;
13 class CLogWidget;
14 class CPreviewWidget;
16 class CMainWindow : public CDockableWindow, public IEditorNotifyListener, public IUriEventListener
18 Q_OBJECT
20 public:
22 CMainWindow();
24 // IPane
25 virtual const char* GetPaneTitle() const override;
26 // ~IPane
28 // IEditorNotifyListener
29 void OnEditorNotifyEvent(EEditorNotifyEvent event) override;
30 //~IEditorNotifyListener
32 // IUriEventListener
33 virtual void OnUriReceived(const char* szUri) override;
34 //~IUriEventListener
36 void Serialize(Serialization::IArchive& archive);
38 protected slots:
40 void OnToolbarSaveAll();
42 private:
44 void DockWidget(QWidget* pWidget, const char* szName, Qt::DockWidgetArea area);
46 void OnBrowserSelection(IScriptElement* pScriptElement);
48 private:
50 CBrowserWidget* m_pBrowser;
51 CDetailWidget* m_pDetail;
52 CDocGraphWidget* m_pGraph;
53 CLogWidget* m_pLog;
54 CPreviewWidget* m_pPreview;
56 TemplateUtils::CConnectionScope m_connectionScope;