OTB  6.1.0
Orfeo Toolbox
otbWrapperQtWidgetParameterGroup.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef otbWrapperQtWidgetParameterGroup_h
22 #define otbWrapperQtWidgetParameterGroup_h
23 
24 #include <QtGui>
25 #ifndef Q_MOC_RUN // See: https://bugreports.qt-project.org/browse/QTBUG-22829 //tag=QT4-boost-compatibility
28 #include "otbWrapperRAMParameter.h"
32 #endif //tag=QT4-boost-compatibility
33 
34 namespace otb
35 {
36 namespace Wrapper
37 {
38 
44 class OTBQtWidget_EXPORT QtWidgetParameterGroup : public QtWidgetParameterBase
45 {
46  Q_OBJECT
47 public:
49  ~QtWidgetParameterGroup() ITK_OVERRIDE;
50 
51 public slots:
52  void SetActivationState( bool value ) ITK_OVERRIDE;
53 
54 private:
55  QtWidgetParameterGroup(const QtWidgetParameterGroup&); //purposely not implemented
56  void operator=(const QtWidgetParameterGroup&); //purposely not implemented
57 
58  void DoCreateWidget() ITK_OVERRIDE;
59 
60  void DoUpdateGUI() ITK_OVERRIDE;
61 
62  virtual void ProcessChild(Parameter * currentNode, bool status);
63 
65 
66  typedef std::vector<QtWidgetParameterBase*> WidgetListType;
67  typedef WidgetListType::iterator WidgetListIteratorType;
69 
70 };
71 
72 
73 }
74 }
75 
76 #endif
std::vector< QtWidgetParameterBase * > WidgetListType
This class represent a parameter for the wrapper framework This class is a high level class represent...