Isis 3 Developer Reference
ToolList.h
Go to the documentation of this file.
1
#ifndef ToolList_h
2
#define ToolList_h
3
26
#include <QList>
27
28
#include <QPointer>
29
30
class
QStackedWidget;
31
class
QToolBar
;
32
33
namespace
Isis
{
34
class
RubberBandTool;
35
class
Tool;
36
46
class
ToolList
{
47
public
:
48
ToolList
();
49
~ToolList
();
50
51
void
append
(
Tool
*tool);
52
int
count
()
const
;
53
RubberBandTool
*
rubberBandTool
();
54
QStackedWidget *
toolBarStack
();
55
QStackedWidget *
toolBarStack
(
QToolBar
*toolBar);
56
57
Tool
*
operator[]
(
int
index);
58
59
private
:
60
Q_DISABLE_COPY(
ToolList
);
61
62
QList<Tool *>
m_tools;
63
64
QPointer<QStackedWidget> m_activeToolBarStack;
65
QPointer<RubberBandTool> m_rubberBandTool;
66
};
67
}
68
69
#endif
Isis::ToolList::rubberBandTool
RubberBandTool * rubberBandTool()
Definition:
ToolList.cpp:41
Isis::ToolList::operator[]
Tool * operator[](int index)
Definition:
ToolList.cpp:61
Isis::ToolList::ToolList
ToolList()
Definition:
ToolList.cpp:10
Isis::ToolList::~ToolList
~ToolList()
Definition:
ToolList.cpp:16
Isis::ToolList::append
void append(Tool *tool)
Definition:
ToolList.cpp:21
QToolBar
Isis::ToolList::toolBarStack
QStackedWidget * toolBarStack()
Definition:
ToolList.cpp:46
Isis::RubberBandTool
Rubber banding tool.
Definition:
RubberBandTool.h:50
QList
Definition:
BoxcarCachingAlgorithm.h:29
Isis
Namespace for ISIS/Bullet specific routines.
Definition:
Apollo.h:31
Isis::Tool
Base class for the Qisis tools.
Definition:
Tool.h:81
Isis::ToolList::count
int count() const
Definition:
ToolList.cpp:36
Isis::ToolList
Allows tools to share data between each other.
Definition:
ToolList.h:46
pkgs
isis3.9.0_docs
ISIS3
isis
src
qisis
objs
ToolList
ToolList.h