Isis 3 Programmer Reference
TrackTool.h
1
#ifndef Qisis_TrackTool_h
2
#define Qisis_TrackTool_h
3
4
// This is the only include allowed in this file!
5
#include "
Tool.h
"
6
7
8
class
QLabel;
9
class
QStatusBar;
10
11
namespace
Isis
{
12
class
MdiCubeViewport;
13
class
WarningWidget;
14
42
class
TrackTool
:
public
Tool
{
43
Q_OBJECT
44
45
public
:
46
TrackTool
(QStatusBar *parent);
47
void
displayWarning
(std::string &pStr,
const
std::string &pExStr);
48
void
resetStatusWarning
(
void
);
49
QStatusBar *getStatusBar(
void
);
50
51
public
slots:
52
virtual
void
mouseMove
(QPoint p);
53
virtual
void
mouseLeave
();
54
55
protected
:
56
void
addConnections
(
MdiCubeViewport
*cvp);
57
void
removeConnections
(
MdiCubeViewport
*cvp);
58
59
private
slots:
60
void
locateCursor
();
61
62
private
:
63
void
updateLabels
(QPoint p);
64
void
clearLabels
();
65
66
QStatusBar *
p_sbar
;
67
QLabel *
p_sampLabel
;
68
QLabel *
p_lineLabel
;
69
QLabel *
p_latLabel
;
70
QLabel *
p_lonLabel
;
71
QLabel *
p_grayLabel
;
72
QLabel *
p_redLabel
;
73
QLabel *
p_grnLabel
;
74
QLabel *
p_bluLabel
;
75
WarningWidget
*
mWarningWidget
;
76
};
77
};
78
79
#endif
Isis::MdiCubeViewport
Cube display widget for certain Isis MDI applications.
Definition:
MdiCubeViewport.h:53
Isis::TrackTool::displayWarning
void displayWarning(std::string &pStr, const std::string &pExStr)
Display the Warning icon in case of an exception, sent from the tool where the exception occured...
Definition:
TrackTool.cpp:97
Isis::TrackTool::mWarningWidget
WarningWidget * mWarningWidget
Warning Widget.
Definition:
TrackTool.h:75
Isis::TrackTool::p_sampLabel
QLabel * p_sampLabel
Sample label.
Definition:
TrackTool.h:67
Isis::TrackTool::p_lonLabel
QLabel * p_lonLabel
Lon label.
Definition:
TrackTool.h:70
Isis::TrackTool
This tool is part of the Qisis namespace and displays the statusbar of the window.
Definition:
TrackTool.h:42
Isis::TrackTool::clearLabels
void clearLabels()
Clears the labels.
Definition:
TrackTool.cpp:325
Isis::TrackTool::p_bluLabel
QLabel * p_bluLabel
Blue label.
Definition:
TrackTool.h:74
Isis::TrackTool::mouseMove
virtual void mouseMove(QPoint p)
Updates the labels anytime the mouse moves.
Definition:
TrackTool.cpp:116
Isis::TrackTool::p_grnLabel
QLabel * p_grnLabel
Green label.
Definition:
TrackTool.h:73
Tool.h
Isis::TrackTool::p_redLabel
QLabel * p_redLabel
Red label.
Definition:
TrackTool.h:72
Isis::TrackTool::p_sbar
QStatusBar * p_sbar
Status bar.
Definition:
TrackTool.h:66
Isis::TrackTool::p_latLabel
QLabel * p_latLabel
Lat label.
Definition:
TrackTool.h:69
Isis::TrackTool::locateCursor
void locateCursor()
Finds the cursor position.
Definition:
TrackTool.cpp:341
Isis::TrackTool::p_lineLabel
QLabel * p_lineLabel
Line label.
Definition:
TrackTool.h:68
Isis::TrackTool::mouseLeave
virtual void mouseLeave()
Clears the labels if the mouse leaves the application.
Definition:
TrackTool.cpp:131
Isis::WarningWidget
Displays the NoWarning icon as default and the Warning icon in case of exception and also pops up a a...
Definition:
WarningWidget.h:51
Isis::TrackTool::addConnections
void addConnections(MdiCubeViewport *cvp)
Adds the connections to the given viewport.
Definition:
TrackTool.cpp:358
Isis::TrackTool::updateLabels
void updateLabels(QPoint p)
Updates the tracking labels.
Definition:
TrackTool.cpp:142
Isis
Namespace for ISIS/Bullet specific routines.
Definition:
Apollo.h:31
Isis::Tool
Base class for the Qisis tools.
Definition:
Tool.h:81
Isis::TrackTool::resetStatusWarning
void resetStatusWarning(void)
Resets the warning status on the status bar to default.
Definition:
TrackTool.cpp:104
Isis::TrackTool::removeConnections
void removeConnections(MdiCubeViewport *cvp)
Removes the connections from the given viewport.
Definition:
TrackTool.cpp:370
Isis::TrackTool::TrackTool
TrackTool(QStatusBar *parent)
TrackTool constructor.
Definition:
TrackTool.cpp:26
Isis::TrackTool::p_grayLabel
QLabel * p_grayLabel
Gray label.
Definition:
TrackTool.h:71
src
qisis
objs
TrackTool
TrackTool.h