Isis 3.0
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
WindowTool.h
Go to the documentation of this file.
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
Definition:
WindowTool.h:20
Isis::WindowTool::menuName
QString menuName() const
Returns the menu name.
Definition:
WindowTool.h:30
Isis::WindowTool::removeConnections
void removeConnections(MdiCubeViewport *cvp)
Removes the connections from the cube viewport.
Definition:
WindowTool.cpp:189
Tool.h
Isis::WindowTool::addToPermanent
void addToPermanent(QToolBar *toolbar)
Adds the link window action to the tool bar.
Definition:
WindowTool.cpp:136
Isis::WindowTool::WindowTool
WindowTool(QWidget *parent)
WindowTool constructor.
Definition:
WindowTool.cpp:21
QToolBar
Isis::Workspace
Definition:
Workspace.h:81
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
QAction
QWidget
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:18