OTB  5.9.0
Orfeo Toolbox
otbWrapperQtWidgetParameterGroup.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ORFEO Toolbox
4  Language: C++
5  Date: $Date$
6  Version: $Revision$
7 
8 
9  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10  See OTBCopyright.txt for details.
11 
12 
13  This software is distributed WITHOUT ANY WARRANTY; without even
14  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  PURPOSE. See the above copyright notices for more information.
16 
17 =========================================================================*/
18 #ifndef otbWrapperQtWidgetParameterGroup_h
19 #define otbWrapperQtWidgetParameterGroup_h
20 
21 #include <QtGui>
22 #ifndef Q_MOC_RUN // See: https://bugreports.qt-project.org/browse/QTBUG-22829 //tag=QT4-boost-compatibility
25 #include "otbWrapperRAMParameter.h"
29 #endif //tag=QT4-boost-compatibility
30 
31 namespace otb
32 {
33 namespace Wrapper
34 {
35 
41 class OTBQtWidget_EXPORT QtWidgetParameterGroup : public QtWidgetParameterBase
42 {
43  Q_OBJECT
44 public:
46  ~QtWidgetParameterGroup() ITK_OVERRIDE;
47 
48 public slots:
49  void SetActivationState( bool value ) ITK_OVERRIDE;
50 
51 private:
52  QtWidgetParameterGroup(const QtWidgetParameterGroup&); //purposely not implemented
53  void operator=(const QtWidgetParameterGroup&); //purposely not implemented
54 
55  void DoCreateWidget() ITK_OVERRIDE;
56 
57  void DoUpdateGUI() ITK_OVERRIDE;
58 
59  virtual void ProcessChild(Parameter * currentNode, bool status);
60 
62 
63  typedef std::vector<QtWidgetParameterBase*> WidgetListType;
64  typedef WidgetListType::iterator WidgetListIteratorType;
66 
67 };
68 
69 
70 }
71 }
72 
73 #endif
std::vector< QtWidgetParameterBase * > WidgetListType
This class represent a parameter for the wrapper framework This class is a high level class represent...