Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
Wrappers
QtWidget
otbQtStringSelectionWidget.cxx
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
#include "
otbQtStringSelectionWidget.h
"
19
20
namespace
otb
21
{
22
namespace
Wrapper
23
{
24
25
QtStringSelectionWidget::QtStringSelectionWidget
()
26
: QWidget()
27
{
28
this->
DoCreateWidget
();
29
}
30
31
QtStringSelectionWidget::~QtStringSelectionWidget
()
32
{
33
}
34
35
void
QtStringSelectionWidget::DoUpdateGUI
()
36
{
37
38
}
39
40
void
QtStringSelectionWidget::DoCreateWidget
()
41
{
42
unsigned
int
sp = 2;
43
// Set up input text edit
44
m_HLayout
=
new
QHBoxLayout;
45
m_HLayout
->setSpacing(sp);
46
m_HLayout
->setContentsMargins(sp, sp, sp, sp);
47
48
m_Checkbox
=
new
QCheckBox();
49
m_HLayout
->addWidget(
m_Checkbox
);
50
51
m_Input
=
new
QLineEdit;
52
53
m_HLayout
->addWidget(
m_Input
);
54
55
this->setLayout(
m_HLayout
);
56
}
57
58
59
}
60
}
Generated at Sun Feb 3 2013 00:43:16 for
Orfeo Toolbox
with
doxygen 1.8.1.1