pqPropertiesPanel is the default panel used by paraview to edit source properties and display properties for pipeline objects.
More...
#include <pqPropertiesPanel.h>
Inherits QWidget.
pqPropertiesPanel is the default panel used by paraview to edit source properties and display properties for pipeline objects.
pqPropertiesPanel supports auto-generating widgets for properties of the proxy as well as a mechanism to provide custom widgets/panels for the proxy or its representations. pqPropertiesPanel uses pqProxyWidget to create and manage the widgets for the source and representation proxies.
pqPropertiesPanel comprises of 3 separate parts for showing the source properties, display properties and view properties. One can control which parts are shown by setting the panelMode property.
Definition at line 32 of file pqPropertiesPanel.h.
◆ anonymous enum
Enumerator |
---|
SOURCE_PROPERTIES | |
DISPLAY_PROPERTIES | |
VIEW_PROPERTIES | |
ALL_PROPERTIES | |
Definition at line 56 of file pqPropertiesPanel.h.
◆ pqPropertiesPanel()
pqPropertiesPanel::pqPropertiesPanel |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqPropertiesPanel()
pqPropertiesPanel::~pqPropertiesPanel |
( |
| ) |
|
|
override |
◆ view()
pqView* pqPropertiesPanel::view |
( |
| ) |
const |
Returns the current view, if any.
◆ suggestedMargin()
static int pqPropertiesPanel::suggestedMargin |
( |
| ) |
|
|
inlinestatic |
methods used to obtain the recommended spacing and margins to be used for widgets.
Definition at line 51 of file pqPropertiesPanel.h.
◆ suggestedMargins()
static QMargins pqPropertiesPanel::suggestedMargins |
( |
| ) |
|
|
inlinestatic |
◆ suggestedHorizontalSpacing()
static int pqPropertiesPanel::suggestedHorizontalSpacing |
( |
| ) |
|
|
inlinestatic |
◆ suggestedVerticalSpacing()
static int pqPropertiesPanel::suggestedVerticalSpacing |
( |
| ) |
|
|
inlinestatic |
◆ setPanelMode()
void pqPropertiesPanel::setPanelMode |
( |
int |
val | ) |
|
◆ panelMode()
int pqPropertiesPanel::panelMode |
( |
| ) |
const |
|
inline |
◆ canApply()
bool pqPropertiesPanel::canApply |
( |
| ) |
|
Returns true if there are changes to be applied.
◆ canReset()
bool pqPropertiesPanel::canReset |
( |
| ) |
|
Returns true if there are changes to be reset.
◆ apply
void pqPropertiesPanel::apply |
( |
| ) |
|
|
slot |
Apply the changes properties to the proxies.
This is triggered when the user clicks the "Apply" button on the properties panel.
◆ reset
void pqPropertiesPanel::reset |
( |
| ) |
|
|
slot |
Reset the changes made.
This is triggered when the user clicks the "Reset" button on the properties panel.
◆ showHelp
void pqPropertiesPanel::showHelp |
( |
| ) |
|
|
slot |
Shows the help dialog.
This is triggered when the user clicks the "?" button on the properties panel.
◆ propertiesRestoreDefaults
void pqPropertiesPanel::propertiesRestoreDefaults |
( |
| ) |
|
|
slot |
Restores the application defaults for the source properties.
This is triggered when the user clicks the button with the reload button next to the properties button.
◆ propertiesSaveAsDefaults
void pqPropertiesPanel::propertiesSaveAsDefaults |
( |
| ) |
|
|
slot |
Saves the current property settings as default.
This is triggered when the user clicks the button with the save icon next to the properties button.
◆ displayRestoreDefaults
void pqPropertiesPanel::displayRestoreDefaults |
( |
| ) |
|
|
slot |
Restores the application defaults for the display properties.
This is triggered when the user clicks the button with the reload button next to the display button.
◆ displaySaveAsDefaults
void pqPropertiesPanel::displaySaveAsDefaults |
( |
| ) |
|
|
slot |
Saves the current display settings as default.
This is triggered when the user clicks the button with the save icon next to the display button.
◆ viewRestoreDefaults
void pqPropertiesPanel::viewRestoreDefaults |
( |
| ) |
|
|
slot |
Restores the application defaults for the view properties.
This is triggered when the user clicks the button with the reload button next to the view button.
◆ viewSaveAsDefaults
void pqPropertiesPanel::viewSaveAsDefaults |
( |
| ) |
|
|
slot |
Saves the current view settings as default.
This is triggered when the user clicks the button with the save icon next to the view button.
◆ setView
void pqPropertiesPanel::setView |
( |
pqView * |
| ) |
|
|
slot |
Set the view currently managed by the panel, should be called automatically when the active view changes.
◆ setPipelineProxy
void pqPropertiesPanel::setPipelineProxy |
( |
pqProxy * |
| ) |
|
|
slot |
◆ setRepresentation
Set the representation currently managed by the panel, should be called automatically when the active representation changes.
◆ applied [1/2]
void pqPropertiesPanel::applied |
( |
| ) |
|
|
signal |
This signal is emitted after the user clicks the apply button.
◆ applied [2/2]
void pqPropertiesPanel::applied |
( |
pqProxy * |
| ) |
|
|
signal |
This signal is emitted after a panel for a proxy is applied.
◆ viewChanged
void pqPropertiesPanel::viewChanged |
( |
pqView * |
| ) |
|
|
signal |
This signal is emitted when the current view changes.
◆ modified
void pqPropertiesPanel::modified |
( |
| ) |
|
|
signal |
◆ resetDone
void pqPropertiesPanel::resetDone |
( |
| ) |
|
|
signal |
◆ helpRequested
void pqPropertiesPanel::helpRequested |
( |
const QString & |
groupname, |
|
|
const QString & |
proxyType |
|
) |
| |
|
signal |
This signal is emitted when the user clicks the help button.
◆ deleteRequested
void pqPropertiesPanel::deleteRequested |
( |
pqProxy * |
source | ) |
|
|
signal |
This signal is emitted when the user clicks the delete button.
◆ applyEnableStateChanged
void pqPropertiesPanel::applyEnableStateChanged |
( |
| ) |
|
|
signal |
This signal is emitted when the apply button's enable state changes.
This is intended for other controls that call apply on the panel so that they can be enabled/disabled correctly (i.e. menu items).
◆ updatePropertiesPanel()
void pqPropertiesPanel::updatePropertiesPanel |
( |
pqProxy * |
source | ) |
|
|
protected |
◆ updateDisplayPanel()
◆ updateViewPanel()
void pqPropertiesPanel::updateViewPanel |
( |
pqView * |
view | ) |
|
|
protected |
◆ pqInternals
◆ panelMode
int pqPropertiesPanel::panelMode |
|
readwrite |
The documentation for this class was generated from the following file: