Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
Wrappers
QtWidget
otbWrapperQtWidgetInputImageListParameter.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 __otbWrapperQtWidgetInputImageListParameter_h
19
#define __otbWrapperQtWidgetInputImageListParameter_h
20
21
#include <QtGui>
22
#include "
otbWrapperInputImageListParameter.h
"
23
#include "
otbWrapperQtWidgetParameterBase.h
"
24
#include "
otbQtFileSelectionWidget.h
"
25
26
namespace
otb
27
{
28
namespace
Wrapper
29
{
30
34
class
QtWidgetInputImageListParameter
:
public
QtWidgetParameterBase
35
{
36
Q_OBJECT
37
public
:
38
QtWidgetInputImageListParameter
(
InputImageListParameter
*,
QtWidgetModel
*);
39
virtual
~QtWidgetInputImageListParameter
();
40
41
42
signals:
43
void
Change
();
44
45
protected
slots:
46
//void SetFileName( const QString& value );
47
//virtual void SelectFile();
48
virtual
void
UpFile
();
49
virtual
void
DownFile
();
50
virtual
void
AddFile
();
51
virtual
void
SupressFile
();
52
virtual
void
EraseFile
();
53
virtual
void
UpdateImageList
();
54
55
private
:
56
QtWidgetInputImageListParameter
(
const
QtWidgetInputImageListParameter
&);
//purposely not implemented
57
void
operator=
(
const
QtWidgetInputImageListParameter
&);
//purposely not implemented
58
59
virtual
void
DoCreateWidget
();
60
61
virtual
void
DoUpdateGUI
();
62
63
void
RecreateImageList
();
64
void
UpdateFileList
( std::map<unsigned int, unsigned int> idMap );
65
66
InputImageListParameter::Pointer
m_InputImageListParam
;
67
68
QHBoxLayout *
m_HLayout
;
69
QVBoxLayout *
m_FileLayout
;
70
QScrollArea *
m_Scroll
;
71
std::vector<QtFileSelectionWidget *>
m_FileSelectionList
;
72
};
73
74
75
}
76
}
77
78
#endif
Generated at Sun Feb 3 2013 00:59:21 for
Orfeo Toolbox
with
doxygen 1.8.1.1