3#include <Foundation/Communication/Event.h>
4#include <Foundation/Configuration/Singleton.h>
5#include <Foundation/Strings/FormatString.h>
6#include <Foundation/Time/Time.h>
7#include <Foundation/Types/Status.h>
8#include <GuiFoundation/GuiFoundationDLL.h>
26 ShowDocumentTemporaryStatusBarText,
27 ShowDocumentPermanentStatusBarText,
28 ShowGlobalStatusBarText,
29 ClickedDocumentPermanentStatusBarText,
43 TextType m_TextType = TextType::Info;
57 plUInt32 m_uiFrame = 0;
59 double m_fRefreshRate = 60.0;
68 static bool IsHeadless();
71 static void SetHeadless(
bool bHeadless);
75 void ShowColorDialog(
const plColor& color,
bool bAlpha,
bool bHDR, QWidget* pParent,
const char* szSlotCurColChanged,
const char* szSlotAccept,
const char* szSlotReject);
80 static void MessageBoxStatus(
const plStatus& s,
const char* szFailureMsg,
const char* szSuccessMsg =
"",
bool bOnlySuccessMsgIfDetails =
true);
89 static QMessageBox::StandardButton MessageBoxQuestion(
const plFormatString& msg, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton);
93 static void ShowAllDocumentsTemporaryStatusBarMessage(
const plFormatString& msg,
plTime timeOut);
95 static void ShowAllDocumentsPermanentStatusBarMessage(
const plFormatString& msg, Event::TextType type);
101 static bool OpenFileInDefaultProgram(
const char* szPath);
104 static void OpenInExplorer(
const char* szPath,
bool bIsFile);
108 static plStatus OpenInRider(
const char* szPath);
110 static plStatus OpenIn10X(
const char* szPath);
112 static plStatus OpenInVisualStudio(
const char* szPath);
134 static const QImage& GetCachedImageResource(
const char* szIdentifier);
138 static const QPixmap& GetCachedPixmapResource(
const char* szIdentifier);
144 static plResult AddToGitIgnore(
const char* szGitIgnoreFile,
const char* szPattern);
147 static void CheckForUpdates();
152 void TickEventHandler();
156 QByteArray m_ColorDlgGeometry;
161 static bool s_bHeadless;
163 bool m_bIsDrawingATM =
false;
Definition EditorApp.moc.h:27
plColor represents an RGBA color in linear color space. Values are stored as float,...
Definition Color.h:44
static plColor MakeZero()
Returns a color with all four RGBA components set to zero. This is different to plColor::Black,...
Definition Color.cpp:13
Definition ColorDialog.moc.h:16
Definition UIServices.moc.h:16
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
Definition UIServices.moc.h:23
Definition UIServices.moc.h:49
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
An plResult with an additional message for the reason of failure.
Definition Status.h:12
The time class encapsulates a double value storing the time in seconds.
Definition Time.h:12