Skip to content

Sync projection mode between operator and customized qt widget

Ye Han requested to merge (removed):quick-fix-on-prop-edit into master

Use the ProjectionEnabled variable on the paraview server as a means of synchronizing the projection mode between prop edit operator and customized qtItem widget, since the operator cannot easily get isChecked() status from the pqPropertyWidget.

Note: even if the Projection is not required to initiate the ProportionalEditSphere in the .sbt file, it is still required to be placed in the <View> for synchronizing the projection direction later when projection mode is ON.

The items variable under pqSMTKItemWidget is the pointer of a vector consisting of mixed types of ValueItems. Is there a way of reducing the repeated usage of std::static_pointer_cast<smtk::attribute::DoubleItem/IntItem>?

@aron.helser I can rebase on you operator with the preview function if you want to merge that first. Screenshot_from_2020-09-11_22-29-17

Screenshot_from_2020-09-11_22-29-37

Edited by Ye Han

Merge request reports

Loading