Isis 3.0 Programmer Reference
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
WindowTool.h
1
#ifndef WindowTool_h
2
#define WindowTool_h
3
4
#include "
Tool.h
"
5
6
class
QAction
;
7
8
namespace
Isis {
9
class
MdiCubeViewport;
10
20
class
WindowTool
:
public
Tool
{
21
Q_OBJECT
22
23
public
:
24
WindowTool
(
QWidget
*parent);
25
void
addTo
(QMenu *menu);
26
void
addTo
(
Workspace
*ws);
27
void
addToPermanent
(
QToolBar
*toolbar);
28
30
QString
menuName
()
const
{
31
return
"&Window"
;
32
}
33
34
protected
:
35
void
updateTool
();
36
void
addConnections
(
MdiCubeViewport
*cvp);
37
void
removeConnections
(
MdiCubeViewport
*cvp);
38
39
private
slots:
40
void
changeCursor
();
41
void
linkWindows
();
42
void
unlinkWindows
();
43
void
resizeWindows
();
44
void
updateViewportCursor(
MdiCubeViewport
*);
45
46
private
:
47
48
private
:
49
QAction
*
p_cascadeWindows
;
50
QAction
*
p_tileWindows
;
51
QAction
*
p_resizeWindows
;
52
QAction
*
p_prevWindow
;
53
QAction
*
p_nextWindow
;
54
QAction
*
p_closeWindow
;
55
QAction
*
p_closeAllWindows
;
56
QAction
*
p_linkWindow
;
57
QAction
*
p_linkAllWindows
;
58
QAction
*
p_unlinkAllWindows
;
59
QAction
*
p_changeCursor
;
60
};
61
};
62
63
#endif
64
Isis::MdiCubeViewport
Cube display widget for certain Isis MDI applications.
Definition:
MdiCubeViewport.h:53
Isis::WindowTool::changeCursor
void changeCursor()
toggles the cursor from an arrow to a crosshair.
Definition:
WindowTool.cpp:230
Isis::WindowTool
Definition:
WindowTool.h:20
Isis::WindowTool::menuName
QString menuName() const
Returns the menu name.
Definition:
WindowTool.h:30
Isis::WindowTool::resizeWindows
void resizeWindows()
Resizes all the viewport windows to the active viewport window size.
Definition:
WindowTool.cpp:261
Isis::WindowTool::p_unlinkAllWindows
QAction * p_unlinkAllWindows
unlink all windows action
Definition:
WindowTool.h:58
Isis::WindowTool::removeConnections
void removeConnections(MdiCubeViewport *cvp)
Removes the connections from the cube viewport.
Definition:
WindowTool.cpp:189
Isis::WindowTool::linkWindows
void linkWindows()
Links all viewport windows in the workspace.
Definition:
WindowTool.cpp:205
Isis::WindowTool::p_prevWindow
QAction * p_prevWindow
previous window action
Definition:
WindowTool.h:52
Isis::WindowTool::p_tileWindows
QAction * p_tileWindows
tile windows action
Definition:
WindowTool.h:50
Isis::WindowTool::p_closeWindow
QAction * p_closeWindow
close window action
Definition:
WindowTool.h:54
Tool.h
Isis::WindowTool::addToPermanent
void addToPermanent(QToolBar *toolbar)
Adds the link window action to the tool bar.
Definition:
WindowTool.cpp:136
Isis::WindowTool::p_changeCursor
QAction * p_changeCursor
changes the cursor when it moves over the viewport
Definition:
WindowTool.h:59
Isis::WindowTool::p_linkAllWindows
QAction * p_linkAllWindows
link all windows action
Definition:
WindowTool.h:57
Isis::WindowTool::WindowTool
WindowTool(QWidget *parent)
WindowTool constructor.
Definition:
WindowTool.cpp:21
QToolBar
Isis::WindowTool::unlinkWindows
void unlinkWindows()
Unlinks all the viewport windows in the workspace.
Definition:
WindowTool.cpp:218
Isis::Workspace
Definition:
Workspace.h:81
Isis::WindowTool::p_linkWindow
QAction * p_linkWindow
link window action
Definition:
WindowTool.h:56
Isis::WindowTool::addConnections
void addConnections(MdiCubeViewport *cvp)
Adds the connections to the cube viewport.
Definition:
WindowTool.cpp:176
Isis::WindowTool::addTo
void addTo(QMenu *menu)
Adds the cascade windows, tile windows, resize windows, next window, previous window, close window, and close all windows actions to the menu.
Definition:
WindowTool.cpp:149
Isis::WindowTool::updateTool
void updateTool()
Updates the WindowTool.
Definition:
WindowTool.cpp:276
Isis::Tool
Base class for the Qisis tools.
Definition:
Tool.h:81
Isis::WindowTool::p_nextWindow
QAction * p_nextWindow
next window action
Definition:
WindowTool.h:53
QAction
QWidget
Isis::WindowTool::p_resizeWindows
QAction * p_resizeWindows
resize windows action
Definition:
WindowTool.h:51
Isis::WindowTool::p_cascadeWindows
QAction * p_cascadeWindows
cascade windows action
Definition:
WindowTool.h:49
Isis::WindowTool::p_closeAllWindows
QAction * p_closeAllWindows
close all action
Definition:
WindowTool.h:55
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:31:45