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

creates all standard ParaView behaviourspqParaViewBehaviors creates all the behaviors used by ParaView. More...

#include <pqParaViewBehaviors.h>

Inherits QObject.

Public Member Functions

 pqParaViewBehaviors (QMainWindow *window, QObject *parent=NULL)
 
 ~pqParaViewBehaviors () override
 

Static Public Member Functions

static void setEnableStandardPropertyWidgets (bool val)
 
static bool enableStandardPropertyWidgets ()
 
static void setEnableStandardViewFrameActions (bool val)
 
static bool enableStandardViewFrameActions ()
 
static void setEnableStandardRecentlyUsedResourceLoader (bool val)
 
static bool enableStandardRecentlyUsedResourceLoader ()
 
static void setEnableDataTimeStepBehavior (bool val)
 
static bool enableDataTimeStepBehavior ()
 
static void setEnableSpreadSheetVisibilityBehavior (bool val)
 
static bool enableSpreadSheetVisibilityBehavior ()
 
static void setEnablePipelineContextMenuBehavior (bool val)
 
static bool enablePipelineContextMenuBehavior ()
 
static void setEnableObjectPickingBehavior (bool val)
 
static bool enableObjectPickingBehavior ()
 
static void setEnableDefaultViewBehavior (bool val)
 
static bool enableDefaultViewBehavior ()
 
static void setEnableUndoRedoBehavior (bool val)
 
static bool enableUndoRedoBehavior ()
 
static void setEnableAlwaysConnectedBehavior (bool val)
 
static bool enableAlwaysConnectedBehavior ()
 
static void setEnableCrashRecoveryBehavior (bool val)
 
static bool enableCrashRecoveryBehavior ()
 
static void setEnableAutoLoadPluginXMLBehavior (bool val)
 
static bool enableAutoLoadPluginXMLBehavior ()
 
static void setEnablePluginDockWidgetsBehavior (bool val)
 
static bool enablePluginDockWidgetsBehavior ()
 
static void setEnableVerifyRequiredPluginBehavior (bool val)
 
static bool enableVerifyRequiredPluginBehavior ()
 
static void setEnablePluginActionGroupBehavior (bool val)
 
static bool enablePluginActionGroupBehavior ()
 
static void setEnablePluginToolBarBehavior (bool val)
 
static bool enablePluginToolBarBehavior ()
 
static void setEnableCommandLineOptionsBehavior (bool val)
 
static bool enableCommandLineOptionsBehavior ()
 
static void setEnablePersistentMainWindowStateBehavior (bool val)
 
static bool enablePersistentMainWindowStateBehavior ()
 
static void setEnableCollaborationBehavior (bool val)
 
static bool enableCollaborationBehavior ()
 
static void setEnableViewStreamingBehavior (bool val)
 
static bool enableViewStreamingBehavior ()
 
static void setEnablePluginSettingsBehavior (bool val)
 
static bool enablePluginSettingsBehavior ()
 
static void setEnableApplyBehavior (bool val)
 
static bool enableApplyBehavior ()
 
static void setEnableQuickLaunchShortcuts (bool val)
 
static bool enableQuickLaunchShortcuts ()
 
static void setEnableLockPanelsBehavior (bool val)
 
static bool enableLockPanelsBehavior ()
 
static void setEnablePythonShellResetBehavior (bool val)
 
static bool enablePythonShellResetBehavior ()
 
static void setEnableCustomShortcutBehavior (bool val)
 
static bool enableCustomShortcutBehavior ()
 
static void setEnableMainWindowEventBehavior (bool val)
 
static bool enableMainWindowEventBehavior ()
 
static void setEnableUsageLoggingBehavior (bool val)
 Controls whether pqUsageLoggingBehavior is created. More...
 
static bool enableUsageLoggingBehavior ()
 Controls whether pqUsageLoggingBehavior is created. More...
 
static void setEnableLiveSourceBehavior (bool val)
 Controls whether pqLiveSourceBehavior is created. More...
 
