 |
Blamite Game Engine - Keystone
00402.09.29.23.0627.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
3 #include <HEKGuerilla/components/tags/fields/boolean/boolean.h>
7 #include "../generic/generic.h"
19 QCheckBox* input_control =
nullptr;
46 void CheckboxStateChanged(
int state);
Class representing a Tag document.
Definition: tag.h:15
void SetupUI() override
Configures the UI for the current field.
Definition: boolean.cpp:33
void FlagAsModified(bool new_modified_state=true) override
Flags the document as being modified.
Definition: tag.cpp:130
KeystoneDialogResult
Enumerator containing all possible generic dialog results.
Definition: keystone_api.h:30
BlamEditorDocument_Tag * document
The document this field belongs to.
Definition: tag_fields.h:24
BlamPluginField * template_field
The plugin field associated with this control.
Definition: generic.h:35
KEYSTONE KeystoneDialogResult ShowMessageBox(std::string message)
Definition: utils.cpp:279
@ YesNo
Dialog is shown with a [Yes] and [No] button.
A boolean input field.
Definition: boolean.h:16
@ Yes
The user pressed the 'Yes' button.
Ui::basic_tag_field ui
Definition: generic.h:24
BlamTagField * field
The field associated with this control.
Definition: generic.h:30
@ Question
Dialog icon will be a speech bubble with a question mark.
bool is_template
Whether or not this field is displaying as a template.
Definition: generic.h:36
bool design_mode
Whether or not this field is currently in design mode.
Definition: tag_fields.h:25
A generic tag field control template.
Definition: generic.h:19
ui_boolean_field(BlamTagField_Boolean *_field, BlamEditorDocument_Tag *_document)
Initializes a new Ascii field.
Definition: boolean.cpp:7
~ui_boolean_field()
Definition: boolean.cpp:17
tag_designer * designer
The active tag designer that owns this control. Only used when design_mode is enabled.
Definition: tag_fields.h:27