ICF 3.0.5.47
Technical documentation of ICF Libraries
CConvolution2dParamsGuiComp.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_CConvolution2dParamsGuiComp_included
7#define iqtipr_CConvolution2dParamsGuiComp_included
8
9
10// ICF includes
13#include <GeneratedFiles/iiprgui/ui_CConvolution2dParamsGuiComp.h>
14
15
16namespace iiprgui
17{
18
19
21 Ui::CConvolution2dParamsGuiComp,
22 iipr::IConvolutionKernel2d>
23{
24 Q_OBJECT
25
26public:
28 Ui::CConvolution2dParamsGuiComp,
30
31 I_BEGIN_COMPONENT(CConvolution2dParamsGuiComp);
32 I_END_COMPONENT;
33
34protected:
35 // reimplemented (istdgui::TGuiObserverWrap)
36 void UpdateModel() const override;
37 void UpdateGui(const istd::IChangeable::ChangeSet& changeSet) override;
38
39 // reimplemented (istdgui::CGuiComponentBase)
40 void OnGuiCreated() override;
41
42protected Q_SLOTS:
45 void on_KernelTable_itemChanged(QTableWidgetItem* item);
46
47private:
48 void UpdateTableSize();
49 void UpdateKernelSize() const;
50};
51
52
53} // namespace iiprgui
54
55
56#endif // !iqtipr_CConvolution2dParamsGuiComp_included
57
58
Interface for 2D-convolution filter kernel.
void on_KernelHeightSpin_valueChanged(int value)
void OnGuiCreated() override
Called just after GUI is initialized.
istdgui::TDesignerGuiObserverCompBase< Ui::CConvolution2dParamsGuiComp, iipr::IConvolutionKernel2d > BaseClass
void on_KernelWidthSpin_valueChanged(int value)
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
void UpdateModel() const override
void on_KernelTable_itemChanged(QTableWidgetItem *item)
Set of change flags (its IDs).
Definition IChangeable.h:38
Base class for all Qt GUI components.
This package contains Qt based implementations of image processing components.

© Witold Gantzke and Kirill Lepskiy