pqSettingsDialog.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 pqSettingsDialog_h
5 #define pqSettingsDialog_h
6 
7 #include "pqComponentsModule.h"
8 #include <QDialog>
9 
10 class pqServer;
11 class QAbstractButton;
12 class vtkSMProperty;
13 
21 class PQCOMPONENTS_EXPORT pqSettingsDialog : public QDialog
22 {
23  Q_OBJECT;
24  typedef QDialog Superclass;
25 
26 public:
27  pqSettingsDialog(QWidget* parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags{},
28  const QStringList& proxyLabelsToShow = QStringList());
29  ~pqSettingsDialog() override;
30 
35  void showTab(const QString& title);
36 
37 private Q_SLOTS:
38  void clicked(QAbstractButton*);
39  void onAccepted();
40  void onRejected();
41 
42  void onTabIndexChanged(int index);
43  void onChangeAvailable();
44  void showRestartRequiredMessage();
45 
46  void filterPanelWidgets();
47 
52  void serverRemoved(pqServer*);
53 
54 Q_SIGNALS:
55  void filterWidgets(bool showAdvanced, const QString& text);
56 
57 private:
58  Q_DISABLE_COPY(pqSettingsDialog)
59  class pqInternals;
60  pqInternals* Internals;
61 
66  static bool ShowRestartRequired;
67 };
68 
69 #endif
#define PQCOMPONENTS_EXPORT
superclass for all SM properties
pqSettingsDialog provides a dialog for controlling application settings for a ParaView application...
index
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35
title