pqParaViewMenuBuilders.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 pqParaViewMenuBuilders_h
5 #define pqParaViewMenuBuilders_h
6 
8 
9 class QMenu;
10 class QWidget;
11 class QMainWindow;
12 
13 class pqPropertiesPanel;
14 
22 {
23 public:
27  static void buildFileMenu(QMenu& menu);
28 
32  static void buildEditMenu(QMenu& menu, pqPropertiesPanel* propertiesPanel = nullptr);
33 
39  static void buildSourcesMenu(QMenu& menu, QMainWindow* mainWindow = nullptr);
40 
49  static void buildFiltersMenu(QMenu& menu, QMainWindow* mainWindow = nullptr,
50  bool hideDisabled = false, bool quickLaunchable = true);
51 
55  static void buildExtractorsMenu(QMenu& menu, QMainWindow* mainWindow = nullptr,
56  bool hideDisabled = false, bool quickLaunchable = true);
57 
61  static void buildToolsMenu(QMenu& menu);
62 
66  static void buildCatalystMenu(QMenu& menu);
67 
71  static void buildViewMenu(QMenu& menu, QMainWindow& window);
72 
77  static void buildMacrosMenu(QMenu& menu);
78 
82  static void buildHelpMenu(QMenu& menu);
83 
88  static void buildPipelineBrowserContextMenu(QMenu& menu, QMainWindow* window = nullptr);
89 
93  static void buildToolbars(QMainWindow& mainWindow);
94 };
95 
96 #endif
#define PQAPPLICATIONCOMPONENTS_EXPORT
pqPropertiesPanel is the default panel used by paraview to edit source properties and display propert...
pqParaViewMenuBuilders provides helper methods to build menus that are exactly as used by ParaView cl...