pqAboutDialog.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 pqAboutDialog_h
5 #define pqAboutDialog_h
6 
7 #include "pqComponentsModule.h"
8 #include <QDialog>
9 
10 namespace Ui
11 {
12 class pqAboutDialog;
13 }
14 
15 class pqServer;
16 class QTreeWidget;
17 
22 class PQCOMPONENTS_EXPORT pqAboutDialog : public QDialog
23 {
24  Q_OBJECT
25 
26 public:
27  pqAboutDialog(QWidget* Parent);
28  ~pqAboutDialog() override;
29 
33  QString formatToText();
34 
35 public Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
36 
40  void saveToFile();
41 
45  void copyToClipboard();
46 
47 protected:
48  void AddClientInformation();
49  void AddServerInformation();
50  void AddServerInformation(pqServer* server, QTreeWidget* tree);
51  QString formatToText(QTreeWidget* tree);
52 
53 private:
54  Q_DISABLE_COPY(pqAboutDialog)
55  Ui::pqAboutDialog* const Ui;
56 };
57 
58 #endif // !pqAboutDialog_h
#define PQCOMPONENTS_EXPORT
pqAboutDialog is the about dialog used by ParaView.
Definition: pqAboutDialog.h:22
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...
Definition: pqServer.h:35