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 
15 class QDoubleSpinBox;
16 class QDialog;
17 class QToolButton;
18 class QSplitter;
19 class QMenu;
20 class QVBoxLayout;
21 class QHBoxLayout;
22 class QPushButton;
23 class QAction;
24 class QListWidget;
25 class QListWidgetItem;
26 
27 namespace 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
FileName.h
Isis::MdiCubeViewport
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
QWidget
MdiCubeViewport.h
Isis::Tool::cubeViewportList
CubeViewportList * cubeViewportList() const
Return the list of cubeviewports.
Definition: Tool.cpp:390
Isis::Tool
Base class for the Qisis tools.
Definition: Tool.h:67
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
MainWindow.h
QMenu
Isis::Tool::toolIconDir
QString toolIconDir() const
returns the path to the icon directory.
Definition: Tool.h:113
Isis::CubeViewport::pixmap
QPixmap pixmap()
Returns the pixmap.
Definition: CubeViewport.h:401
Tool.h
QToolBar
IString.h
Isis::MdiCubeViewport::setLinked
void setLinked(bool b)
Change the linked state of the viewport.
Definition: MdiCubeViewport.cpp:58
Isis::FileName::expanded
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
Isis::MdiCubeViewport::isLinked
bool isLinked() const
Is the viewport linked with other viewports.
Definition: MdiCubeViewport.h:50
Isis::MainWindow::settingsFileName
QString settingsFileName() const
Definition: MainWindow.cpp:96
QDialog
QObject
QAction
Isis::Tool::cubeViewport
MdiCubeViewport * cubeViewport() const
Return the current cubeviewport.
Definition: Tool.h:197
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16