Isis 3 Programmer Reference
LatLonGridTool.h
1
#ifndef LatLonGridTool_h
2
#define LatLonGridTool_h
3
10
/* SPDX-License-Identifier: CC0-1.0 */
11
12
#include "Tool.h"
13
14
15
#include <QMap>
16
#include <QStack>
17
#include <QPointer>
18
19
20
class
QToolButton;
21
class
QPainter;
22
class
QCheckBox;
23
24
namespace
Isis
{
25
class
MdiCubeViewport;
26
27
38
class
LatLonGridTool
:
public
Tool
{
39
Q_OBJECT
40
41
public
:
42
LatLonGridTool
(
QWidget
*parent);
43
void
paintViewport
(
MdiCubeViewport
*mvp, QPainter *painter);
44
45
protected
:
46
QAction
*
toolPadAction
(
ToolPad
*pad);
47
QWidget
*
createToolBarWidget
(QStackedWidget *active);
48
void
updateTool
();
49
50
private
:
51
QWidget
*m_container;
52
QPointer<QCheckBox> m_gridCheckBox;
53
};
54
};
55
56
#endif
Isis::LatLonGridTool
Lat Lon Grid View Tool.
Definition
LatLonGridTool.h:38
Isis::LatLonGridTool::toolPadAction
QAction * toolPadAction(ToolPad *pad)
Adds the LatLonGridTool to the tool pad.
Definition
LatLonGridTool.cpp:39
Isis::LatLonGridTool::paintViewport
void paintViewport(MdiCubeViewport *mvp, QPainter *painter)
Draws grid onto cube viewport This is overiding the parents paintViewport member.
Definition
LatLonGridTool.cpp:85
Isis::LatLonGridTool::LatLonGridTool
LatLonGridTool(QWidget *parent)
Constructs an LatLonGridTool object.
Definition
LatLonGridTool.cpp:29
Isis::LatLonGridTool::updateTool
void updateTool()
Enables/Disable grid option tool based on camera model.
Definition
LatLonGridTool.cpp:140
Isis::LatLonGridTool::createToolBarWidget
QWidget * createToolBarWidget(QStackedWidget *active)
Creates the toolbar containing the lat-lon grid tool widgets.
Definition
LatLonGridTool.cpp:61
Isis::MdiCubeViewport
Cube display widget for certain Isis MDI applications.
Definition
MdiCubeViewport.h:39
Isis::Tool
Base class for the Qisis tools.
Definition
Tool.h:67
Isis::ToolPad
Definition
ToolPad.h:14
QAction
QWidget
Isis
This is free and unencumbered software released into the public domain.
Definition
Apollo.h:16
src
qisis
objs
LatLonGridTool
LatLonGridTool.h