Isis 3 Programmer Reference
BandTool.h
1
#ifndef BandTool_h
2
#define BandTool_h
3
4
#include "
Tool.h
"
5
6
// FIXME: remove this include
7
#include "
Pvl.h
"
8
9
class
QAction
;
10
class
QComboBox
;
11
class
QHBoxLayout;
12
class
QLabel;
13
class
QRadioButton;
14
class
QSpinBox
;
15
class
QStackedWidget;
16
17
namespace
Isis
{
18
class
Cube;
19
class
ToolPad;
20
38
class
BandTool
:
public
Tool
{
39
Q_OBJECT
40
41
public
:
42
BandTool
(
QWidget
*parent);
43
50
QString
menuName
()
const
{
51
return
"&View"
;
52
};
53
protected
:
54
QAction
*
toolPadAction
(
ToolPad
*pad);
55
QWidget
*
createToolBarWidget
(QStackedWidget *active);
56
void
updateTool
();
57
58
private
slots:
59
void
changeView
();
60
void
setList
();
61
void
setBandBin
(
Cube
*cube);
62
void
setDisplay
();
63
void
copyLinkedViewports
();
64
void
copyAllViewports
();
65
66
private
:
67
QRadioButton *
p_rgbButton
;
68
QRadioButton *
p_blackwhiteButton
;
69
QSpinBox
*
p_graySpin
;
70
QSpinBox
*
p_redSpin
;
71
QSpinBox
*
p_grnSpin
;
72
QSpinBox
*
p_bluSpin
;
73
QLabel *
p_grayDisplay
;
74
QLabel *
p_redDisplay
;
75
QLabel *
p_greenDisplay
;
76
QLabel *
p_blueDisplay
;
77
QComboBox
*
p_comboBox
;
78
QStackedWidget *
p_stack
;
79
QStackedWidget *
p_stack2
;
80
CubeViewport
*p_bandBinViewport;
81
82
int
p_bands
;
83
Pvl
p_pvl
;
84
QStringList
p_lineEditValueList
;
85
};
86
};
87
88
#endif
QStringList
Isis::BandTool::BandTool
BandTool(QWidget *parent)
BandTool constructor.
Definition:
BandTool.cpp:27
Isis::BandTool::p_stack
QStackedWidget * p_stack
Stacked widget for spin boxes.
Definition:
BandTool.h:78
Isis::BandTool::copyAllViewports
void copyAllViewports()
This methods copies the selected bands to all viewports.
Definition:
BandTool.cpp:429
Isis::BandTool::p_grayDisplay
QLabel * p_grayDisplay
gray display
Definition:
BandTool.h:73
Isis::BandTool::changeView
void changeView()
This method is connected to the qspinboxes.
Definition:
BandTool.cpp:313
Isis::BandTool
Definition:
BandTool.h:38
Isis::BandTool::setList
void setList()
This method sets the p_lineEditValueList to the proper values according to what the user has selected...
Definition:
BandTool.cpp:210
Isis::BandTool::p_greenDisplay
QLabel * p_greenDisplay
green display
Definition:
BandTool.h:75
Isis::BandTool::createToolBarWidget
QWidget * createToolBarWidget(QStackedWidget *active)
Definition:
BandTool.cpp:57
Isis::CubeViewport
Widget to display Isis cubes for qt apps.
Definition:
CubeViewport.h:132
Isis::BandTool::p_comboBox
QComboBox * p_comboBox
display selection combo box
Definition:
BandTool.h:77
Isis::BandTool::p_redSpin
QSpinBox * p_redSpin
Red spin box.
Definition:
BandTool.h:70
Isis::BandTool::p_bluSpin
QSpinBox * p_bluSpin
Blue spin box.
Definition:
BandTool.h:72
Tool.h
QComboBox
QSpinBox
Isis::BandTool::p_pvl
Pvl p_pvl
pvl
Definition:
BandTool.h:83
Isis::BandTool::copyLinkedViewports
void copyLinkedViewports()
This method copies the selected bands to all linked viewports.
Definition:
BandTool.cpp:392
Isis::BandTool::p_stack2
QStackedWidget * p_stack2
Stacked widget for displays and combo box.
Definition:
BandTool.h:79
Isis::BandTool::setDisplay
void setDisplay()
This method updates the values displayed in the gray boxes.
Definition:
BandTool.cpp:345
Isis::Pvl
Container for cube-like labels.
Definition:
Pvl.h:135
Isis::BandTool::p_blackwhiteButton
QRadioButton * p_blackwhiteButton
Black and White radio button.
Definition:
BandTool.h:68
Isis::BandTool::menuName
QString menuName() const
returns the name of the menu.
Definition:
BandTool.h:50
Isis::BandTool::p_grnSpin
QSpinBox * p_grnSpin
Green spin box.
Definition:
BandTool.h:71
Isis::BandTool::p_blueDisplay
QLabel * p_blueDisplay
blue display
Definition:
BandTool.h:76
Isis::BandTool::p_graySpin
QSpinBox * p_graySpin
Gray spin box.
Definition:
BandTool.h:69
Isis::BandTool::updateTool
void updateTool()
updates the band tool
Definition:
BandTool.cpp:463
Isis::BandTool::p_bands
int p_bands
Number of possible bands.
Definition:
BandTool.h:82
Isis
Namespace for ISIS/Bullet specific routines.
Definition:
Apollo.h:31
Isis::Tool
Base class for the Qisis tools.
Definition:
Tool.h:81
Isis::BandTool::p_lineEditValueList
QStringList p_lineEditValueList
Value list.
Definition:
BandTool.h:84
QAction
Isis::BandTool::toolPadAction
QAction * toolPadAction(ToolPad *pad)
Definition:
BandTool.cpp:38
Isis::BandTool::setBandBin
void setBandBin(Cube *cube)
This method fills the p_comboBox with the keywords from the band bin group of the currently selected ...
Definition:
BandTool.cpp:255
QWidget
Isis::BandTool::p_redDisplay
QLabel * p_redDisplay
red display
Definition:
BandTool.h:74
Isis::BandTool::p_rgbButton
QRadioButton * p_rgbButton
RGB radio button.
Definition:
BandTool.h:67
Pvl.h
Isis::ToolPad
Definition:
ToolPad.h:14
Isis::Cube
IO Handler for Isis Cubes.
Definition:
Cube.h:170
src
qisis
objs
BandTool
BandTool.h