Orfeo Toolbox
3.16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
OTB
Code
Wrappers
QtWidget
otbWrapperQtWidgetView.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 __otbWrapperQtWidgetView_h
19
#define __otbWrapperQtWidgetView_h
20
21
#include <QtGui>
22
#include <QObject>
23
#include "
otbWrapperApplication.h
"
24
#include "
otbWrapperQtWidgetModel.h
"
25
26
namespace
otb
27
{
28
namespace
Wrapper
29
{
30
34
class
QtWidgetView
:
public
QWidget
35
{
36
Q_OBJECT
37
public
:
38
QtWidgetView
(
Application
* app);
39
virtual
~QtWidgetView
();
40
41
void
CreateGui
();
42
43
QtWidgetModel
*
GetModel
()
44
{
45
return
m_Model
;
46
}
47
48
public
slots:
49
void
CloseSlot
();
50
51
private
slots:
52
void
UpdateMessageAfterExcuteClicked
();
53
void
UpdateMessageAfterApplicationReady
(
bool
val);
54
55
signals:
56
void
QuitSignal
();
57
58
59
private
:
60
QtWidgetView
(
const
QtWidgetView
&);
//purposely not implemented
61
void
operator=
(
const
QtWidgetView
&);
//purposely not implemented
62
63
QWidget*
CreateFooter
();
64
65
QWidget*
CreateInputWidgets
();
66
67
QWidget*
CreateDoc
();
68
69
Application::Pointer
m_Application
;
70
71
QtWidgetModel
*
m_Model
;
72
73
QPushButton*
m_ExecButton
;
74
QPushButton*
m_QuitButton
;
75
QLabel*
m_Message
;
76
};
77
78
79
}
80
}
81
82
#endif
Generated at Sun May 19 2013 01:01:51 for
Orfeo Toolbox
with
doxygen 1.8.3.1