Orfeo Toolbox  4.0
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>
25 
26 namespace otb
27 {
28 namespace Wrapper
29 {
30 
35 {
36  Q_OBJECT
37 public:
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 
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 Sat Mar 8 2014 16:28:51 for Orfeo Toolbox with doxygen 1.8.3.1