Plasma Engine  2.0
Loading...
Searching...
No Matches
AssetBrowserPanel.moc.h
1#pragma once
2
3#include <EditorFramework/EditorFrameworkDLL.h>
4#include <EditorFramework/ui_AssetBrowserPanel.h>
5#include <Foundation/Basics.h>
6#include <GuiFoundation/DockPanels/ApplicationPanel.moc.h>
7
8class QStatusBar;
9class QLabel;
12
14class PL_EDITORFRAMEWORK_DLL plQtAssetBrowserPanel : public plQtApplicationPanel, public Ui_AssetBrowserPanel
15{
16 Q_OBJECT
17
18 PL_DECLARE_SINGLETON(plQtAssetBrowserPanel);
19
20public:
23
24 const plUuid& GetLastSelectedAsset() const { return m_LastSelected; }
25
26private Q_SLOTS:
27 void SlotAssetChosen(plUuid guid, QString sAssetPathRelative, QString sAssetPathAbsolute, plUInt8 uiAssetBrowserItemFlags);
28 void SlotAssetSelected(plUuid guid, QString sAssetPathRelative, QString sAssetPathAbsolute, plUInt8 uiAssetBrowserItemFlags);
29 void SlotAssetCleared();
30
31private:
32 void AssetCuratorEvents(const plAssetCuratorEvent& e);
33 void ProjectEvents(const plToolsProjectEvent& e);
34
35 plUuid m_LastSelected;
36 QStatusBar* m_pStatusBar;
37 plQtCuratorControl* m_pCuratorControl;
38};
Base class for all panels that are supposed to be application wide (not tied to some document).
Definition ApplicationPanel.moc.h:13
The application wide panel that shows and asset browser.
Definition AssetBrowserPanel.moc.h:15
Definition CuratorControl.moc.h:14
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11
Definition AssetCurator.h:122
Definition ToolsProject.h:13