Elaztek Developer Hub
Blamite Game Engine - Keystone  00370.03.08.23.1431.blamite
A library that enables the use of Qt in Blamite's editing tools.
vector.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <HEKGuerilla/components/tags/fields/vector/vector.h>
4 
6 #include "../generic/generic.h"
7 
14 {
15 private slots:
21  void TextChangedX(QString text);
22 
28  void TextChangedY(QString text);
29 
35  void TextChangedZ(QString text);
36 
42  void TextChangedW(QString text);
43 
44 private:
45  QLineEdit* input_control_x = nullptr;
46  QLineEdit* input_control_y = nullptr;
47  QLineEdit* input_control_z = nullptr;
48  QLineEdit* input_control_w = nullptr;
49 
50  void text_edit_helper(QString text, QLineEdit* input_control, float* out_value);
51 
52 public:
58  ui_vector_field(BlamTagField_Vector* _field, BlamEditorDocument_Tag* _document);
59 
65  ui_vector_field(BlamPluginField* _template, BlamEditorDocument_Tag* _document);
66 
68 };
BlamEditorDocument_Tag
Class representing a Tag document.
Definition: tag.h:15
ui_vector_field::~ui_vector_field
~ui_vector_field()
Definition: vector.cpp:120
ui_vector_field
A vector input field.
Definition: vector.h:13
ui_vector_field::ui_vector_field
ui_vector_field(BlamTagField_Vector *_field, BlamEditorDocument_Tag *_document)
Initializes a new Vector field.
Definition: vector.cpp:7
ui_generic_field
A generic tag field control template.
Definition: generic.h:15
tag_fields.h