CComponentNoteEditorComp.h
Go to the documentation of this file.
1 #ifndef icmpstr_CComponentNoteEditorComp_included
2 #define icmpstr_CComponentNoteEditorComp_included
3 
4 
5 // Qt includes
6 #include <QtCore/QTimer>
7 
8 // ACF includes
11 
12 // ACF-Solutions includes
14 
15 #include "GeneratedFiles/icmpstr/ui_CComponentNoteEditorComp.h"
16 
17 
18 namespace icmpstr
19 {
20 
21 
24  Ui::CComponentNoteEditorComp, IElementSelectionInfo>,
26 {
27  Q_OBJECT
28 
29 public:
31  Ui::CComponentNoteEditorComp, IElementSelectionInfo> BaseClass;
32 
33  I_BEGIN_COMPONENT(CComponentNoteEditorComp);
34  I_END_COMPONENT;
35 
37 
38 protected:
39  // reimplemented (iqtgui::TGuiObserverWrap)
40  virtual void UpdateGui(int updateFlags = 0);
41  virtual void UpdateModel() const;
42  virtual void OnGuiModelAttached();
43  virtual void OnGuiModelDetached();
44 
45  // reimplemented (QObject)
46  virtual bool eventFilter(QObject* sourcePtr, QEvent* eventPtr);
47 
48  // reimplemented (iqtgui::CGuiComponentBase)
49  virtual void OnGuiCreated();
50 
51  // reimplemented (imod::CMultiModelDispatcherBase)
52  virtual void OnModelChanged(int modelId, int changeFlags, istd::IPolymorphic* updateParamsPtr);
53 
54 protected Q_SLOTS:
56 
57 private:
58  QTextCursor m_lastCursorPosition;
59  bool m_textWasChanged;
60 };
61 
62 
63 } // namespace icmpstr
64 
65 
66 #endif // !icmpstr_CComponentNoteEditorComp_included
67 
virtual bool eventFilter(QObject *sourcePtr, QEvent *eventPtr)
virtual void UpdateModel() const
virtual void UpdateGui(int updateFlags=0)
virtual void OnModelChanged(int modelId, int changeFlags, istd::IPolymorphic *updateParamsPtr)
iqtgui::TDesignerGuiObserverCompBase< Ui::CComponentNoteEditorComp, IElementSelectionInfo > BaseClass
Interface containing all information about registry selected element.

© 2007-2011 Witold Gantzke and Kirill Lepskiy