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

pqStandardColorLinkAdaptor is an adaptor used to connect the pqStandardColorButton with the property ensuring links with global properties are made and broken as and when needed. More...

#include <pqStandardColorLinkAdaptor.h>

List of all members.

Public Member Functions

 pqStandardColorLinkAdaptor (pqStandardColorButton *, vtkSMProxy *proxy, const char *propname)
 ~pqStandardColorLinkAdaptor ()

Static Public Member Functions

static void breakLink (vtkSMProxy *proxy, const char *pname)
 Break a global-property link.

Protected Slots

void onStandardColorChanged (const QString &)
 called when pqStandardColorButton fires standardColorChanged() signal.
void onGlobalPropertiesChanged ()
 called when vtkSMGlobalPropertiesManager fires the modified event indicating that some links have been made or broken.

Detailed Description

pqStandardColorLinkAdaptor is an adaptor used to connect the pqStandardColorButton with the property ensuring links with global properties are made and broken as and when needed.

Definition at line 45 of file pqStandardColorLinkAdaptor.h.


Constructor & Destructor Documentation

pqStandardColorLinkAdaptor::pqStandardColorLinkAdaptor ( pqStandardColorButton ,
vtkSMProxy proxy,
const char *  propname 
)
pqStandardColorLinkAdaptor::~pqStandardColorLinkAdaptor ( )

Member Function Documentation

static void pqStandardColorLinkAdaptor::breakLink ( vtkSMProxy proxy,
const char *  pname 
) [static]

Break a global-property link.

void pqStandardColorLinkAdaptor::onStandardColorChanged ( const QString &  ) [protected, slot]

called when pqStandardColorButton fires standardColorChanged() signal.

We update the property link between the standard color and the colorProperty.

void pqStandardColorLinkAdaptor::onGlobalPropertiesChanged ( ) [protected, slot]

called when vtkSMGlobalPropertiesManager fires the modified event indicating that some links have been made or broken.


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