pqPropertyPanelVisibilitiesBehavior.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef pqPropertyPanelVisibilitiesBehavior_h
4 #define pqPropertyPanelVisibilitiesBehavior_h
5 
6 #include <QObject>
7 
8 #include <QJsonDocument>
9 
10 class vtkSMProxy;
11 
42 {
43  Q_OBJECT
44  typedef QObject Superclass;
45 
46 public:
47  pqPropertyPanelVisibilitiesBehavior(QObject* parent);
49 
50 protected:
55  virtual QString getConfigFilePath();
56 
57 private:
59 
63  void loadConfiguration();
64 
68  bool parseSettingFile(const QString& filePath);
69 
73  void updateExistingProxies();
74 
78  void overrideVisibility(vtkSMProxy* proxy);
79 
80  QJsonDocument Config;
81 };
82 
83 #endif
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:140
virtual QString getConfigFilePath()
Get configuration file from ParaView usual directories.
pqPropertyVisilityBehavior allows to override properties visibility for pqProxyWidgets, similarly to the panel_visibility XML attribute.
pqPropertyPanelVisibilitiesBehavior(QObject *parent)