static bool enableLiveSourceBehavior ()
 Controls whether pqLiveSourceBehavior is created. More...
 
static void setEnableWheelNeedsFocusBehavior (bool val)
 By default, widgets like QComboBox, QSlider handle wheel event even when the widget doesn't have the focus. More...
 
static bool enableWheelNeedsFocusBehavior ()
 By default, widgets like QComboBox, QSlider handle wheel event even when the widget doesn't have the focus. More...
 

Detailed Description

creates all standard ParaView behaviours

pqParaViewBehaviors creates all the behaviors used by ParaView.

If your client is merely a branded version of ParaView, then you may want to simply use this behavior. You can also enable/disable behaviors created by pqParaViewBehaviors before instantiating the pqParaViewBehaviors instance by using static methods of the form pqParaViewBehaviors::setEnable<behavior name>(bool) e.g. pqParaViewBehaviors::setEnableStandardPropertyWidgets(false).

Since ParaView 5.1, ObjectPickingBehavior is disabled by default in ParaView.

Definition at line 78 of file pqParaViewBehaviors.h.

Constructor & Destructor Documentation

◆ pqParaViewBehaviors()

pqParaViewBehaviors::pqParaViewBehaviors ( QMainWindow *  window,
QObject *  parent = NULL 
)

◆ ~pqParaViewBehaviors()

pqParaViewBehaviors::~pqParaViewBehaviors ( )
override

Member Function Documentation

◆ setEnableStandardPropertyWidgets()

static void pqParaViewBehaviors::setEnableStandardPropertyWidgets ( bool  val)
inlinestatic

Definition at line 84 of file pqParaViewBehaviors.h.

◆ enableStandardPropertyWidgets()

static bool pqParaViewBehaviors::enableStandardPropertyWidgets ( )
inlinestatic

Definition at line 84 of file pqParaViewBehaviors.h.

◆ setEnableStandardViewFrameActions()

static void pqParaViewBehaviors::setEnableStandardViewFrameActions ( bool  val)
inlinestatic

Definition at line 85 of file pqParaViewBehaviors.h.

◆ enableStandardViewFrameActions()

static bool pqParaViewBehaviors::enableStandardViewFrameActions ( )
inlinestatic

Definition at line 85 of file pqParaViewBehaviors.h.

◆ setEnableStandardRecentlyUsedResourceLoader()

static void pqParaViewBehaviors::setEnableStandardRecentlyUsedResourceLoader ( bool  val)
inlinestatic

Definition at line 86 of file pqParaViewBehaviors.h.

◆ enableStandardRecentlyUsedResourceLoader()

static bool pqParaViewBehaviors::enableStandardRecentlyUsedResourceLoader ( )
inlinestatic

Definition at line 86 of file pqParaViewBehaviors.h.

◆ setEnableDataTimeStepBehavior()

static void pqParaViewBehaviors::setEnableDataTimeStepBehavior ( bool  val)
inlinestatic

Definition at line 87 of file pqParaViewBehaviors.h.

◆ enableDataTimeStepBehavior()

static bool pqParaViewBehaviors::enableDataTimeStepBehavior ( )
inlinestatic

Definition at line 87 of file pqParaViewBehaviors.h.

◆ setEnableSpreadSheetVisibilityBehavior()

static void pqParaViewBehaviors::setEnableSpreadSheetVisibilityBehavior ( bool  val)
inlinestatic

Definition at line 88 of file pqParaViewBehaviors.h.

◆ enableSpreadSheetVisibilityBehavior()

static bool pqParaViewBehaviors::enableSpreadSheetVisibilityBehavior ( )
inlinestatic

Definition at line 88 of file pqParaViewBehaviors.h.

◆ setEnablePipelineContextMenuBehavior()

static void pqParaViewBehaviors::setEnablePipelineContextMenuBehavior ( bool  val)
inlinestatic

Definition at line 89 of file pqParaViewBehaviors.h.

◆ enablePipelineContextMenuBehavior()

