ParaViewMainWindow.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 ParaViewMainWindow_h
5 #define ParaViewMainWindow_h
6 
7 #include <QMainWindow>
8 
10 class ParaViewMainWindow : public QMainWindow
11 {
12  Q_OBJECT
13  typedef QMainWindow Superclass;
14 
15 public:
17  ~ParaViewMainWindow() override;
18 
19 protected:
20  void dragEnterEvent(QDragEnterEvent* evt) override;
21  void dropEvent(QDropEvent* evt) override;
22  void showEvent(QShowEvent* evt) override;
23  void closeEvent(QCloseEvent* evt) override;
24 
25 protected Q_SLOTS: // NOLINT(readability-redundant-access-specifiers)
26  void showHelpForProxy(const QString& groupname, const QString& proxyname);
27  void showWelcomeDialog();
28  void handleMessage(const QString&, int);
29  void updateFontSize();
30 
31 private:
32  Q_DISABLE_COPY(ParaViewMainWindow)
33 
34  class pqInternals;
35  pqInternals* Internals;
36 };
37 
38 #endif
~ParaViewMainWindow() override
void closeEvent(QCloseEvent *evt) override
void handleMessage(const QString &, int)
void showHelpForProxy(const QString &groupname, const QString &proxyname)
void showEvent(QShowEvent *evt) override
void dragEnterEvent(QDragEnterEvent *evt) override
MainWindow for the default ParaView application.
void dropEvent(QDropEvent *evt) override