![]() |
Blamite Game Engine - Keystone
00333.08.11.21.2016.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
General-purpose utilities for use within Keystone. More...
Functions | |
| 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. More... | |
| 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', or exit the program. More... | |
| KEYSTONE KeystoneDialogResult | ShowMessageBox (std::string message) |
| KEYSTONE KeystoneDialogResult | ShowMessageBox (std::string title, std::string message) |
| KEYSTONE KeystoneDialogResult | ShowMessageBox (std::string title, std::string message, KeystoneMessageBoxType type) |
| KEYSTONE KeystoneDialogResult | ShowMessageBox (std::string title, std::string message, KeystoneMessageBoxType type, KeystoneMessageBoxButtons buttons) |
General-purpose utilities for use within Keystone.
| void BlamKeystone::Utils::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.
| graphics_view | - The graphics view to set the image for. |
| image_path | - The path to the image file. |
| KEYSTONE KeystoneDialogResult BlamKeystone::Utils::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', or exit the program.
| allow_safemode | - Whether or not to enable the 'Continue in Safe Mode' option. |
| allow_continue | - Wehther or not to enable the 'Continue' option. |
| text | - The message to display to the user. |
| KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowMessageBox | ( | std::string | message | ) |
| KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowMessageBox | ( | std::string | title, |
| std::string | message | ||
| ) |
| KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowMessageBox | ( | std::string | title, |
| std::string | message, | ||
| KeystoneMessageBoxType | type | ||
| ) |
| KEYSTONE KeystoneDialogResult BlamKeystone::Utils::ShowMessageBox | ( | std::string | title, |
| std::string | message, | ||
| KeystoneMessageBoxType | type, | ||
| KeystoneMessageBoxButtons | buttons | ||
| ) |