Isis 3 Developer Reference
BlinkTool.h
Go to the documentation of this file.
1
#ifndef BlinkTool_h
2
#define BlinkTool_h
3
4
// This is the only include allowed in this file!
5
#include "
Tool.h
"
6
7
class
QDoubleSpinBox;
8
class
QDialog
;
9
class
QToolButton;
10
class
QSplitter;
11
class
QMenu
;
12
class
QVBoxLayout;
13
class
QHBoxLayout;
14
class
QPushButton;
15
class
QAction
;
16
class
QListWidget;
17
class
QListWidgetItem;
18
19
namespace
Isis
{
26
class
BlinkTool
:
public
Tool
{
27
Q_OBJECT
28
29
public
:
30
BlinkTool
(
QWidget
*parent);
31
void
addTo
(
QMenu
*menu);
32
void
addToPermanent
(
QToolBar
*perm);
33
void
writeSettings
();
34
void
readSettings
();
35
42
QString
menuName
()
const
{
43
return
"&Options"
;
44
};
45
46
protected
:
47
void
updateTool
();
48
bool
eventFilter
(
QObject
*o, QEvent *e);
49
50
private
slots:
51
void
toggleLink(QListWidgetItem *item);
52
void
reverse();
53
void
stop();
54
void
start();
55
void
advance();
56
void
timeout();
57
void
updateWindow();
58
59
private
:
60
QAction
*p_action;
61
QWidget
*p_blinkWindow;
62
QListWidget *p_listWidget;
63
QDoubleSpinBox *p_timeBox;
64
bool
p_timerOn;
65
QDialog
*p_dialog;
66
QSplitter *p_splitter;
67
};
68
};
69
70
#endif
71
Isis::BlinkTool::addTo
void addTo(QMenu *menu)
Adds this action to the given menu.
Definition:
BlinkTool.cpp:157
Isis::BlinkTool::writeSettings
void writeSettings()
Writes the current settings of this window so the next time this tool is used, certain user prefs...
Definition:
BlinkTool.cpp:316
Isis::BlinkTool
Definition:
BlinkTool.h:26
Isis::BlinkTool::updateTool
void updateTool()
Updates the blink tool.
Definition:
BlinkTool.cpp:177
Isis::BlinkTool::addToPermanent
void addToPermanent(QToolBar *perm)
Adds this action to the permanent tool bar.
Definition:
BlinkTool.cpp:168
Isis::BlinkTool::eventFilter
bool eventFilter(QObject *o, QEvent *e)
Catches the events happening so we can make this tool do what we want.
Definition:
BlinkTool.cpp:357
Isis::BlinkTool::menuName
QString menuName() const
Returns the menu name.
Definition:
BlinkTool.h:42
Tool.h
QMenu
Isis::BlinkTool::BlinkTool
BlinkTool(QWidget *parent)
Blink Tool Constructor.
Definition:
BlinkTool.cpp:31
QToolBar
Isis::BlinkTool::readSettings
void readSettings()
Reads the settings saved from the last time this tool was used.
Definition:
BlinkTool.cpp:331
Isis
Namespace for ISIS/Bullet specific routines.
Definition:
Apollo.h:31
Isis::Tool
Base class for the Qisis tools.
Definition:
Tool.h:81
QObject
QAction
QDialog
QWidget
pkgs
isis3.9.0_docs
ISIS3
isis
src
qisis
objs
BlinkTool
BlinkTool.h