File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
5 #include <QStackedWidget>
8 #include "CubeViewport.h"
9 #include "MdiCubeViewport.h"
12 #include "RubberBandTool.h"
15 #include "Workspace.h"
16 #include "ViewportMainWindow.h"
35 QString tempFileName =
FileName(
"$ISISROOT/appdata/images/icons").
expanded();
61 result = m_toolList->rubberBandTool();
68 void Tool::setList(ToolList *currentList) {
69 m_toolList = currentList;
114 QStackedWidget *activeToolBarStack = m_toolList->toolBarStack(toolbar);
133 emit clearWarningSignal();
149 emit toolActivated();
179 emit viewportChanged();
191 connect(
m_cvp, SIGNAL(scaleChanged()),
192 this, SLOT(scaleChanged()));
194 if (rubberBandTool()) {
195 connect(rubberBandTool(), SIGNAL(measureChange()),
196 this, SLOT(updateMeasure()));
198 connect(rubberBandTool(), SIGNAL(bandingComplete()),
199 this, SLOT(rubberBandComplete()));
202 connect(
m_cvp, SIGNAL(mouseEnter()),
203 this, SLOT(mouseEnter()));
209 this, SLOT(
mouseMove(QPoint)), Qt::DirectConnection);
212 this, SLOT(
mouseMove(QPoint, Qt::MouseButton)), Qt::DirectConnection);
214 connect(
m_cvp, SIGNAL(mouseLeave()),
215 this, SLOT(mouseLeave()));
242 disconnect(
m_cvp, SIGNAL(scaleChanged()),
243 this, SLOT(scaleChanged()));
245 if (rubberBandTool()) {
246 disconnect(rubberBandTool(), SIGNAL(measureChange()),
247 this, SLOT(updateMeasure()));
249 disconnect(rubberBandTool(), SIGNAL(bandingComplete()),
250 this, SLOT(rubberBandComplete()));
253 disconnect(
m_cvp, SIGNAL(mouseEnter()),
254 this, SLOT(mouseEnter()));
263 this, SLOT(
mouseMove(QPoint, Qt::MouseButton)));
265 disconnect(
m_cvp, SIGNAL(mouseLeave()),
266 this, SLOT(mouseLeave()));
308 if (m_toolList && m_toolList->toolBarStack()) {
359 emit clearWarningSignal();
368 emit clearWarningSignal();
381 emit clearWarningSignal();
Cube display widget for certain Isis MDI applications.
QMenu * getMenu(const QString &name)
Returns the menu with menu name = name.
File name manipulation and expansion.
Workspace * workspace()
Returns the current workspace.
QToolBar * activeToolBar()
Returns the active toolbar.
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
This was called the Qisis MainWindow.
ToolPad * toolPad()
Returns the toolpad.
QToolBar * permanentToolBar()
Returns the permanent toolbar.
QVector< MdiCubeViewport * > * cubeViewportList()
This method returns a Vector of MdiCubeViewports.
void registerTool(Tool *tool)
Registers the tool given tool.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.