pqVCRToolbar.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqVCRToolbar_h
5 #define pqVCRToolbar_h
6 
8 #include <QToolBar>
9 
10 class pqVCRController;
11 
18 {
19  Q_OBJECT
20  typedef QToolBar Superclass;
21 
22 public:
23  pqVCRToolbar(const QString& title, QWidget* parentObject = nullptr)
24  : Superclass(title, parentObject)
25  {
26  this->constructor();
27  }
28  pqVCRToolbar(QWidget* parentObject = nullptr)
29  : Superclass(parentObject)
30  {
31  this->constructor();
32  }
33  ~pqVCRToolbar() override;
34 
35 protected Q_SLOTS:
36  void setTimeRanges(double, double);
37  void onPlaying(bool, bool);
38 
39 private:
40  Q_DISABLE_COPY(pqVCRToolbar)
41 
42  void constructor();
43 
44  class pqInternals;
45  pqInternals* UI;
46 
47  pqVCRController* Controller;
48 };
49 
50 #endif
pqVCRToolbar(const QString &title, QWidget *parentObject=nullptr)
Definition: pqVCRToolbar.h:23
#define PQAPPLICATIONCOMPONENTS_EXPORT
pqVCRToolbar is the toolbar with VCR controls.
Definition: pqVCRToolbar.h:17
pqVCRToolbar(QWidget *parentObject=nullptr)
Definition: pqVCRToolbar.h:28
pqVCRController is the QObject that encapsulates the VCR control functionality.