OTB  6.7.0
Orfeo Toolbox
mvdMyWidget.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2019 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 mvdMyWidget_h
22 #define mvdMyWidget_h
23 
24 //
25 // Configuration include.
27 #include "ConfigureMonteverdi.h"
28 
29 
30 /*****************************************************************************/
31 /* INCLUDE SECTION */
32 
33 //
34 // Qt includes (sorted by alphabetic order)
36 #include <QtWidgets>
37 
38 //
39 // System includes (sorted by alphabetic order)
40 
41 //
42 // ITK includes (sorted by alphabetic order)
43 
44 //
45 // OTB includes (sorted by alphabetic order)
46 #include "OTBMonteverdiGUIExport.h"
47 //
48 // Monteverdi includes (sorted by alphabetic order)
49 
50 
51 /*****************************************************************************/
52 /* PRE-DECLARATION SECTION */
53 
54 //
55 // External classes pre-declaration.
56 namespace
57 {
58 }
59 
60 namespace mvd
61 {
62 
63 //
64 // Internal classes pre-declaration.
65 namespace Ui
66 {
67 class MyWidget;
68 };
69 
70 
71 /*****************************************************************************/
72 /* CLASS DEFINITION SECTION */
73 
82 class OTBMonteverdiGUI_EXPORT MyWidget :
83  public QWidget
84 {
85 
86  /*-[ QOBJECT SECTION ]-----------------------------------------------------*/
87 
88  Q_OBJECT;
89 
90  /*-[ PUBLIC SECTION ]------------------------------------------------------*/
91 
92 //
93 // Public methods.
94 public:
95 
97  MyWidget( QWidget* p =NULL, Qt::WindowFlags flags =0 );
98 
100  virtual ~MyWidget();
101 
102  /*-[ PUBLIC SLOTS SECTION ]------------------------------------------------*/
103 
104 //
105 // Public SLOTS.
106 public slots:
107 
108  /*-[ SIGNALS SECTION ]-----------------------------------------------------*/
109 
110 //
111 // Signals.
112 signals:
113 
114  /*-[ PROTECTED SECTION ]---------------------------------------------------*/
115 
116 //
117 // Protected methods.
118 protected:
119 
120  /*-[ PRIVATE SECTION ]-----------------------------------------------------*/
121 
122 //
123 // Protected attributes.
124 protected:
125 
126 //
127 // Private methods.
128 private:
129 
130 //
131 // Private attributes.
132 private:
136  Ui::MyWidget* m_UI;
137 
138  /*-[ PRIVATE SLOTS SECTION ]-----------------------------------------------*/
139 
140 //
141 // Slots.
142 private slots:
143 };
144 
145 } // end namespace 'mvd'
146 
147 /*****************************************************************************/
148 /* INLINE SECTION */
149 
150 namespace mvd
151 {
152 } // end namespace 'mvd'
153 
154 #endif // mvdMyWidget_h
Ui::MyWidget * m_UI
uic generated.
Definition: mvdMyWidget.h:136
Widget template skeleton to copy-paste when adding a new widget class.
Definition: mvdMyWidget.h:82