7#if QT_VERSION >= 0x050000 && QT_VERSION < 0x060000
8#include <QtWidgets/QAction>
10#include <QtGui/QAction>
15#include <iqtgui/TDesignerGuiObserverCompBase.h>
18#include <imtauth/IContactInfo.h>
19#include <GeneratedFiles/imtauthgui/ui_CContactInfoEditorComp.h>
31 public iqtgui::TDesignerGuiObserverCompBase<
32 Ui::CContactInfoEditorComp, imtauth::IContactInfo>
36 typedef iqtgui::TDesignerGuiObserverCompBase<
40 I_ASSIGN(m_showMailEditAttrPtr,
"ShowMailEditor",
"Show mail editor",
true,
true);
41 I_ASSIGN(m_showBirthdayEditAttrPtr,
"ShowBirthdayEditor",
"Show birthday editor",
true,
true);
42 I_ASSIGN(m_showFirstNameEditAttrPtr,
"ShowFirstNameEditor",
"Show first name editor",
true,
true);
43 I_ASSIGN(m_showLastNameEditAttrPtr,
"ShowLastNameEditor",
"Show first name editor",
true,
true);
44 I_ASSIGN(m_showNickNameEditAttrPtr,
"ShowNickameEditor",
"Show last name editor",
true,
true);
45 I_ASSIGN(m_showGenderEditAttrPtr,
"ShowGenderEditor",
"Show gender editor",
true,
true);
46 I_ASSIGN(m_showAddressesEditAttrPtr,
"ShowAddressesEditor",
"Show addresses editor",
true,
true);
51 virtual void UpdateGui(
const istd::IChangeable::ChangeSet& changeSet)
override;
52 virtual void OnGuiModelAttached()
override;
53 virtual void OnGuiModelDetached()
override;
54 virtual void UpdateModel()
const override;
57 virtual void OnGuiCreated()
override;
58 virtual void OnGuiDestroyed()
override;
61 void on_EMailEdit_editingFinished();
62 void on_BirthdayEdit_dateChanged(
const QDate &date);
63 void on_GenderCombo_currentIndexChanged(
int index);
64 void on_FirstNameEdit_editingFinished();
65 void on_LastNameEdit_editingFinished();
66 void on_NicknameEdit_editingFinished();
67 void on_Addresses_itemSelectionChanged();
68 void on_Addresses_itemChanged(QTreeWidgetItem *item,
int column);
69 void on_AddAddress_triggered(QAction *action);
70 void on_RemoveAddress_triggered(QAction *action);
73 QAction m_addAddressAction;
74 QAction m_removeAddressAction;
76 I_ATTR(
bool, m_showMailEditAttrPtr);
77 I_ATTR(
bool, m_showBirthdayEditAttrPtr);
78 I_ATTR(
bool, m_showGenderEditAttrPtr);
79 I_ATTR(
bool, m_showFirstNameEditAttrPtr);
80 I_ATTR(
bool, m_showLastNameEditAttrPtr);
81 I_ATTR(
bool, m_showNickNameEditAttrPtr);
82 I_ATTR(
bool, m_showAddressesEditAttrPtr);
Authentication UI Components Module.