CConvolution2dParamsGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtipr_CConvolution2dParamsGuiComp_included
2 #define iqtipr_CConvolution2dParamsGuiComp_included
3 
4 
5 // ACF includes
8 
9 // ACF-Solutions includes
10 #include <GeneratedFiles/iqtipr/ui_CConvolution2dParamsGuiComp.h>
11 
12 
13 namespace iqtipr
14 {
15 
16 
18  Ui::CConvolution2dParamsGuiComp,
19  iipr::IConvolutionKernel2d>
20 {
21  Q_OBJECT
22 
23 public:
25  Ui::CConvolution2dParamsGuiComp,
27 
28  I_BEGIN_COMPONENT(CConvolution2dParamsGuiComp);
29  I_END_COMPONENT;
30 
31 protected:
32  // reimplemented (iqtgui::TGuiObserverWrap)
33  virtual void UpdateModel() const;
34  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
35 
36  // reimplemented (iqtgui::CGuiComponentBase)
37  virtual void OnGuiCreated();
38 
39 protected Q_SLOTS:
40  void on_KernelWidthSpin_valueChanged(int value);
41  void on_KernelHeightSpin_valueChanged(int value);
42  void on_KernelTable_itemChanged(QTableWidgetItem* item);
43 
44 private:
45  void UpdateTableSize();
46  void UpdateKernelSize() const;
47 };
48 
49 
50 } // namespace iqtipr
51 
52 
53 #endif // !iqtipr_CConvolution2dParamsGuiComp_included
54 
55 
iqtgui::TDesignerGuiObserverCompBase< Ui::CConvolution2dParamsGuiComp, iipr::IConvolutionKernel2d > BaseClass
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
void on_KernelWidthSpin_valueChanged(int value)
Interface for 2D-convolution filter kernel.
virtual void UpdateModel() const
void on_KernelHeightSpin_valueChanged(int value)
void on_KernelTable_itemChanged(QTableWidgetItem *item)

© 2007-2017 Witold Gantzke and Kirill Lepskiy