A Qt dialog for editing a property/proxy/camera link. More...
#include <pqLinksEditor.h>
Inherits QDialog.
Public Member Functions | |
pqLinksEditor (vtkSMLink *link, QWidget *p=nullptr) | |
Create a link editor to create/edit a link. More... | |
~pqLinksEditor () override | |
Destroy this dialog. More... | |
QString | linkName () |
Get the name of the link. More... | |
pqLinksModel::ItemType | linkType () |
get the type of link More... | |
vtkSMProxy * | selectedProxy1 () |
Get the first selected proxy. More... | |
vtkSMProxy * | selectedProxy2 () |
Get the second selected proxy;. More... | |
QString | selectedProperty1 () |
Get the first selected property. More... | |
QString | selectedProperty2 () |
Get the second selected property. More... | |
bool | interactiveViewLinkChecked () |
Get the check state of interactive view link check box. More... | |
bool | cameraWidgetViewLinkChecked () |
Get the check state of camera widget view link check box. More... | |
bool | convertToIndicesChecked () |
Get the check state of convert to indices check box. More... | |
A Qt dialog for editing a property/proxy/camera link.
Two proxies can be selected, and if property type is selected, then two properties can be selected as well.
Definition at line 26 of file pqLinksEditor.h.
pqLinksEditor::pqLinksEditor | ( | vtkSMLink * | link, |
QWidget * | p = nullptr |
||
) |
Create a link editor to create/edit a link.
Initial values are retrieved from the provided vtkSMLink.
|
override |
Destroy this dialog.
QString pqLinksEditor::linkName | ( | ) |
Get the name of the link.
pqLinksModel::ItemType pqLinksEditor::linkType | ( | ) |
get the type of link
vtkSMProxy* pqLinksEditor::selectedProxy1 | ( | ) |
Get the first selected proxy.
vtkSMProxy* pqLinksEditor::selectedProxy2 | ( | ) |
Get the second selected proxy;.
QString pqLinksEditor::selectedProperty1 | ( | ) |
Get the first selected property.
QString pqLinksEditor::selectedProperty2 | ( | ) |
Get the second selected property.
bool pqLinksEditor::interactiveViewLinkChecked | ( | ) |
Get the check state of interactive view link check box.
bool pqLinksEditor::cameraWidgetViewLinkChecked | ( | ) |
Get the check state of camera widget view link check box.
bool pqLinksEditor::convertToIndicesChecked | ( | ) |
Get the check state of convert to indices check box.