10#include <GeneratedFiles/iqtprm/ui_CNameParamGuiComp.h>
18 Ui::CNameParamGuiComp,
25 Ui::CNameParamGuiComp,
44 I_ASSIGN(m_labelAttrPtr,
"Label",
"Label for the named object",
false,
"");
45 I_ASSIGN(m_labelPositionAttrPtr,
"LabelPosition",
"Selection label position. 0 - Left from the selector,\n1 - On top of the selector",
false,
LP_LEFT);
46 I_ASSIGN(m_regularExpressionAttrPtr,
"InputFilter",
"Input filter in form of a regular expression",
false,
"");
47 I_ASSIGN(m_updateOnEveryChangeAttrPtr,
"UpdateOnEveryTextChange",
"If set the model will be updated after every text change, else only if Enter pressed or focus lost",
true,
true);
58 void OnNameChanged(
const QString& text);
63 I_ATTR(
int, m_labelPositionAttrPtr);
64 I_ATTR(QByteArray, m_regularExpressionAttrPtr);
65 I_ATTR(
bool, m_updateOnEveryChangeAttrPtr);
Interface for an object containing a name.
Base class for all Qt GUI components.
virtual void OnGuiCreated() override
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
virtual void UpdateModel() const override
LabelPosition
Command label position.
@ LP_LEFT
Left from the name field.
@ LP_TOP
On top of the name field.
iqtgui::TDesignerGuiObserverCompBase< Ui::CNameParamGuiComp, iprm::INameParam > BaseClass
Set of change flags (its IDs).
#define I_TEXTATTR(member)
Declare translatable text attribute member.
This package contains Qt based implementations of standard parameter components.