Isis Developer Reference
BlinkTool.h
Go to the documentation of this file.
1#ifndef BlinkTool_h
2#define BlinkTool_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12// This is the only include allowed in this file!
13#include "Tool.h"
14
15class QDoubleSpinBox;
16class QDialog;
17class QToolButton;
18class QSplitter;
19class QMenu;
20class QVBoxLayout;
21class QHBoxLayout;
22class QPushButton;
23class QAction;
24class QListWidget;
25class QListWidgetItem;
26
27namespace Isis {
34 class BlinkTool : public Tool {
35 Q_OBJECT
36
37 public:
38 BlinkTool(QWidget *parent);
39 void addTo(QMenu *menu);
40 void addToPermanent(QToolBar *perm);
41 void writeSettings();
42 void readSettings();
43
50 QString menuName() const {
51 return "&Options";
52 };
53
54 protected:
55 void updateTool();
56 bool eventFilter(QObject *o, QEvent *e);
57
58 private slots:
59 void toggleLink(QListWidgetItem *item);
60 void reverse();
61 void stop();
62 void start();
63 void advance();
64 void timeout();
65 void updateWindow();
66
67 private:
68 QAction *p_action;
69 QWidget *p_blinkWindow;
70 QListWidget *p_listWidget;
71 QDoubleSpinBox *p_timeBox;
72 bool p_timerOn;
73 QDialog *p_dialog;
74 QSplitter *p_splitter;
75 };
76};
77
78#endif
Base class for the Qisis tools.
Definition Tool.h:67
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16