ParaView
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions
pqViewSettingsReaction Class Reference

pqViewSettingsReaction is a reaction to popup active view settings dialog. More...

#include <pqViewSettingsReaction.h>

Inheritance diagram for pqViewSettingsReaction:
Inheritance graph
[legend]
Collaboration diagram for pqViewSettingsReaction:
Collaboration graph
[legend]

List of all members.

Public Slots

void updateEnableState ()
 Updates the enabled state.

Public Member Functions

 pqViewSettingsReaction (QAction *parent, pqView *view=0)
 if view is non-null, then it is used to determine the enabled state of the action.
 ~pqViewSettingsReaction ()

Static Public Member Functions

static void showViewSettingsDialog ()
 Show the view settings dialog.

Protected Member Functions

virtual void onTriggered ()
 Called when the action is triggered.

Detailed Description

pqViewSettingsReaction is a reaction to popup active view settings dialog.

It uses pqViewSettingsManager to determine what dialog to show etc.

Definition at line 44 of file pqViewSettingsReaction.h.


Constructor & Destructor Documentation

pqViewSettingsReaction::pqViewSettingsReaction ( QAction *  parent,
pqView view = 0 
)

if view is non-null, then it is used to determine the enabled state of the action.

Ideally, I'd like the options dialog to be shown for the view as well. But pqActiveViewOptionsManager relies on active view. Once that's fixed, it will be easier to change this reaction.

pqViewSettingsReaction::~pqViewSettingsReaction ( )

Member Function Documentation

static void pqViewSettingsReaction::showViewSettingsDialog ( ) [static]

Show the view settings dialog.

void pqViewSettingsReaction::updateEnableState ( ) [virtual, slot]

Updates the enabled state.

Applications need not explicitly call this.

Reimplemented from pqReaction.

virtual void pqViewSettingsReaction::onTriggered ( ) [inline, protected, virtual]

Called when the action is triggered.

Reimplemented from pqReaction.

Definition at line 66 of file pqViewSettingsReaction.h.


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