pqDoubleVectorPropertyWidget.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 
5 #ifndef pqDoubleVectorPropertyWidget_h
6 #define pqDoubleVectorPropertyWidget_h
7 
8 #include "pqPropertyWidget.h"
9 
11 {
12  Q_OBJECT
14 
15 public:
17  vtkSMProperty* property, vtkSMProxy* proxy, QWidget* parent = nullptr);
18 
19  ~pqDoubleVectorPropertyWidget() override;
20 
21  // Overridden to clear highlights from the pqHighlightablePushButton.
22  void apply() override;
23  void reset() override;
24 
25 Q_SIGNALS:
29  void clearHighlight();
30  void highlightResetButton();
31 
32 protected Q_SLOTS:
36  virtual void resetButtonClicked();
37 
38  void scaleHalf();
39  void scaleTwice();
40  void scale(double);
41 
45  void resetToActiveDataBounds();
46 
50  void resetToBounds(const double bds[6]);
51 
52 private:
53  Q_DISABLE_COPY(pqDoubleVectorPropertyWidget)
54 };
55 
56 #endif // pqDoubleVectorPropertyWidget_h
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
#define PQCOMPONENTS_EXPORT
superclass for all SM properties
virtual void reset()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
scale
virtual void apply()