 |
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.
8 #include "ui_generic.h"
24 Ui::basic_tag_field
ui;
42 bool eventFilter(QObject*
object, QEvent* event)
override;
48 void LabelEditEnterPressed();
Class representing a Tag document.
Definition: tag.h:15
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
BlamPluginField * template_field
The plugin field associated with this control.
Definition: generic.h:35
virtual void FlagAsModified(bool new_modified_state=true)
Flags the document as being modified.
Definition: BlamEditorDocument.cpp:75
@ Tag
Indicates the document represents a tag file.
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::basic_tag_field ui
Definition: generic.h:24
BlamTagField * field
The field associated with this control.
Definition: generic.h:30
A basic interface class which can be used for drag and drop behaviors.
Definition: drag_container.h:19
void SetDesignModeActive(drag_list *_drag_list, tag_designer *_designer) override
Instructs the field to be editable as a designer field.
Definition: generic.cpp:125
bool is_template
Whether or not this field is displaying as a template.
Definition: generic.h:36
~ui_generic_field()
Definition: generic.cpp:32
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
void SetDesignNameEditState(bool edit_state, bool save_changes=true) override
Enables or disables the label edit field for the current field.
Definition: generic.cpp:146
tag_designer * designer
The active tag designer that owns this control. Only used when design_mode is enabled.
Definition: tag_fields.h:27
ui_generic_field(BlamTagField *_field, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR)
Definition: generic.cpp:11
bool eventFilter(QObject *object, QEvent *event) override
Definition: generic.cpp:249
void SetupUI() override
Configures the UI for the current field.
Definition: generic.cpp:177
Class representing the Tag Designer.
Definition: tag_designer.h:24
KEYSTONE BlamConfigurationFile * GetDocumentTypeConfiguration(BlamEditorDocumentType type)
Attempts to locate the configuration file for the specified document type.
Definition: document_config.cpp:107