static bool pqParaViewBehaviors::enablePipelineContextMenuBehavior ( )
inlinestatic

Definition at line 89 of file pqParaViewBehaviors.h.

◆ setEnableObjectPickingBehavior()

static void pqParaViewBehaviors::setEnableObjectPickingBehavior ( bool  val)
inlinestatic

Definition at line 90 of file pqParaViewBehaviors.h.

◆ enableObjectPickingBehavior()

static bool pqParaViewBehaviors::enableObjectPickingBehavior ( )
inlinestatic

Definition at line 90 of file pqParaViewBehaviors.h.

◆ setEnableDefaultViewBehavior()

static void pqParaViewBehaviors::setEnableDefaultViewBehavior ( bool  val)
inlinestatic

Definition at line 91 of file pqParaViewBehaviors.h.

◆ enableDefaultViewBehavior()

static bool pqParaViewBehaviors::enableDefaultViewBehavior ( )
inlinestatic

Definition at line 91 of file pqParaViewBehaviors.h.

◆ setEnableUndoRedoBehavior()

static void pqParaViewBehaviors::setEnableUndoRedoBehavior ( bool  val)
inlinestatic

Definition at line 92 of file pqParaViewBehaviors.h.

◆ enableUndoRedoBehavior()

static bool pqParaViewBehaviors::enableUndoRedoBehavior ( )
inlinestatic

Definition at line 92 of file pqParaViewBehaviors.h.

◆ setEnableAlwaysConnectedBehavior()

static void pqParaViewBehaviors::setEnableAlwaysConnectedBehavior ( bool  val)
inlinestatic

Definition at line 93 of file pqParaViewBehaviors.h.

◆ enableAlwaysConnectedBehavior()

static bool pqParaViewBehaviors::enableAlwaysConnectedBehavior ( )
inlinestatic

Definition at line 93 of file pqParaViewBehaviors.h.

◆ setEnableCrashRecoveryBehavior()

static void pqParaViewBehaviors::setEnableCrashRecoveryBehavior ( bool  val)
inlinestatic

Definition at line 94 of file pqParaViewBehaviors.h.

◆ enableCrashRecoveryBehavior()

static bool pqParaViewBehaviors::enableCrashRecoveryBehavior ( )
inlinestatic

Definition at line 94 of file pqParaViewBehaviors.h.

◆ setEnableAutoLoadPluginXMLBehavior()

static void pqParaViewBehaviors::setEnableAutoLoadPluginXMLBehavior ( bool  val)
inlinestatic

Definition at line 95 of file pqParaViewBehaviors.h.

◆ enableAutoLoadPluginXMLBehavior()

static bool pqParaViewBehaviors::enableAutoLoadPluginXMLBehavior ( )
inlinestatic

Definition at line 95 of file pqParaViewBehaviors.h.

◆ setEnablePluginDockWidgetsBehavior()

static void pqParaViewBehaviors::setEnablePluginDockWidgetsBehavior ( bool  val)
inlinestatic

Definition at line 96 of file pqParaViewBehaviors.h.

◆ enablePluginDockWidgetsBehavior()

static bool pqParaViewBehaviors::enablePluginDockWidgetsBehavior ( )
inlinestatic

Definition at line 96 of file pqParaViewBehaviors.h.

◆ setEnableVerifyRequiredPluginBehavior()

static void pqParaViewBehaviors::setEnableVerifyRequiredPluginBehavior ( bool  val)
inlinestatic

Definition at line 97 of file pqParaViewBehaviors.h.

◆ enableVerifyRequiredPluginBehavior()

static bool pqParaViewBehaviors::enableVerifyRequiredPluginBehavior ( )
inlinestatic

Definition at line 97 of file pqParaViewBehaviors.h.

◆ setEnablePluginActionGroupBehavior()

static void pqParaViewBehaviors::setEnablePluginActionGroupBehavior ( bool  val)
inlinestatic

Definition at line 98 of file pqParaViewBehaviors.h.

