A QWidget that tracks the state multi block property/ies, and allows to reset them. More...
#include <pqMultiBlockPropertiesStateWidget.h>
Inherits QWidget.
Public Types | |
typedef QWidget | Superclass |
using | BlockPropertyState = vtkSMColorMapEditorHelper::BlockPropertyState |
Signals | |
void | stateChanged (BlockPropertyState newState) |
void | selectedBlockSelectorsChanged () |
void | startStateReset () |
void | endStateReset () |
Public Member Functions | |
pqMultiBlockPropertiesStateWidget (vtkSMProxy *repr, const QList< QString > &properties, int iconSize, QString selector=QString(), QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
~pqMultiBlockPropertiesStateWidget () override | |
BlockPropertyState | getState () const |
Get the state of the properties. More... | |
QPixmap | getStatePixmap (BlockPropertyState state) const |
QString | getStateToolTip (BlockPropertyState state) const |
Get the tooltip of the current state. More... | |
pqHighlightableToolButton * | getResetButton () const |
Get the reset button. More... | |
std::vector< std::string > | getProperties () const |
Get the properties being tracked. More... | |
std::vector< std::string > | getSelectors () const |
Get the selectors being tracked. More... | |
A QWidget that tracks the state multi block property/ies, and allows to reset them.
This widget is used to track the state of multiple properties of a multi block proxy. It allows to reset the state of the properties. If a selector is provided, the widget will only track the properties of the selected block, else it will track the properties of the current selectors provided by SelectedBlockSelectors property of the proxy.
Definition at line 31 of file pqMultiBlockPropertiesStateWidget.h.
typedef QWidget pqMultiBlockPropertiesStateWidget::Superclass |
Definition at line 35 of file pqMultiBlockPropertiesStateWidget.h.
using pqMultiBlockPropertiesStateWidget::BlockPropertyState = vtkSMColorMapEditorHelper::BlockPropertyState |
Definition at line 42 of file pqMultiBlockPropertiesStateWidget.h.
pqMultiBlockPropertiesStateWidget::pqMultiBlockPropertiesStateWidget | ( | vtkSMProxy * | repr, |
const QList< QString > & | properties, | ||
int | iconSize, | ||
QString | selector = QString() , |
||
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
|
override |
BlockPropertyState pqMultiBlockPropertiesStateWidget::getState | ( | ) | const |
Get the state of the properties.
QPixmap pqMultiBlockPropertiesStateWidget::getStatePixmap | ( | BlockPropertyState | state | ) | const |
QString pqMultiBlockPropertiesStateWidget::getStateToolTip | ( | BlockPropertyState | state | ) | const |
Get the tooltip of the current state.
pqHighlightableToolButton* pqMultiBlockPropertiesStateWidget::getResetButton | ( | ) | const |
Get the reset button.
std::vector<std::string> pqMultiBlockPropertiesStateWidget::getProperties | ( | ) | const |
Get the properties being tracked.
std::vector<std::string> pqMultiBlockPropertiesStateWidget::getSelectors | ( | ) | const |
Get the selectors being tracked.
|
signal |
|
signal |
|
signal |
|
signal |