#include <tagref.h>
◆ ui_tagref_field() [1/2]
ui_tagref_field::ui_tagref_field |
( |
BlamTagField_Tagref * |
_field, |
|
|
BlamEditorDocument_Tag * |
_document, |
|
|
QWidget * |
parent = Q_NULLPTR |
|
) |
| |
◆ ui_tagref_field() [2/2]
◆ ~ui_tagref_field()
ui_tagref_field::~ui_tagref_field |
( |
| ) |
|
◆ eventFilter()
bool ui_tagref_field::eventFilter |
( |
QObject * |
object, |
|
|
QEvent * |
event |
|
) |
| |
◆ GetReferencedTagNode()
BlamTagTreeNode * ui_tagref_field::GetReferencedTagNode |
( |
| ) |
|
◆ GetSelectedClass()
BlamPlugin * ui_tagref_field::GetSelectedClass |
( |
| ) |
|
◆ SetDesignModeActive()
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.
◆ SetDesignNameEditState()
void ui_tagref_field::SetDesignNameEditState |
( |
bool |
edit_state, |
|
|
bool |
save_changes = true |
|
) |
| |
|
overridevirtual |
Enables or disables the label edit field for the current field.
When enabled, this will replace the field display label with a text input, allowing the user to rename the field. When disabled, this will hide the edit field and optionally save any changes made.
This only has any effect when design mode is enabled.
- Parameters
-
edit_state | - Whether or not the edit field should be enabled. |
save_changes | - Whether or not any changes from the text input should be saved. Defaults to true . |
Reimplemented from BlamEditorTagFieldControl.
◆ field
BlamTagField_Tagref* ui_tagref_field::field = nullptr |
The field associated with this control.
The documentation for this class was generated from the following files:
- keystone/components/ui/shared/controls/tag_fields/tagref/tagref.h
- keystone/components/ui/shared/controls/tag_fields/tagref/tagref.cpp