◆ enablePluginActionGroupBehavior()

static bool pqParaViewBehaviors::enablePluginActionGroupBehavior ( )
inlinestatic

Definition at line 98 of file pqParaViewBehaviors.h.

◆ setEnablePluginToolBarBehavior()

static void pqParaViewBehaviors::setEnablePluginToolBarBehavior ( bool  val)
inlinestatic

Definition at line 99 of file pqParaViewBehaviors.h.

◆ enablePluginToolBarBehavior()

static bool pqParaViewBehaviors::enablePluginToolBarBehavior ( )
inlinestatic

Definition at line 99 of file pqParaViewBehaviors.h.

◆ setEnableCommandLineOptionsBehavior()

static void pqParaViewBehaviors::setEnableCommandLineOptionsBehavior ( bool  val)
inlinestatic

Definition at line 100 of file pqParaViewBehaviors.h.

◆ enableCommandLineOptionsBehavior()

static bool pqParaViewBehaviors::enableCommandLineOptionsBehavior ( )
inlinestatic

Definition at line 100 of file pqParaViewBehaviors.h.

◆ setEnablePersistentMainWindowStateBehavior()

static void pqParaViewBehaviors::setEnablePersistentMainWindowStateBehavior ( bool  val)
inlinestatic

Definition at line 101 of file pqParaViewBehaviors.h.

◆ enablePersistentMainWindowStateBehavior()

static bool pqParaViewBehaviors::enablePersistentMainWindowStateBehavior ( )
inlinestatic

Definition at line 101 of file pqParaViewBehaviors.h.

◆ setEnableCollaborationBehavior()

static void pqParaViewBehaviors::setEnableCollaborationBehavior ( bool  val)
inlinestatic

Definition at line 102 of file pqParaViewBehaviors.h.

◆ enableCollaborationBehavior()

static bool pqParaViewBehaviors::enableCollaborationBehavior ( )
inlinestatic

Definition at line 102 of file pqParaViewBehaviors.h.

◆ setEnableViewStreamingBehavior()

static void pqParaViewBehaviors::setEnableViewStreamingBehavior ( bool  val)
inlinestatic

Definition at line 103 of file pqParaViewBehaviors.h.

◆ enableViewStreamingBehavior()

static bool pqParaViewBehaviors::enableViewStreamingBehavior ( )
inlinestatic

Definition at line 103 of file pqParaViewBehaviors.h.

◆ setEnablePluginSettingsBehavior()

static void pqParaViewBehaviors::setEnablePluginSettingsBehavior ( bool  val)
inlinestatic

Definition at line 104 of file pqParaViewBehaviors.h.

◆ enablePluginSettingsBehavior()

static bool pqParaViewBehaviors::enablePluginSettingsBehavior ( )
inlinestatic

Definition at line 104 of file pqParaViewBehaviors.h.

◆ setEnableApplyBehavior()

static void pqParaViewBehaviors::setEnableApplyBehavior ( bool  val)
inlinestatic

Definition at line 105 of file pqParaViewBehaviors.h.

◆ enableApplyBehavior()

static bool pqParaViewBehaviors::enableApplyBehavior ( )
inlinestatic

Definition at line 105 of file pqParaViewBehaviors.h.

◆ setEnableQuickLaunchShortcuts()

static void pqParaViewBehaviors::setEnableQuickLaunchShortcuts ( bool  val)
inlinestatic

Definition at line 106 of file pqParaViewBehaviors.h.

◆ enableQuickLaunchShortcuts()

static bool pqParaViewBehaviors::enableQuickLaunchShortcuts ( )
inlinestatic

Definition at line 106 of file pqParaViewBehaviors.h.

◆ setEnableLockPanelsBehavior()

static void pqParaViewBehaviors::setEnableLockPanelsBehavior ( bool  val)
inlinestatic

Definition at line 107 of file pqParaViewBehaviors.h.

◆ enableLockPanelsBehavior()

