 |
Blamite Game Engine - Keystone
00433.02.16.25.2127.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
5 #include <qprogressbar.h>
7 #include <Strings/components/classes/events/events.h>
12 #include "ui_sapien_main_window.h"
22 Ui::sapien_main_window ui;
23 QLabel* status_text =
nullptr;
24 QProgressBar* status_progress_bar =
nullptr;
Class representing the main window for Sapien.
Definition: sapien_main_window.h:17
void OnMouseClickEvent(MouseClickEvent *event) override
Definition: sapien_main_window.cpp:91
bool ShouldExit()
Definition: SelectProjectDialog.cpp:26
@ Ok
Dialog is shown with an [OK] button.
@ Error
Dialog icon will be a red circle with an X.
@ Sapien
The editor window is the main window for Sapien (see #sapien_main_window).
void SetupWindow()
Prepares the main window layout.
Definition: BlamEditorWindow.cpp:23
KEYSTONE int StartEngine()
Initializes the game engine and starts the main loop thread.
Definition: engine.cpp:47
KEYSTONE KeystoneDialogResult ShowMessageBox(std::string message)
Definition: utils.cpp:294
~SapienMainWindow()
Definition: sapien_main_window.cpp:65
KEYSTONE BlamEditorToolWindow * GetToolWindow(BlamEditorToolWindowType type)
Retrieves a desired tool window.
Definition: editor_data.cpp:39
void OnKeyPressEvent(KeyPressEvent *event) override
Definition: sapien_main_window.cpp:136
BlamEditorWindowType
Enumerator used to identify the type of the main editor window.
Definition: keystone_api.h:53
Definition: SelectProjectDialog.h:9
KEYSTONE void ShutdownEngine()
Shuts down the engine.
Definition: engine.cpp:92
SapienMainWindow(QWidget *parent=Q_NULLPTR)
Definition: sapien_main_window.cpp:21
void SetStatusBarText(std::string status)
Updates the current status bar text.
Definition: sapien_main_window.cpp:70
void OnScenarioLoadFinished(std::string tag_path, bool success) override
Definition: sapien_main_window.cpp:198
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:34
void OnScenarioLoadStageChanged(std::string tag_path, int stage) override
Definition: sapien_main_window.cpp:146
void OnScenarioLoadStarted(std::string tag_path) override
Definition: sapien_main_window.cpp:141
void closeEvent(QCloseEvent *closeEvent) override
Called when the window is closed.
Definition: sapien_main_window.cpp:84