 |
Blamite Game Engine - Keystone
00453.06.08.26.0624.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/vector/vector.h>
7 #include "../generic/generic.h"
22 void TextChangedX(QString text);
29 void TextChangedY(QString text);
36 void TextChangedZ(QString text);
43 void TextChangedW(QString text);
46 QLineEdit* input_control_x =
nullptr;
47 QLineEdit* input_control_y =
nullptr;
48 QLineEdit* input_control_z =
nullptr;
49 QLineEdit* input_control_w =
nullptr;
51 QDoubleSpinBox* input_spin_x =
nullptr;
52 QDoubleSpinBox* input_spin_y =
nullptr;
53 QDoubleSpinBox* input_spin_z =
nullptr;
54 QDoubleSpinBox* input_spin_w =
nullptr;
56 void text_edit_helper(QString text, QWidget* input_control,
float* out_value,
bool is_spinbox =
false);
58 void DeleteInputControls();
Class representing a Tag document.
Definition: tag.h:14
void FlagAsModified(bool new_modified_state=true) override
Flags the document as being modified.
Definition: tag.cpp:141
void FieldChanged(BlamEditorTagFieldControl *_field)
~ui_vector_field()
Definition: vector.cpp:18
BlamEditorDocument_Tag * document
The document this field belongs to.
Definition: tag_fields.h:27
BlamPluginField * template_field
The plugin field associated with this control.
Definition: generic.h:35
@ Tag
Indicates the document represents a tag file.
void SetupUI() override
Configures the UI for the current field.
Definition: vector.cpp:135
Ui::basic_tag_field ui
Definition: generic.h:24
BlamTagField * field
The field associated with this control.
Definition: generic.h:30
A vector input field.
Definition: vector.h:14
bool is_template
Whether or not this field is displaying as a template.
Definition: generic.h:36
ui_vector_field(BlamTagField_Vector *_field, BlamEditorDocument_Tag *_document)
Initializes a new Vector field.
Definition: vector.cpp:8
A generic tag field control template.
Definition: generic.h:19
KEYSTONE void SetWidgetValidAppearance(QWidget *widget, bool valid)
Applies the configured invalid field colors to a given widget.
Definition: tag_fields.cpp:157
KEYSTONE BlamConfigurationFile * GetDocumentTypeConfiguration(BlamEditorDocumentType type)
Attempts to locate the configuration file for the specified document type.
Definition: document_config.cpp:108