static bool pqParaViewBehaviors::enableLockPanelsBehavior ( )
inlinestatic

Definition at line 107 of file pqParaViewBehaviors.h.

◆ setEnablePythonShellResetBehavior()

static void pqParaViewBehaviors::setEnablePythonShellResetBehavior ( bool  val)
inlinestatic

Definition at line 108 of file pqParaViewBehaviors.h.

◆ enablePythonShellResetBehavior()

static bool pqParaViewBehaviors::enablePythonShellResetBehavior ( )
inlinestatic

Definition at line 108 of file pqParaViewBehaviors.h.

◆ setEnableCustomShortcutBehavior()

static void pqParaViewBehaviors::setEnableCustomShortcutBehavior ( bool  val)
inlinestatic

Definition at line 109 of file pqParaViewBehaviors.h.

◆ enableCustomShortcutBehavior()

static bool pqParaViewBehaviors::enableCustomShortcutBehavior ( )
inlinestatic

Definition at line 109 of file pqParaViewBehaviors.h.

◆ setEnableMainWindowEventBehavior()

static void pqParaViewBehaviors::setEnableMainWindowEventBehavior ( bool  val)
inlinestatic

Definition at line 110 of file pqParaViewBehaviors.h.

◆ enableMainWindowEventBehavior()

static bool pqParaViewBehaviors::enableMainWindowEventBehavior ( )
inlinestatic

Definition at line 110 of file pqParaViewBehaviors.h.

◆ setEnableUsageLoggingBehavior()

static void pqParaViewBehaviors::setEnableUsageLoggingBehavior ( bool  val)
inlinestatic

Controls whether pqUsageLoggingBehavior is created.

Disabled by default (except in the ParaView application itself).

See also
pqUsageLoggingBehavior.

Definition at line 118 of file pqParaViewBehaviors.h.

◆ enableUsageLoggingBehavior()

static bool pqParaViewBehaviors::enableUsageLoggingBehavior ( )
inlinestatic

Controls whether pqUsageLoggingBehavior is created.

Disabled by default (except in the ParaView application itself).

See also
pqUsageLoggingBehavior.

Definition at line 118 of file pqParaViewBehaviors.h.

◆ setEnableLiveSourceBehavior()

static void pqParaViewBehaviors::setEnableLiveSourceBehavior ( bool  val)
inlinestatic

Controls whether pqLiveSourceBehavior is created.

See also
pqLiveSourceBehavior

Definition at line 126 of file pqParaViewBehaviors.h.

◆ enableLiveSourceBehavior()

static bool pqParaViewBehaviors::enableLiveSourceBehavior ( )
inlinestatic

Controls whether pqLiveSourceBehavior is created.

See also
pqLiveSourceBehavior

Definition at line 126 of file pqParaViewBehaviors.h.

◆ setEnableWheelNeedsFocusBehavior()

static void pqParaViewBehaviors::setEnableWheelNeedsFocusBehavior ( bool  val)
inlinestatic

By default, widgets like QComboBox, QSlider handle wheel event even when the widget doesn't have the focus.

While that's handy, in many use-cases, in several where these are embedded in scrollable panels, they can interrupt the scrolling of the panel. Hence, this behavior has been added since ParaView 5.5 default. When enabled, this is enabled for QComboBox, QSlider, QAbstractSpinBox and subclasses.

Definition at line 138 of file pqParaViewBehaviors.h.

◆ enableWheelNeedsFocusBehavior()

static bool pqParaViewBehaviors::enableWheelNeedsFocusBehavior ( )
inlinestatic

By default, widgets like QComboBox, QSlider handle wheel event even when the widget doesn't have the focus.

While that's handy, in many use-cases, in several where these are embedded in scrollable panels, they can interrupt the scrolling of the panel. Hence, this behavior has been added since ParaView 5.5 default. When enabled, this is enabled for QComboBox, QSlider, QAbstractSpinBox and subclasses.

Definition at line 138 of file pqParaViewBehaviors.h.


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