![]() |
Blamite Game Engine - Keystone
00382.05.09.23.1235.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Class representing the Tag Designer. More...
#include <tag_designer.h>
Public Member Functions | |
tag_designer (QWidget *parent=Q_NULLPTR) | |
~tag_designer () | |
void | CloseAllLabelEditors () |
void | UnfocusAllContainers () |
![]() | |
BlamEditorDocumentWidget (QWidget *parent=nullptr) | |
![]() | |
void | GenerateDropZones (bool clear_existing=true) |
Generates drop zones for the given drag list. More... | |
void | AddContentWidget (QWidget *widget) |
Adds a content item to the drag list. More... | |
std::vector< QWidget * > | GetContentWidgets () |
Retrieves a list of all content widgets within the drag list. More... | |
Public Attributes | |
BlamPlugin * | plugin = nullptr |
int | next_field_id = 0 |
![]() | |
BlamEditorDocument * | document = nullptr |
The document associated with this widget. More... | |
![]() | |
QBoxLayout * | drag_layout = nullptr |
The layout container that holds all drag and drop widgets. More... | |
Class representing the Tag Designer.
The Tag Designer provides a GUI for authoring tag class definition files, or 'plugins'. These plugins are stored as XML files on disk, and are used by the Editing Kit to interact with tag files.
These files are not directly used by the game engine - instead, the game engine itself has its tag definitions built-in using C++ code. While this reduces compatiability, it ensures that the game engine can read tags as quickly and efficiently as possible - with minimal memory overhead.
The Tag Designer saves tag files as XML by default, for use within the Editing Kit. However, tags can also be exported to C++ code for ready use in-engine, allowing the designer to be used for both project-level tags as well as our own in-engine tags.
tag_designer::tag_designer | ( | QWidget * | parent = Q_NULLPTR | ) |
tag_designer::~tag_designer | ( | ) |
void tag_designer::CloseAllLabelEditors | ( | ) |
void tag_designer::UnfocusAllContainers | ( | ) |
int tag_designer::next_field_id = 0 |
BlamPlugin* tag_designer::plugin = nullptr |