pqAnimationShortcutWidget.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 pqAnimationShortcutWidget_h
5 #define pqAnimationShortcutWidget_h
6 
8 #include <QToolButton>
9 
10 class vtkSMProxy;
11 class vtkSMProperty;
12 class pqLineEdit;
13 class pqAnimationScene;
14 
19 {
20  Q_OBJECT
21  typedef QToolButton Superclass;
22 
23 public:
27  pqAnimationShortcutWidget(QWidget* parent, vtkSMProxy* proxy, vtkSMProperty* property);
28  ~pqAnimationShortcutWidget() override;
29 
30 protected Q_SLOTS:
34  virtual void updateMenu();
35 
39  virtual void onTriggered(QAction*);
40 
44  virtual void setScene(pqAnimationScene* scene);
45 
46 protected: // NOLINT(readability-redundant-access-specifiers)
50 };
51 
52 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
superclass for all SM properties
A QToolButton widget to show a dialog that is a shortcut to creating an animation.
pqLineEdit is a specialization of QLineEdit which provide a new property &#39;text2&#39;. ...
Definition: pqLineEdit.h:25
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
pqAnimationScene is a representation for a vtkSMAnimationScene proxy.