 |
Blamite Game Engine - Keystone
00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
void add_scancode(int qt_key, int sdl_key)
Definition: utils.cpp:22
@ Tool
The editor window is the GUI for Tool (see tool_gui_window).
KeystoneDialogResult
Enumerator containing all possible generic dialog results.
Definition: keystone_api.h:30
BlamEditorWindowType GetEditorWindowType()
Retrieves the type of the editor window.
Definition: BlamEditorWindow.cpp:89
@ Sapien
The editor window is the main window for Sapien (see sapien_main_window).
std::string GetApplicationTitle()
Definition: BlamEditorWindow.cpp:406
KeystoneMessageBoxButtons
Enumerator containing different possible button combinations.
Definition: qt_message_box.h:23
@ Ok
Dialog is shown with an [OK] button.
KEYSTONE QIcon GetDefaultApplicationIcon()
Definition: utils.cpp:324
KEYSTONE uint32_t ConvertQtVirtKeyToSDLScancode(int key)
Definition: utils.cpp:256
KEYSTONE KeystoneDialogResult ShowMessageBox(std::string message)
Definition: utils.cpp:279
std::map< int, int > qt_virtual_key_conversions
Definition: utils.cpp:14
@ Guerilla
The editor window is the main window for Guerilla (see guerilla_window).
KeystoneMessageBoxType
Enumerator containing different possible message box types, primarily used to control the icon that i...
Definition: qt_message_box.h:10
KEYSTONE BlamEditorTheme * GetActiveTheme()
Retrieves the currently selected theme.
Definition: themes.cpp:335
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:32
void load_scancode_conversions()
Definition: utils.cpp:125
KEYSTONE bool IsPointWithinGeometry(QWidget *widget, QPoint point)
Definition: utils.cpp:309
@ None
The dialog will not contain an icon.
KeystoneDialogResult GetResult()
Retrieves the dialog result.
Definition: qt_message_box.cpp:167
void load_virtkey_conversions()
Definition: utils.cpp:27
void add_virt_key(int qt_key, int sdl_key)
Definition: utils.cpp:17
std::map< int, int > qt_scancode_conversions
Definition: utils.cpp:15
KEYSTONE void PokeStylesheet(QWidget *widget)
Definition: utils.cpp:355
#define KEYSTONE
Definition: utils.h:10
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:48
GUI for the Qt-based error dialog box.
Definition: error_dialog.h:12
KEYSTONE KeystoneDialogResult ShowErrorDialog(bool allow_safemode, bool allow_continue, std::string text)
Shows an error dialog that allows the user to continue execution, continue in 'safe mode',...
Definition: utils.cpp:271
General-purpose utilities for use within Keystone.
Definition: utils.h:16
KEYSTONE void SetGraphicsViewImage(QGraphicsView *graphics_view, std::string image_path, Qt::AspectRatioMode aspect_ratio_mode)
Applies an image to a graphics view, without the need for extra scene/pixmap management.
Definition: utils.cpp:221
KEYSTONE uint32_t ConvertQtVirtKeyToSDLVirtKey(int key)
Definition: utils.cpp:241
@ Foundry
The editor window is the main window for Foundry (see foundry_main_window).
A basic message box dialog.
Definition: qt_message_box.h:39
KeystoneDialogResult GetResult()
Retrieves the result of the dialog.
Definition: error_dialog.cpp:21