Isis Developer Reference
LatLonGridTool.h
Go to the documentation of this file.
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
20class QToolButton;
21class QPainter;
22class QCheckBox;
23
24namespace 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:
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
Lat Lon Grid View Tool.
Definition LatLonGridTool.h:38
QAction * toolPadAction(ToolPad *pad)
Adds the LatLonGridTool to the tool pad.
Definition LatLonGridTool.cpp:39
void paintViewport(MdiCubeViewport *mvp, QPainter *painter)
Draws grid onto cube viewport This is overiding the parents paintViewport member.
Definition LatLonGridTool.cpp:85
LatLonGridTool(QWidget *parent)
Constructs an LatLonGridTool object.
Definition LatLonGridTool.cpp:29
void updateTool()
Enables/Disable grid option tool based on camera model.
Definition LatLonGridTool.cpp:140
QWidget * createToolBarWidget(QStackedWidget *active)
Creates the toolbar containing the lat-lon grid tool widgets.
Definition LatLonGridTool.cpp:61
Cube display widget for certain Isis MDI applications.
Definition MdiCubeViewport.h:39
Base class for the Qisis tools.
Definition Tool.h:67
Definition ToolPad.h:14
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16