ICF 3.1.1.10
Technical documentation of ICF Libraries
CComponentNoteEditorComp.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
9// Qt includes
10#include <QtCore/QTimer>
11
12// ICF includes
16
17#include <GeneratedFiles/icmpstr/ui_CComponentNoteEditorComp.h>
18
19
20namespace icmpstr
21{
22
23
26 Ui::CComponentNoteEditorComp, IElementSelectionInfo>,
28{
29 Q_OBJECT
30
31public:
33 Ui::CComponentNoteEditorComp, IElementSelectionInfo> BaseClass;
34
35 I_BEGIN_COMPONENT(CComponentNoteEditorComp);
36 I_END_COMPONENT;
37
39
40protected:
41 // reimplemented (istdgui::TGuiObserverWrap)
42 void UpdateModel() const override;
43 void UpdateGui(const istd::IChangeable::ChangeSet& changeSet) override;
44 void OnGuiModelAttached() override;
45 void OnGuiModelDetached() override;
46
47 // reimplemented (QObject)
48 bool eventFilter(QObject* sourcePtr, QEvent* eventPtr) override;
49
50 // reimplemented (istdgui::CGuiComponentBase)
51 void OnGuiCreated() override;
52
53 // reimplemented (imod::CMultiModelDispatcherBase)
54 void OnModelChanged(int modelId, const istd::IChangeable::ChangeSet& changeSet) override;
55
56protected Q_SLOTS:
58
59private:
60 QTextCursor m_lastCursorPosition;
61 bool m_textWasChanged;
62};
63
64
65} // namespace icmpstr
66
67
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
bool eventFilter(QObject *sourcePtr, QEvent *eventPtr) override
void UpdateModel() const override
void OnModelChanged(int modelId, const istd::IChangeable::ChangeSet &changeSet) override
Called when some model observed by dispatcher will be changed.
istdgui::TDesignerGuiObserverCompBase< Ui::CComponentNoteEditorComp, IElementSelectionInfo > BaseClass
void OnGuiCreated() override
Called just after GUI is initialized.
Interface containing all information about registry selected element.
Generic implementation of a data model changes notifier.
Set of change flags (its IDs).
Definition IChangeable.h:38
Base class for all Qt GUI components.
This package contains (Qt based) implementations of compositor components.

© Witold Gantzke and Kirill Lepskiy