Isis 3.0
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
TrackTool.h
Go to the documentation of this file.
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::getStatusBar
QStatusBar * getStatusBar(void)
Definition:
TrackTool.cpp:376
Isis::TrackTool
This tool is part of the Qisis namespace and displays the statusbar of the window.
Definition:
TrackTool.h:42
Isis::TrackTool::mouseMove
virtual void mouseMove(QPoint p)
Updates the labels anytime the mouse moves.
Definition:
TrackTool.cpp:116
Tool.h
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::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
U.S. Department of the Interior
|
U.S. Geological Survey
ISIS
|
Privacy & Disclaimers
|
Astrogeology Research Program
To contact us, please post comments and questions on the
ISIS Support Center
File Modified: 07/12/2023 23:30:36