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.
ui_comment_field Class Reference

A comment field control. More...

#include <comment.h>

+ Inheritance diagram for ui_comment_field:
+ Collaboration diagram for ui_comment_field:

Public Member Functions

 ui_comment_field (QString title, QString explanation, QWidget *parent=Q_NULLPTR)
 
 ui_comment_field (QString title, QString explanation, BlamCommentType comment_type, QWidget *parent=Q_NULLPTR)
 
 ui_comment_field (BlamTagField *_field, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR)
 
 ui_comment_field (BlamPluginField_Comment *_template, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR)
 
 ~ui_comment_field ()
 
- Public Member Functions inherited from BlamEditorTagFieldControl
 BlamEditorTagFieldControl (QWidget *parent=Q_NULLPTR)
 
virtual void SetDesignModeActive (drag_list *_drag_list, tag_designer *_designer)
 Instructs the field to be editable as a designer field. More...
 
virtual void SetDesignNameEditState (bool edit_state, bool save_changes=true)
 Enables or disables the label edit field for the current field. More...
 

Additional Inherited Members

- Public Attributes inherited from BlamEditorTagFieldControl
BlamTagField * field = nullptr
 The field associated with this control. More...
 
BlamEditorDocument_Tagdocument = nullptr
 The document this field belongs to. More...
 
bool design_mode = false
 Whether or not this field is currently in design mode. More...
 
drag_listdrag_drop_list = nullptr
 The active drag list that owns this control. Only used when design_mode is enabled. More...
 
tag_designerdesigner = nullptr
 The active tag designer that owns this control. Only used when design_mode is enabled. More...
 

Detailed Description

A comment field control.

Comments are used to display useful information within a tag layout.

Constructor & Destructor Documentation

◆ ui_comment_field() [1/4]

ui_comment_field::ui_comment_field ( QString  title,
QString  explanation,
QWidget *  parent = Q_NULLPTR 
)

◆ ui_comment_field() [2/4]

ui_comment_field::ui_comment_field ( QString  title,
QString  explanation,
BlamCommentType  comment_type,
QWidget *  parent = Q_NULLPTR 
)

◆ ui_comment_field() [3/4]

ui_comment_field::ui_comment_field ( BlamTagField *  _field,
BlamEditorDocument_Tag _document,
QWidget *  parent = Q_NULLPTR 
)

◆ ui_comment_field() [4/4]

ui_comment_field::ui_comment_field ( BlamPluginField_Comment *  _template,
BlamEditorDocument_Tag _document,
QWidget *  parent = Q_NULLPTR 
)

◆ ~ui_comment_field()

ui_comment_field::~ui_comment_field ( )

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