ICF 3.1.1.10
Technical documentation of ICF Libraries
CMultiLineProjectionSupplierGuiComp.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#ifndef iqtipr_CMultiLineProjectionSupplierGuiComp_included
7#define iqtipr_CMultiLineProjectionSupplierGuiComp_included
8
9
10// ICF includes
15
16#include <GeneratedFiles/iiprgui/ui_CMultiLineProjectionSupplierGuiComp.h>
17
18
19namespace iiprgui
20{
21
22
23class CMultiLineProjectionSupplierGuiComp: public iinspgui::TSupplierGuiCompBase<Ui::CMultiLineProjectionSupplierGuiComp>
24{
25 Q_OBJECT
26
27public:
29
30 I_BEGIN_COMPONENT(CMultiLineProjectionSupplierGuiComp);
31 I_ASSIGN(m_projectionObserverCompPtr, "ProjectionObserver", "Observer for the generated line projections", false, "ProjectionObserver");
32 I_ASSIGN_TO(m_projectionObserverGuiCompPtr, m_projectionObserverCompPtr, false);
33 I_ASSIGN(m_projectionSelectorCompPtr, "ProjectionSelector", "External selection of the current projection", false, "ProjectionSelector");
34 I_END_COMPONENT;
35
36protected Q_SLOTS:
40
41protected:
42 // reimplemented (istdgui::IGuiObject)
43 void OnGuiCreated() override;
44 void OnGuiDestroyed() override;
45 void OnGuiHidden() override;
46
47 // reimplemented (istdgui::TGuiObserverWrap)
48 void OnGuiModelAttached() override;
49 void OnGuiModelDetached() override;
50 void UpdateGui(const istd::IChangeable::ChangeSet& changeSet) override;
51
52 // reimplemented (iinspgui::TSupplierGuiCompBase)
53 void OnSupplierParamsChanged() override;
54 QWidget* GetParamsWidget() const override;
55
56private:
57 void OnProjectionIndexChanged(int index);
58
59private:
61
62 I_REF(imod::IObserver, m_projectionObserverCompPtr);
63 I_REF(istdgui::IGuiObject, m_projectionObserverGuiCompPtr);
64 I_REF(iprm::ISelectionParam, m_projectionSelectorCompPtr);
65};
66
67
68} // namespace iiprgui
69
70
71#endif // !iqtipr_CMultiLineProjectionSupplierGuiComp_included
iinspgui::TSupplierGuiCompBase< Ui::CMultiLineProjectionSupplierGuiComp > BaseClass
void OnGuiDestroyed() override
Called just before GUI is released.
QWidget * GetParamsWidget() const override
void OnGuiCreated() override
Called just after GUI is initialized.
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
void OnGuiHidden() override
Called from widget event filter when slave widget is hidden.
Common interface for all classes implementing the Observer functionality in the Model/Observer design...
Definition IObserver.h:30
This model wrapper provides a simple connection between a concrete istd::IChangeable implementation a...
Definition TModelWrap.h:28
Interface allowing to select single option from list of options.
Set of change flags (its IDs).
Definition IChangeable.h:38
Common interface for GUI objects using in component context.
Definition IGuiObject.h:27
This package contains Qt based implementations of image processing components.

© Witold Gantzke and Kirill Lepskiy