Elaztek Developer Hub
Blamite Game Engine - Keystone  00385.05.12.23.0209.blamite
A library that enables the use of Qt in Blamite's editing tools.
dataref.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <HEKGuerilla/components/tags/fields/dataref/dataref.h>
4 
6 #include "ui_dataref.h"
7 
9 {
10  Q_OBJECT
11 
12 private slots:
13  void OnDataTextChanged();
14  void OnSizeTextChanged(QString text);
15  void OnViewAsSelectionChanged(int new_index);
16 
17 private:
18  Ui::dataref ui;
19 
20  BlamTagField_Dataref* field = nullptr;
21  BlamPluginField* template_field = nullptr;
22  bool is_template = false;
23  bool ui_refreshing = false;
24 
25  void RefreshFieldUI();
26 
27 public:
28  ui_dataref_field(BlamTagField_Dataref* _field, BlamEditorDocument_Tag* _document, QWidget* parent = Q_NULLPTR);
29  ui_dataref_field(BlamPluginField* _template, BlamEditorDocument_Tag* _document);
31 };
BlamEditorDocument_Tag
Class representing a Tag document.
Definition: tag.h:15
ui_dataref_field
Definition: dataref.h:8
ui_dataref_field::~ui_dataref_field
~ui_dataref_field()
Definition: dataref.cpp:61
BlamEditorDocument_Tag::FlagAsModified
void FlagAsModified(bool new_modified_state=true)
Definition: tag.cpp:126
free
Font Awesome Free License Font Awesome Free is free
Definition: LICENSE.txt:4
BlamEditorTagFieldControl::document
BlamEditorDocument_Tag * document
The document this field belongs to.
Definition: tag_fields.h:24
BlamEditorTagFieldControl
Interface used as a base for all tag field controls.
Definition: tag_fields.h:18
dataref.h
ui_dataref_field::ui_dataref_field
ui_dataref_field(BlamTagField_Dataref *_field, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR)
Definition: dataref.cpp:7
tag.h
tag_fields.h