Static Public Member Functions | List of all members
pqParaViewMenuBuilders Class Reference

pqParaViewMenuBuilders provides helper methods to build menus that are exactly as used by ParaView client. More...

#include <pqParaViewMenuBuilders.h>

Static Public Member Functions

static void buildFileMenu (QMenu &menu)
 Builds standard File menu. More...
 
static void buildEditMenu (QMenu &menu, pqPropertiesPanel *propertiesPanel=nullptr)
 Builds the standard Edit menu. More...
 
static void buildSourcesMenu (QMenu &menu, QMainWindow *mainWindow=0)
 Builds "Sources" menu. More...
 
static void buildFiltersMenu (QMenu &menu, QMainWindow *mainWindow=0, bool hideDisabled=false, bool quickLaunchable=true)
 Builds "Filters" menu. More...
 
static void buildToolsMenu (QMenu &menu)
 Builds the "Tools" menu. More...
 
static void buildCatalystMenu (QMenu &menu, QWidget *confpanel)
 Builds the "Catalyst" menu. More...
 
static void buildViewMenu (QMenu &menu, QMainWindow &window)
 Builds the "View" menu. More...
 
static void buildMacrosMenu (QMenu &menu)
 Builds the "Macros" menu. More...
 
static void buildHelpMenu (QMenu &menu)
 Builds the help menu. More...
 
static void buildPipelineBrowserContextMenu (QMenu &menu, QMainWindow *window=nullptr)
 Builds the context menu shown over the pipeline browser for some common pipeline operations. More...
 
static void buildToolbars (QMainWindow &mainWindow)
 Builds and adds all standard ParaView toolbars. More...
 

Detailed Description

pqParaViewMenuBuilders provides helper methods to build menus that are exactly as used by ParaView client.

Simply call the appropriate method with the menu as an argument, and it will be populated with actions and reactions for standard ParaView behavior.

Definition at line 49 of file pqParaViewMenuBuilders.h.

Member Function Documentation

◆ buildFileMenu()

static void pqParaViewMenuBuilders::buildFileMenu ( QMenu &  menu)
static

Builds standard File menu.

◆ buildEditMenu()

static void pqParaViewMenuBuilders::buildEditMenu ( QMenu &  menu,
pqPropertiesPanel propertiesPanel = nullptr 
)
static

Builds the standard Edit menu.

◆ buildSourcesMenu()

static void pqParaViewMenuBuilders::buildSourcesMenu ( QMenu &  menu,
QMainWindow *  mainWindow = 0 
)
static

Builds "Sources" menu.

If you want to automatically add toolbars for sources as requested in the configuration pass in a non-null main window.

◆ buildFiltersMenu()

static void pqParaViewMenuBuilders::buildFiltersMenu ( QMenu &  menu,
QMainWindow *  mainWindow = 0,
bool  hideDisabled = false,
bool  quickLaunchable = true 
)
static

Builds "Filters" menu.

If you want to automatically add toolbars for filters as requested in the configuration pass in a non-null main window. If you do not want to add the actions from the filters menu to quick launch maintained by pqApplicationCore (see pqPVApplicationCore::registerForQuicklaunch), then pass quickLaunchable == false.

◆ buildToolsMenu()

static void pqParaViewMenuBuilders::buildToolsMenu ( QMenu &  menu)
static

Builds the "Tools" menu.

◆ buildCatalystMenu()

static void pqParaViewMenuBuilders::buildCatalystMenu ( QMenu &  menu,
QWidget *  confpanel 
)
static

Builds the "Catalyst" menu.

◆ buildViewMenu()

static void pqParaViewMenuBuilders::buildViewMenu ( QMenu &  menu,
QMainWindow &  window 
)
static

Builds the "View" menu.

◆ buildMacrosMenu()

static void pqParaViewMenuBuilders::buildMacrosMenu ( QMenu &  menu)
static

Builds the "Macros" menu.

This menu is automatically hidden is python support is not enabled.

◆ buildHelpMenu()

static void pqParaViewMenuBuilders::buildHelpMenu ( QMenu &  menu)
static

Builds the help menu.

◆ buildPipelineBrowserContextMenu()

static void pqParaViewMenuBuilders::buildPipelineBrowserContextMenu ( QMenu &  menu,
QMainWindow *  window = nullptr 
)
static

Builds the context menu shown over the pipeline browser for some common pipeline operations.

◆ buildToolbars()

static void pqParaViewMenuBuilders::buildToolbars ( QMainWindow &  mainWindow)
static

Builds and adds all standard ParaView toolbars.


The documentation for this class was generated from the following file: