 |
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/tags/fields/dataref/dataref.h>
6 #include "ui_dataref.h"
15 BlamTagField_Dataref* field =
nullptr;
16 BlamPluginField* template_field =
nullptr;
17 bool is_template =
false;
18 bool ui_refreshing =
false;
20 void RefreshFieldUI();
35 void OnDataTextChanged();
36 void OnSizeTextChanged(QString text);
37 void OnViewAsSelectionChanged(
int new_index);
39 void LabelEditEnterPressed();
Class representing a Tag document.
Definition: tag.h:15
~ui_dataref_field()
Definition: dataref.cpp:39
bool eventFilter(QObject *object, QEvent *event)
Definition: dataref.cpp:186
void FlagAsModified(bool new_modified_state=true)
Definition: tag.cpp:126
Font Awesome Free License Font Awesome Free is free
Definition: LICENSE.txt:4
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
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
ui_dataref_field(BlamTagField_Dataref *_field, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR)
Definition: dataref.cpp:8
void SetDesignNameEditState(bool edit_state, bool save_changes=true) override
Enables or disables the label edit field for the current field.
Definition: dataref.cpp:235
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
tag_designer * designer
The active tag designer that owns this control. Only used when design_mode is enabled.
Definition: tag_fields.h:27
void SetDesignModeActive(drag_list *_drag_list, tag_designer *_designer) override
Instructs the field to be editable as a designer field.
Definition: dataref.cpp:214
void SetupUI() override
Configures the UI for the current field.
Definition: dataref.cpp:258
Class representing the Tag Designer.
Definition: tag_designer.h:24