Elaztek Developer Hub
Blamite Game Engine - Keystone  00327.06.27.21.1056.blamite
A library that enables the use of Qt in Blamite's editing tools.
tagref.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <HEKGuerilla/components/settings/config/config.h>
4 #include <HEKGuerilla/components/tags/fields/tagref/tagref.h>
5 
7 #include "ui_tagref.h"
8 
9 class BlamTagTreeNode;
10 
12 {
13  Q_OBJECT
14 
15 private:
16 
17  Ui::tagref ui;
18 
19  BlamTagField_Tagref* field = nullptr;
20  BlamPluginField_Tagref* template_field = nullptr;
21  bool is_template = false;
22 
23  bool use_classic_ui = false;
24 
25  bool generating_class_list = false;
26  bool generating_tag_list = false;
27 
28  void RefreshTagClassSelectionUI();
29  void RefreshTagSelectionUI();
30 
31  BlamTagTreeNode* GetReferencedTagNode();
32 
33 public:
34 
35  ui_tagref_field(BlamTagField_Tagref* _field, QWidget* parent = Q_NULLPTR);
36  ui_tagref_field(BlamPluginField_Tagref* _template);
38 
39 private slots:
40 
41  void btn_browse_Click();
42  void btn_open_Click();
43  void btn_import_Click();
44  void btn_search_Click();
45  void btn_clear_Click();
46 
47  void cbox_m_tag_dropdown_IndexChanged(int index);
48  void cbox_m_tag_class_IndexChanged(int index);
49 };
ui_tagref_field
Definition: tagref.h:11
KeystoneTagFieldControl
Interface used as a base for all tag field controls.
Definition: KeystoneTagFieldControl.h:9
ui_tagref_field::~ui_tagref_field
~ui_tagref_field()
Definition: tagref.cpp:87
ui_tagref_field::ui_tagref_field
ui_tagref_field(BlamTagField_Tagref *_field, QWidget *parent=Q_NULLPTR)
Definition: tagref.cpp:8
KeystoneTagFieldControl.h