![]() |
Blamite Game Engine - Keystone
00446.11.02.25.0036.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
A dialog used for general-purpose text and code editing. More...
#include <CodeEditorDialog.h>
Inheritance diagram for CodeEditorDialog:
Collaboration diagram for CodeEditorDialog:Public Member Functions | |
| CodeEditorDialog (std::string contents="", QWidget *parent=Q_NULLPTR) | |
| Initializes a new code editor dialog. More... | |
| ~CodeEditorDialog () | |
| std::string | GetText () |
| Retrieves the updated text. More... | |
| bool | IsCancelled () |
| Checks if the dialog was cancelled. More... | |
| BlamDatarefValueHintType | GetDatarefValueHintType () |
A dialog used for general-purpose text and code editing.
Syntax highlighting is provided using the QSourceHighlite library.
| CodeEditorDialog::CodeEditorDialog | ( | std::string | contents = "", |
| QWidget * | parent = Q_NULLPTR |
||
| ) |
Initializes a new code editor dialog.
| contents | - The initial contents of the file. Defaults to a blank string. |
| parent | - The parent of this dialog. Defaults to nullptr. |
| CodeEditorDialog::~CodeEditorDialog | ( | ) |
| BlamDatarefValueHintType CodeEditorDialog::GetDatarefValueHintType | ( | ) |
Here is the call graph for this function:| std::string CodeEditorDialog::GetText | ( | ) |
Retrieves the updated text.
Here is the call graph for this function:| bool CodeEditorDialog::IsCancelled | ( | ) |
Checks if the dialog was cancelled.
true if the user closed without saving, otherwise returns false.