Isis 3.0
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Isis 3.0
Isis 3.0 Object Documentation
Deprecated List
History
Modules
Namespaces
Classes
Files
File List
File Members
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
Tool.h
Isis::BlinkTool::menuName
QString menuName() const
Returns the menu name.
Definition:
BlinkTool.h:42
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::Tool
Base class for the Qisis tools.
Definition:
Tool.h:81
QObject
QAction
QDialog
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:14:49