mvdMyWidget.h 3.31 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/*
 * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
 *
 * This file is part of Orfeo Toolbox
 *
 *     https://www.orfeo-toolbox.org/
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
20

21 22
#ifndef mvdMyWidget_h
#define mvdMyWidget_h
23 24 25 26

//
// Configuration include.
//// Included at first position before any other ones.
27
#include "ConfigureMonteverdi.h"
28

29 30 31 32

/*****************************************************************************/
/* INCLUDE SECTION                                                           */

33 34 35
//
// Qt includes (sorted by alphabetic order)
//// Must be included before system/custom includes.
36
#include <QtWidgets>
37 38 39 40 41 42 43 44 45

//
// System includes (sorted by alphabetic order)

//
// ITK includes (sorted by alphabetic order)

//
// OTB includes (sorted by alphabetic order)
46
#include "OTBMonteverdiGUIExport.h"
47 48 49
//
// Monteverdi includes (sorted by alphabetic order)

50 51 52 53

/*****************************************************************************/
/* PRE-DECLARATION SECTION                                                   */

54 55 56 57 58 59 60 61
//
// External classes pre-declaration.
namespace
{
}

namespace mvd
{
62

63 64 65 66 67 68 69
//
// Internal classes pre-declaration.
namespace Ui
{
class MyWidget;
};

70 71 72 73

/*****************************************************************************/
/* CLASS DEFINITION SECTION                                                  */

74 75
/**
 * \class MyWidget
76
 *
77
 * \ingroup OTBMonteverdiGUI
78
 *
79 80
 * \brief Widget template skeleton to copy-paste when adding a new
 * widget class.
81
 */
82
class OTBMonteverdiGUI_EXPORT MyWidget :
83 84
    public QWidget
{
85 86 87

  /*-[ QOBJECT SECTION ]-----------------------------------------------------*/

88 89
  Q_OBJECT;

90 91
  /*-[ PUBLIC SECTION ]------------------------------------------------------*/

92 93 94 95
//
// Public methods.
public:

96
  /** \brief Constructor. */
97
  MyWidget( QWidget* p =NULL, Qt::WindowFlags flags =0 );
98

99
  /** \brief Destructor. */
100 101
  virtual ~MyWidget();

102 103 104 105 106 107
  /*-[ PUBLIC SLOTS SECTION ]------------------------------------------------*/

//
// Public SLOTS.
public slots:

108 109
  /*-[ SIGNALS SECTION ]-----------------------------------------------------*/

110
//
111
// Signals.
112 113
signals:

114 115
  /*-[ PROTECTED SECTION ]---------------------------------------------------*/

116 117 118 119
//
// Protected methods.
protected:

120 121
  /*-[ PRIVATE SECTION ]-----------------------------------------------------*/

122 123 124 125 126 127 128 129 130 131 132 133
//
// Protected attributes.
protected:

//
// Private methods.
private:

//
// Private attributes.
private:
  /**
134
   * \brief uic generated.
135 136 137
   */
  Ui::MyWidget* m_UI;

138 139
  /*-[ PRIVATE SLOTS SECTION ]-----------------------------------------------*/

140
//
141
// Slots.
142 143 144
private slots:
};

145 146
} // end namespace 'mvd'

147 148 149
/*****************************************************************************/
/* INLINE SECTION                                                            */

150 151
namespace mvd
{
152 153
} // end namespace 'mvd'

154
#endif // mvdMyWidget_h