Elaztek Developer Hub
Blamite Game Engine - Keystone  00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
tag_editor Class Reference

The tag editor widget. More...

#include <tag_editor.h>

+ Inheritance diagram for tag_editor:
+ Collaboration diagram for tag_editor:

Public Member Functions

 tag_editor (QString tag_file_path, bool binary, BlamTagTreeNode *tag_node, QWidget *parent=Q_NULLPTR)
 Initializes a new tag editor control. More...
 
 tag_editor (BlamTag *_tag, QWidget *parent=Q_NULLPTR)
 Initializes a new tag editor control. More...
 
 tag_editor (BlamTag *_tag, BlamEditorDocument *_document, QWidget *parent=Q_NULLPTR)
 Initializes a new tag editor control. More...
 
 ~tag_editor ()
 
BlamTag * GetTag ()
 Retrieves the tag associated with this editor. More...
 
void GenerateTagEditorUI ()
 Generates the UI for tag editing. More...
 
- Public Member Functions inherited from BlamEditorDocumentWidget
 BlamEditorDocumentWidget (QWidget *parent=nullptr)
 

Additional Inherited Members

- Public Attributes inherited from BlamEditorDocumentWidget
BlamEditorDocumentdocument = nullptr
 The document associated with this widget. More...
 

Detailed Description

The tag editor widget.

This widget is used as a container for tag editing controls. It is used with both MDI and Tab layouts.

Constructor & Destructor Documentation

◆ tag_editor() [1/3]

tag_editor::tag_editor ( QString  tag_file_path,
bool  binary,
BlamTagTreeNode *  tag_node,
QWidget *  parent = Q_NULLPTR 
)

Initializes a new tag editor control.

Parameters
tag_file_path- Path to the tag file to create an editor for.
binary- Whether or not to load the tag as a binary tag. Requires a compatiable plugin.
+ Here is the call graph for this function:

◆ tag_editor() [2/3]

tag_editor::tag_editor ( BlamTag *  _tag,
QWidget *  parent = Q_NULLPTR 
)

Initializes a new tag editor control.

Parameters
_tag- The tag to create an editor for.
+ Here is the call graph for this function:

◆ tag_editor() [3/3]

tag_editor::tag_editor ( BlamTag *  _tag,
BlamEditorDocument _document,
QWidget *  parent = Q_NULLPTR 
)

Initializes a new tag editor control.

Parameters
_tag- The tag to create an editor for.
_document- The document this tag belongs to.
+ Here is the call graph for this function:

◆ ~tag_editor()

tag_editor::~tag_editor ( )

Member Function Documentation

◆ GenerateTagEditorUI()

void tag_editor::GenerateTagEditorUI ( )

Generates the UI for tag editing.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTag()

BlamTag * tag_editor::GetTag ( )

Retrieves the tag associated with this editor.

Returns
Pointer to the tag associated with this editor.

The documentation for this class was generated from the following files: