Plasma Engine  2.0
Loading...
Searching...
No Matches
LogPanel.moc.h
1#pragma once
2
3#include <EditorFramework/EditorFrameworkDLL.h>
4#include <EditorFramework/IPC/EngineProcessConnection.h>
5#include <EditorFramework/ui_LogPanel.h>
6#include <Foundation/Basics.h>
7#include <GuiFoundation/DockPanels/ApplicationPanel.moc.h>
8#include <GuiFoundation/UIServices/UIServices.moc.h>
9#include <ToolsFoundation/Project/ToolsProject.h>
10
11class plQtLogModel;
13
15class PL_EDITORFRAMEWORK_DLL plQtLogPanel : public plQtApplicationPanel, public Ui_LogPanel
16{
17 Q_OBJECT
18
19 PL_DECLARE_SINGLETON(plQtLogPanel);
20
21public:
24
25protected:
26 virtual void ToolsProjectEventHandler(const plToolsProjectEvent& e) override;
27
28private Q_SLOTS:
29 void OnNewWarningsOrErrors(const char* szText, bool bError);
30
31private:
32 void LogWriter(const plLoggingEventData& e);
33 void EngineProcessMsgHandler(const plEditorEngineProcessConnection::Event& e);
34 void UiServiceEventHandler(const plQtUiServices::Event& e);
35
36 plUInt32 m_uiIgnoredNumErrors = 0;
37 plUInt32 m_uiIgnoreNumWarnings = 0;
38 plUInt32 m_uiKnownNumErrors = 0;
39 plUInt32 m_uiKnownNumWarnings = 0;
40};
41
Base class for all panels that are supposed to be application wide (not tied to some document).
Definition ApplicationPanel.moc.h:13
The Qt model that represents log output for a view.
Definition LogModel.moc.h:11
The application wide panel that shows the engine log output and the editor log output.
Definition LogPanel.moc.h:16
Definition EngineProcessConnection.h:63
The data that is sent through plLogInterface.
Definition Log.h:50
Definition UIServices.moc.h:23
Definition ToolsProject.h:13