Elaztek Developer Hub
Blamite Game Engine - Keystone  00336.09.17.21.1819.blamite
A library that enables the use of Qt in Blamite's editing tools.
comment.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QWidget>
4 #include <HEKGuerilla/components/tags/fields/fields.h>
5 #include <HEKGuerilla/components/tags/fields/comment/comment.h>
6 
8 #include "ui_comment.h"
9 
16 {
17  Q_OBJECT
18 
19 private:
20  Ui::ui_comment_field ui;
21  BlamTagField* field = nullptr;
22  BlamPluginField_Comment* template_field = nullptr;
23 
24  void SetCommentType(BlamCommentType comment_type);
25 
26 public:
27  ui_comment_field(QString title, QString explanation, QWidget *parent = Q_NULLPTR);
28  ui_comment_field(QString title, QString explanation, BlamCommentType comment_type, QWidget* parent = Q_NULLPTR);
29  ui_comment_field(BlamTagField* _field, BlamEditorDocument_Tag* _document, QWidget* parent = Q_NULLPTR);
30  ui_comment_field(BlamPluginField_Comment* _template, BlamEditorDocument_Tag* _document, QWidget* parent = Q_NULLPTR);
32 };
BlamEditorDocument_Tag
Class representing a Tag document.
Definition: tag.h:15
KeystoneTagFieldControl
Interface used as a base for all tag field controls.
Definition: KeystoneTagFieldControl.h:11
ui_comment_field::~ui_comment_field
~ui_comment_field()
Definition: comment.cpp:54
ui_comment_field
A comment field control.
Definition: comment.h:15
ui_comment_field::ui_comment_field
ui_comment_field(QString title, QString explanation, QWidget *parent=Q_NULLPTR)
Definition: comment.cpp:5
KeystoneTagFieldControl.h