Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis Developer Reference
ScatterPlotTool.h
Go to the documentation of this file.
1#ifndef ScatterPlotTool_h
2#define ScatterPlotTool_h
3
4#include "Tool.h"
5
6#include <QPointer>
7#include <QScopedPointer>
8
9class QAction;
10class QWidget;
11
12namespace Isis {
13 class MdiCubeViewport;
16
26 class ScatterPlotTool : public Tool {
27 Q_OBJECT
28
29 public:
30 ScatterPlotTool(QWidget *parent);
31 void setActionChecked(bool checked);
32
33 virtual void paintViewport(MdiCubeViewport *vp, QPainter *painter);
34
35 public slots:
39
40 protected slots:
41 void mouseMove(QPoint p, Qt::MouseButton);
42 void mouseLeave();
43 void repaintViewports();
44
45 protected:
46 QWidget *createToolBarWidget(QStackedWidget *parent);
48
50
51 private:
53 QPointer<QAction> m_action;
55 QPointer<ScatterPlotConfigDialog> m_configDialog;
57 QScopedPointer< QList< QPointer<ScatterPlotWindow> > > m_plotWindows;
58 };
59};
60
61
62
63
64#endif
65
Cube display widget for certain Isis MDI applications.
Definition MdiCubeViewport.h:39
This configuration dialog is for users to determine the scatter plot parameters required to create a ...
Definition ScatterPlotConfigDialog.h:28
void mouseLeave()
The user moused out of the viewport.
Definition ScatterPlotTool.cpp:173
virtual void paintViewport(MdiCubeViewport *vp, QPainter *painter)
When a viewport needs repainted this is called.
Definition ScatterPlotTool.cpp:43
QWidget * createToolBarWidget(QStackedWidget *parent)
Create the toolbar options widget for this tool's options.
Definition ScatterPlotTool.cpp:91
void onScatterPlotConfigAccepted()
The user has asked to create a scatter plot.
Definition ScatterPlotTool.cpp:114
void setActionChecked(bool checked)
Gives the programmer more flexibility on when the action button for this tool is checked or not.
Definition ScatterPlotTool.cpp:31
QAction * toolAction()
Get the action which activates this tool.
Definition ScatterPlotTool.cpp:80
void showNewScatterPlotConfig()
Ask the user to give us information for a new scatter plot.
Definition ScatterPlotTool.cpp:198
void repaintViewports()
This is a helper method for asking every viewport to repaint.
Definition ScatterPlotTool.cpp:186
void mouseMove(QPoint p, Qt::MouseButton)
The user has moved their mouse on the cube viewport.
Definition ScatterPlotTool.cpp:160
ScatterPlotTool(QWidget *parent)
ScatterPlotTool constructor.
Definition ScatterPlotTool.cpp:20
QAction * toolPadAction(ToolPad *pad)
Configure the QAction for this tool.
Definition ScatterPlotTool.cpp:59
void onScatterPlotConfigRejected()
The user has cancelled creating a scatter plot.
Definition ScatterPlotTool.cpp:149
Scatter Plot Window.
Definition ScatterPlotWindow.h:28
Tool(QWidget *parent)
Tool constructor.
Definition Tool.cpp:27
Definition ToolPad.h:14
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16