ParaView
Public Slots | Signals | Public Member Functions | Protected Slots | Properties | List of all members
pqBackgroundEditorWidget Class Reference

#include <pqBackgroundEditorWidget.h>

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

Public Slots

void setView (pqView *newView)
 
- Public Slots inherited from pqPropertyWidget
virtual void setView (pqView *)
 called to set the active view. This will fire the viewChanged() signal. More...
 

Signals

void gradientBackgroundChanged ()
 
void imageBackgroundChanged ()
 
- Signals inherited from pqPropertyWidget
void viewChanged (pqView *view)
 This signal is emitted when the current view changes. More...
 
void changeAvailable ()
 This signal is fired as soon as the user starts editing in the widget. More...
 
void changeFinished ()
 This signal is fired as soon as the user is done with making an atomic change. More...
 
void restartRequired ()
 Indicates that a restart of the program is required for the setting to take effect. More...
 

Public Member Functions

 pqBackgroundEditorWidget (vtkSMProxy *smproxy, vtkSMPropertyGroup *smgroup, QWidget *parentObject=0)
 
 ~pqBackgroundEditorWidget ()
 
bool gradientBackground () const
 
void setGradientBackground (bool gradientBackground)
 
bool imageBackground () const
 
void setImageBackground (bool imageBackground)
 
- Public Member Functions inherited from pqPropertyGroupWidget
 pqPropertyGroupWidget (vtkSMProxy *proxy, vtkSMPropertyGroup *smGroup, QWidget *parent=0)
 
vtkSMPropertyGroup * propertyGroup () const
 
void addPropertyLink (QComboBox *cb, const char *propertyName, int smindex=-1)
 
void addPropertyLink (QLineEdit *edit, const char *propertyName, int smindex=-1)
 
void addPropertyLink (QCheckBox *button, const char *propertyName, int smindex=-1)
 
void addPropertyLink (QToolButton *button, const char *propertyName, int smindex=-1)
 
void addPropertyLink (QGroupBox *groupBox, const char *propertyName, int smindex=-1)
 
void addPropertyLink (QDoubleSpinBox *spinBox, const char *propertyName, int smindex=-1)
 
void addPropertyLink (QSpinBox *spinBox, const char *propertyName, int smindex=-1)
 
void addPropertyLink (pqColorChooserButton *color, const char *propertyName, int smindex=-1)
 
virtual char * panelVisibility () const
 Overwrite pqPropertyWidget to forward calls to vtkSMPropertyGroup. More...
 
virtual void setPanelVisibility (const char *vis)
 
- Public Member Functions inherited from pqPropertyWidget
 pqPropertyWidget (vtkSMProxy *proxy, QWidget *parent=0)
 
virtual ~pqPropertyWidget ()
 
virtual void apply ()
 
virtual void reset ()
 
virtual void select ()
 These methods are called by pqPropertiesPanel when the panel for proxy becomes active/deactive. More...
 
virtual void deselect ()
 
bool isSelected () const
 
virtual void updateWidget (bool showing_advanced_properties)
 
pqViewview () const
 
vtkSMProxy * proxy () const
 
vtkSMProperty * property () const
 
bool showLabel () const
 
const QList< QPointer< pqPropertyWidgetDecorator > > & decorators () const
 Provides access to the decorators for this widget. More...
 
void setProperty (vtkSMProperty *property)
 

Protected Slots

void currentIndexChangedBackgroundType (int type)
 
void clickedRestoreDefaultColor ()
 
void clickedRestoreDefaultColor2 ()
 

Properties

bool gradientBackground
 
bool imageBackground
 

Additional Inherited Members

- Static Public Member Functions inherited from pqPropertyWidget
template<class T >
static QString getXMLName (T *object)
 Description: This static utility method returns the XML name for an object as a QString. More...
 
static QString getTooltip (vtkSMProperty *property)
 Returns the tooltip to use for the property. May return an empty string. More...
 
- Protected Member Functions inherited from pqPropertyWidget
void addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1)
 
void addPropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1)
 
void removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProperty *smproperty, int smindex=-1)
 
void removePropertyLink (QObject *qobject, const char *qproperty, const char *qsignal, vtkSMProxy *smproxy, vtkSMProperty *smproperty, int smindex=-1)
 
void setShowLabel (bool show)
 
void setChangeAvailableAsChangeFinished (bool status)
 For most pqPropertyWidget subclasses a changeAvailable() signal, corresponds to a changeFinished() signal. More...
 
void addDecorator (pqPropertyWidgetDecorator *)
 Register a decorator. More...
 
pqPropertyLinkslinks ()
 Provides access to the pqPropertyLinks instance. More...
 

Detailed Description

Definition at line 43 of file pqBackgroundEditorWidget.h.

Constructor & Destructor Documentation

§ pqBackgroundEditorWidget()

pqBackgroundEditorWidget::pqBackgroundEditorWidget ( vtkSMProxy *  smproxy,
vtkSMPropertyGroup *  smgroup,
QWidget *  parentObject = 0 
)

§ ~pqBackgroundEditorWidget()

pqBackgroundEditorWidget::~pqBackgroundEditorWidget ( )

Member Function Documentation

§ gradientBackground()

bool pqBackgroundEditorWidget::gradientBackground ( ) const

§ setGradientBackground()

void pqBackgroundEditorWidget::setGradientBackground ( bool  gradientBackground)

§ imageBackground()

bool pqBackgroundEditorWidget::imageBackground ( ) const

§ setImageBackground()

void pqBackgroundEditorWidget::setImageBackground ( bool  imageBackground)

§ gradientBackgroundChanged

void pqBackgroundEditorWidget::gradientBackgroundChanged ( )
signal

§ imageBackgroundChanged

void pqBackgroundEditorWidget::imageBackgroundChanged ( )
signal

§ setView

void pqBackgroundEditorWidget::setView ( pqView newView)
slot

§ currentIndexChangedBackgroundType

void pqBackgroundEditorWidget::currentIndexChangedBackgroundType ( int  type)
protectedslot

§ clickedRestoreDefaultColor

void pqBackgroundEditorWidget::clickedRestoreDefaultColor ( )
protectedslot

§ clickedRestoreDefaultColor2

void pqBackgroundEditorWidget::clickedRestoreDefaultColor2 ( )
protectedslot

Property Documentation

§ gradientBackground

bool pqBackgroundEditorWidget::gradientBackground
readwrite

Definition at line 80 of file pqBackgroundEditorWidget.h.

§ imageBackground

bool pqBackgroundEditorWidget::imageBackground
readwrite

Definition at line 82 of file pqBackgroundEditorWidget.h.


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