pqImageCompressorWidget.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 pqImageCompressorWidget_h
5 #define pqImageCompressorWidget_h
6 
8 #include "pqPropertyWidget.h"
9 
17 {
18  Q_OBJECT;
20  Q_PROPERTY(QString compressorConfig READ compressorConfig WRITE setCompressorConfig);
21 
22 public:
23  pqImageCompressorWidget(vtkSMProxy* proxy, vtkSMProperty* smproperty, QWidget* parent = nullptr);
24  ~pqImageCompressorWidget() override;
25 
26  QString compressorConfig() const;
27 
28 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
29  void setCompressorConfig(const QString&);
30 
31 Q_SIGNALS:
32  void compressorConfigChanged();
33 private Q_SLOTS:
34  void currentIndexChanged(int);
35  void setConfigurationDefault(int);
36 
37 private: // NOLINT(readability-redundant-access-specifiers)
38  Q_DISABLE_COPY(pqImageCompressorWidget)
39  class pqInternals;
40  pqInternals* Internals;
41 };
42 
43 #endif
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
#define PQAPPLICATIONCOMPONENTS_EXPORT
superclass for all SM properties
pqImageCompressorWidget is a pqPropertyWidget designed to be used for "CompressorConfig" property on ...
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140