6#include <QtCore/QtGlobal>
7#if QT_VERSION >= 0x050000
8#include <QtWidgets/QComboBox>
10#include <QtGui/QComboBox>
21#include <GeneratedFiles/iqtprm/ui_COptionsManagerGuiComp.h>
33 Ui::COptionsManagerGuiComp, iprm::IOptionsManager>,
59 I_ASSIGN(m_optionsLabelAttrPtr,
"OptionsLabel",
"Command label for the options selector",
false,
"Select");
60 I_ASSIGN(m_infoLabelAttrPtr,
"InfoLabel",
"Information label for the options selector",
false,
"Info");
61 I_ASSIGN(m_infoIconProviderCompPtr,
"InfoIconProvider",
"Provider of the info icon",
false,
"InfoIconProvider");
62 I_ASSIGN(m_iconSizeAttrPtr,
"IconSize",
"Size of the used icons",
false, 32);
63 I_ASSIGN(m_labelPositionAttrPtr,
"LabelPosition",
"Selection label position. 0 - Left from the selector,\n1 - On top of the selector",
false,
LP_LEFT);
91 void UpdateComboBox();
92 void UpdateDescriptionFrame();
97 I_ATTR(
int, m_labelPositionAttrPtr);
98 I_ATTR(
int, m_iconSizeAttrPtr);
104 bool m_isEditingFlag;
107 bool m_isUpdateBlocked;
Generic implementation of a data model changes notifier.
Common interface for the management of dynamic selection constraints.
This interface provides acces to an icon.
Base class for all Qt GUI components.
Simple editor for an exclusive option selection.
void OnTextChanged(const QString &text)
void OnTextEdited(const QString &text)
virtual void OnGuiModelAttached() override
iqtgui::TDesignerGuiObserverCompBase< Ui::COptionsManagerGuiComp, iprm::IOptionsManager > BaseClass
LabelPosition
Command label position.
@ LP_LEFT
Left from the selector.
@ LP_TOP
On top of the selector.
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
virtual void OnGuiModelDetached() override
virtual void OnModelChanged(int modelId, const istd::IChangeable::ChangeSet &changeSet) override
Called when some model observed by dispatcher will be changed.
virtual void UpdateModel() const override
void OnSelectionChanged(int index)
virtual void OnGuiRetranslate() override
virtual void OnGuiDestroyed() override
virtual void OnGuiCreated() override
virtual void OnGuiShown() override
Set of change flags (its IDs).
Pointer wrapper providing automatic deleting pointed object during destruction.
#define I_TEXTATTR(member)
Declare translatable text attribute member.
This package contains Qt based implementations of standard parameter components.