 |
Blamite Game Engine - Keystone
00386.06.16.23.0646.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/settings/config/config.h>
4 #include <HEKGuerilla/components/tags/fields/color/color.h>
16 bool is_template =
false;
17 BlamPluginField* template_field =
nullptr;
19 void update_color_button();
20 void color_text_field_edit_helper(QString text, QLineEdit* edit_control,
byte* out_value);
36 void TextFieldChanged_Red(QString text);
37 void TextFieldChanged_Green(QString text);
38 void TextFieldChanged_Blue(QString text);
39 void TextFieldChanged_Alpha(QString text);
41 void ColorPickerButtonClicked();
43 void LabelEditEnterPressed();
Class representing a Tag document.
Definition: tag.h:15
void SetupUI() override
Configures the UI for the current field.
Definition: color.cpp:211
void FlagAsModified(bool new_modified_state=true)
Definition: tag.cpp:126
~ui_color_field()
Definition: color.cpp:44
BlamEditorDocument_Tag * document
The document this field belongs to.
Definition: tag_fields.h:24
Interface used as a base for all tag field controls.
Definition: tag_fields.h:18
ui_color_field(BlamTagField_Color *_field, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR)
Definition: color.cpp:12
drag_list * drag_drop_list
The active drag list that owns this control. Only used when design_mode is enabled.
Definition: tag_fields.h:26
void SetDesignNameEditState(bool edit_state, bool save_changes=true) override
Enables or disables the label edit field for the current field.
Definition: color.cpp:188
bool eventFilter(QObject *object, QEvent *event)
Definition: color.cpp:160
A basic interface class which can be used for drag and drop behaviors.
Definition: drag_container.h:19
bool design_mode
Whether or not this field is currently in design mode.
Definition: tag_fields.h:25
KEYSTONE void SetWidgetValidAppearance(QWidget *widget, bool valid)
Applies the configured invalid field colors to a given widget.
Definition: tag_fields.cpp:146
BlamTagField * field
The field associated with this control.
Definition: tag_fields.h:23
void SetDesignModeActive(drag_list *_drag_list, tag_designer *_designer) override
Instructs the field to be editable as a designer field.
Definition: color.cpp:49
tag_designer * designer
The active tag designer that owns this control. Only used when design_mode is enabled.
Definition: tag_fields.h:27
Class representing the Tag Designer.
Definition: tag_designer.h:24