Elaztek Developer Hub
Blamite Game Engine - Keystone  00335.09.13.21.0053.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:44
KeystoneTagFieldControl
Interface used as a base for all tag field controls.
Definition: KeystoneTagFieldControl.h:11
KeystoneTagFieldControl.h
ui_dataref_field::ui_dataref_field
ui_dataref_field(BlamTagField_Dataref *_field, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR)
Definition: dataref.cpp:3