 |
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/tagref/tagref.h>
19 BlamPluginField_Tagref* template_field =
nullptr;
20 bool is_template =
false;
22 bool use_classic_ui =
false;
24 bool generating_class_list =
false;
25 bool generating_tag_list =
false;
27 void RefreshTagClassSelectionUI();
28 void RefreshTagSelectionUI();
32 BlamTagField_Tagref*
field =
nullptr;
48 void btn_browse_Click();
49 void btn_open_Click();
50 void btn_import_Click();
51 void btn_search_Click();
52 void btn_clear_Click();
54 void cbox_m_tag_dropdown_IndexChanged(
int index);
55 void cbox_m_tag_class_IndexChanged(
int index);
57 void LabelEditEnterPressed();
59 void SetupUI()
override;
void SetDesignModeActive(drag_list *_drag_list, tag_designer *_designer) override
Instructs the field to be editable as a designer field.
Definition: tagref.cpp:374
Class representing a Tag document.
Definition: tag.h:15
BlamPlugin * GetSelectedClass()
Definition: tagref.cpp:331
void FlagAsModified(bool new_modified_state=true)
Definition: tag.cpp:126
void SetDesignNameEditState(bool edit_state, bool save_changes=true) override
Enables or disables the label edit field for the current field.
Definition: tagref.cpp:395
~ui_tagref_field()
Definition: tagref.cpp:55
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
bool GetResult()
Definition: TagSearchDialog.cpp:92
@ Tag
Indicates the document represents a tag file.
Definition: TagSearchDialog.h:15
BlamTagField_Tagref * field
The field associated with this control.
Definition: tagref.h:32
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
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:32
A basic interface class which can be used for drag and drop behaviors.
Definition: drag_container.h:19
bool eventFilter(QObject *object, QEvent *event)
Definition: tagref.cpp:346
bool design_mode
Whether or not this field is currently in design mode.
Definition: tag_fields.h:25
BlamTagTreeNode * GetReferencedTagNode()
Definition: tagref.cpp:296
BlamTagTreeNode * selected_tag
Definition: TagSearchDialog.h:28
ui_tagref_field(BlamTagField_Tagref *_field, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR)
Definition: tagref.cpp:11
bool OpenDocument(std::string file_path, BlamTagTreeNode *tree_node, BlamEditorDocumentType doctype)
Attempts to open the specified document in the main window.
Definition: BlamEditorWindow.cpp:99
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
KEYSTONE BlamConfigurationFile * GetDocumentTypeConfiguration(BlamEditorDocumentType type)
Attempts to locate the configuration file for the specified document type.
Definition: document_config.cpp:107