![]() |
Blamite Game Engine - Keystone
00385.05.12.23.0209.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
#include <color.h>
Inheritance diagram for ui_color_field:
Collaboration diagram for ui_color_field:Public Member Functions | |
| ui_color_field (BlamTagField_Color *_field, BlamEditorDocument_Tag *_document, QWidget *parent=Q_NULLPTR) | |
| ui_color_field (BlamPluginField *_template, BlamEditorDocument_Tag *_document) | |
| ~ui_color_field () | |
| void | SetDesignModeActive (drag_list *_drag_list, tag_designer *_designer) |
| Instructs the field to be editable as a designer field. More... | |
| bool | eventFilter (QObject *object, QEvent *event) |
Public Member Functions inherited from BlamEditorTagFieldControl | |
| BlamEditorTagFieldControl (QWidget *parent=Q_NULLPTR) | |
| 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_Tag * | document = nullptr |
| The document this field belongs to. More... | |
| bool | design_mode = false |
| Whether or not this field is currently in design mode. More... | |
| drag_list * | drag_drop_list = nullptr |
The active drag list that owns this control. Only used when design_mode is enabled. More... | |
| tag_designer * | designer = nullptr |
The active tag designer that owns this control. Only used when design_mode is enabled. More... | |
| ui_color_field::ui_color_field | ( | BlamTagField_Color * | _field, |
| BlamEditorDocument_Tag * | _document, | ||
| QWidget * | parent = Q_NULLPTR |
||
| ) |
| ui_color_field::ui_color_field | ( | BlamPluginField * | _template, |
| BlamEditorDocument_Tag * | _document | ||
| ) |
| ui_color_field::~ui_color_field | ( | ) |
| bool ui_color_field::eventFilter | ( | QObject * | object, |
| QEvent * | event | ||
| ) |
Here is the call graph for this function:
|
virtual |
Instructs the field to be editable as a designer field.
This slightly tweaks how the field is displayed, and provides additional functionality to allow the field to be altered within the Tag Designer.
Once design mode is activated, it cannot be deactivated.
Reimplemented from BlamEditorTagFieldControl.