Public Member Functions | Protected Slots | List of all members
pqGlyphScaleFactorPropertyWidget Class Reference

pqGlyphScaleFactorPropertyWidget is used for the "Scale Factor" property on the Glyph filter. More...

#include <pqGlyphScaleFactorPropertyWidget.h>

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

Public Member Functions

 pqGlyphScaleFactorPropertyWidget (vtkSMProxy *proxy, vtkSMProperty *property, QWidget *parent=0)
 
 ~pqGlyphScaleFactorPropertyWidget () override
 
- Public Member Functions inherited from pqDoubleVectorPropertyWidget
 pqDoubleVectorPropertyWidget (vtkSMProperty *property, vtkSMProxy *proxy, QWidget *parent=0)
 
 ~pqDoubleVectorPropertyWidget () override
 
void apply () override
 
void reset () override
 
- Public Member Functions inherited from pqPropertyWidget
 pqPropertyWidget (vtkSMProxy *proxy, QWidget *parent=0)
 
 ~pqPropertyWidget () override
 
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
 
vtkSMProxyproxy () const
 
vtkSMPropertyproperty () const
 
virtual char * panelVisibility () const
 Forward calls to vtkSMProperty. More...
 
virtual void setPanelVisibility (const char *vis)
 
virtual bool isSingleRowItem () const
 Determines if the PropertyWidget must be constructed using a single row. More...
 
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 resetButtonClicked () override
 update the property's value using the domain. More...
 
- Protected Slots inherited from pqDoubleVectorPropertyWidget
virtual void resetButtonClicked ()
 called when the user clicks the "reset" button for a specific property. More...
 
void scaleHalf ()
 
void scaleTwice ()
 
void scale (double)
 
void resetToActiveDataBounds ()
 sets the value using active source's data bounds. More...
 
void resetToBounds (const double bds[6])
 sets the value to the specified bounds. More...
 

Additional Inherited Members

- Public Slots inherited from pqPropertyWidget
virtual void setView (pqView *)
 called to set the active view. More...
 
- Signals inherited from pqDoubleVectorPropertyWidget
void clearHighlight ()
 internal signal used to clear highlights from pqHighlightablePushButton. More...
 
void highlightResetButton ()
 
- 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...
 
- 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. More...
 
static int hintsWidgetHeightNumberOfRows (vtkPVXMLElement *hints, int defaultValue=10)
 Helper method to return value from WidgetHeight XML hint, if any. 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...
 
void removeDecorator (pqPropertyWidgetDecorator *)
 Unregisters a decorator. More...
 
pqPropertyLinkslinks ()
 Provides access to the pqPropertyLinks instance. More...
 

Detailed Description

pqGlyphScaleFactorPropertyWidget is used for the "Scale Factor" property on the Glyph filter.

It customizes the resetButtonClicked() logic since the Glyph filter's scale factor setup is custom.

Definition at line 43 of file pqGlyphScaleFactorPropertyWidget.h.

Constructor & Destructor Documentation

◆ pqGlyphScaleFactorPropertyWidget()

pqGlyphScaleFactorPropertyWidget::pqGlyphScaleFactorPropertyWidget ( vtkSMProxy proxy,
vtkSMProperty property,
QWidget *  parent = 0 
)

◆ ~pqGlyphScaleFactorPropertyWidget()

pqGlyphScaleFactorPropertyWidget::~pqGlyphScaleFactorPropertyWidget ( )
override

Member Function Documentation

◆ resetButtonClicked

void pqGlyphScaleFactorPropertyWidget::resetButtonClicked ( )
overrideprotectedslot

update the property's value using the domain.


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