 |
Blamite Game Engine - Keystone
00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
4 #include <Strings/components/interface/logger/logger.h>
5 #include <Strings/components/classes/events/events.h>
8 #include "ui_console_output.h"
22 std::vector<BlamBasicLogMessage> messages = std::vector<BlamBasicLogMessage>();
55 Ui::guerilla_console_output ui;
59 int displayed_error_count = 0;
60 int displayed_warning_count = 0;
61 int displayed_info_count = 0;
63 int total_error_count = 0;
64 int total_warning_count = 0;
65 int total_info_count = 0;
67 int last_message_index = 0;
69 void AppendLogMessage(BlamBasicLogMessage message);
79 void btn_clear_Click();
86 void btn_copy_Click();
88 void btn_show_errors_Click();
89 void btn_show_warnings_Click();
90 void btn_show_info_Click();
91 void cbox_show_output_from_indexChanged(
int index);
KeystoneDialogResult
Enumerator containing all possible generic dialog results.
Definition: keystone_api.h:30
KEYSTONE KeystoneDialogResult ShowMessageBox(std::string message)
Definition: utils.cpp:279
@ YesNo
Dialog is shown with a [Yes] and [No] button.
KEYSTONE BlamEditorToolWindow * GetToolWindow(BlamEditorToolWindowType type)
Retrieves a desired tool window.
Definition: editor_data.cpp:37
@ Warning
Dialog icon will be a yellow triangle with an exclamation mark.
KEYSTONE BlamEditorTheme * GetActiveTheme()
Retrieves the currently selected theme.
Definition: themes.cpp:335
@ Yes
The user pressed the 'Yes' button.
KeystoneDialogResult GetResult()
Retrieves the dialog result.
Definition: qt_message_box.cpp:167
void LogMessageReceived(BlamBasicLogMessage message)
Adds a new log message to the output text field.
Definition: BlamOutputLogReceiver.cpp:17
@ Question
Dialog icon will be a speech bubble with a question mark.
void OnTickEvent(EditorTickEvent *event)
Definition: BlamOutputLogReceiver.cpp:24
~BlamOutputLogReceiver()
Definition: BlamOutputLogReceiver.cpp:12
BlamOutputLogReceiver(BlamEditorToolWindow_Output *_output_window)
Definition: BlamOutputLogReceiver.cpp:5
A basic message box dialog.
Definition: qt_message_box.h:39
Log message receiver, used to listen for new messages from any logger.
Definition: output.h:19