Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes | Properties | List of all members
pqSelectionInputWidget Class Reference

pqSelectionInputWidget is a custom widget used for specifying the selection to use on filters that have a selection as input. More...

#include <pqSelectionInputWidget.h>

Inherits QWidget.

Collaboration diagram for pqSelectionInputWidget:
Collaboration graph
[legend]

Public Slots

virtual void setSelection (pqSMProxy newAppendSelections)
 
virtual void preAccept ()
 This must be connected to the panel-accept signal to ensure that the new selection source object gets registered for undo-redo/state to work. More...
 
virtual void postAccept ()
 

Signals

void selectionChanged (pqSMProxy)
 Signal that the selection proxy changed. More...
 

Public Member Functions

 pqSelectionInputWidget (QWidget *parent=nullptr)
 
 ~pqSelectionInputWidget () override
 
virtual pqSMProxy selection ()
 

Protected Slots

void copyActiveSelection ()
 
void onActiveSelectionChanged ()
 
void updateLabels ()
 

Protected Attributes

pqSMProxy AppendSelections
 

Properties

pqSMProxy selection
 

Detailed Description

pqSelectionInputWidget is a custom widget used for specifying the selection to use on filters that have a selection as input.

Definition at line 16 of file pqSelectionInputWidget.h.

Constructor & Destructor Documentation

◆ pqSelectionInputWidget()

pqSelectionInputWidget::pqSelectionInputWidget ( QWidget *  parent = nullptr)

◆ ~pqSelectionInputWidget()

pqSelectionInputWidget::~pqSelectionInputWidget ( )
override

Member Function Documentation

◆ selection()

virtual pqSMProxy pqSelectionInputWidget::selection ( )
inlinevirtual

Definition at line 26 of file pqSelectionInputWidget.h.

◆ setSelection

virtual void pqSelectionInputWidget::setSelection ( pqSMProxy  newAppendSelections)
virtualslot

◆ preAccept

virtual void pqSelectionInputWidget::preAccept ( )
virtualslot

This must be connected to the panel-accept signal to ensure that the new selection source object gets registered for undo-redo/state to work.

This method also gets rid of any obsolete selection_sources.

◆ postAccept

virtual void pqSelectionInputWidget::postAccept ( )
virtualslot

◆ selectionChanged

void pqSelectionInputWidget::selectionChanged ( pqSMProxy  )
signal

Signal that the selection proxy changed.

◆ copyActiveSelection

void pqSelectionInputWidget::copyActiveSelection ( )
protectedslot

◆ onActiveSelectionChanged

void pqSelectionInputWidget::onActiveSelectionChanged ( )
protectedslot

◆ updateLabels

void pqSelectionInputWidget::updateLabels ( )
protectedslot

Member Data Documentation

◆ AppendSelections

pqSMProxy pqSelectionInputWidget::AppendSelections
protected

Definition at line 54 of file pqSelectionInputWidget.h.

Property Documentation

◆ selection

pqSMProxy pqSelectionInputWidget::selection
readwrite

Definition at line 19 of file pqSelectionInputWidget.h.


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