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  // reimplemented (imod::IModelEditor)
32  virtual void UpdateModel() const;
33 
34 protected:
35  // reimplemented (iqtgui::TGuiObserverWrap)
36  virtual void UpdateGui(int updateFlags = 0);
37 
38  // reimplemented (iqtgui::CGuiComponentBase)
39  virtual void OnGuiCreated();
40 
41 protected Q_SLOTS:
42  void on_KernelWidthSpin_valueChanged(int value);
43  void on_KernelHeightSpin_valueChanged(int value);
44  void on_KernelTable_itemChanged(QTableWidgetItem* item);
45 
46 private:
47  void UpdateTableSize();
48  void UpdateKernelSize() const;
49 };
50 
51 
52 } // namespace iqtipr
53 
54 
55 #endif // !iqtipr_CConvolution2dParamsGuiComp_included
56 
57 
iqtgui::TDesignerGuiObserverCompBase< Ui::CConvolution2dParamsGuiComp, iipr::IConvolutionKernel2d > BaseClass
virtual void UpdateGui(int updateFlags=0)
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-2011 Witold Gantzke and Kirill Lepskiy