pqLightToolbar.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 pqLightToolbar_h
5 #define pqLightToolbar_h
6 
8 #include <QToolBar>
9 
10 #include <memory> // for unique_ptr
11 
12 class pqView;
13 
18 {
19  Q_OBJECT
20  typedef QToolBar Superclass;
21 
22 public:
23  pqLightToolbar(const QString& title, QWidget* parentObject = nullptr);
24  pqLightToolbar(QWidget* parentObject = nullptr);
25  ~pqLightToolbar() override;
26 
27 protected Q_SLOTS:
28  void setView(pqView* view);
29  void toggleLightKit();
30 
31 private:
32  Q_DISABLE_COPY(pqLightToolbar)
33 
34  class pqInternals;
35  std::unique_ptr<pqInternals> Internals;
36  void constructor();
37 };
38 
39 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a PQ abstraction of a generic view module.
Definition: pqView.h:26
pqLightToolbar is the toolbar that has buttons for controlling light settings.
title