This commit removes the explicit setting of ivars and instead uses
the function slicer.util.childWidgetVariables.
The updates was done following these steps:
Systematic replace of self.<widgetName> with self.ui.<widgetName>
script=ShapeVariationAnalyzer/ShapeVariationAnalyzer.py
for widget in $(cat $script | ack "getUI\('" | cut -d"'" -f2); do
sed "s/self\.$widget/self.ui.$widget/" $script -i;
done
Manual removal of lines including self.getUI and removal of implementation of getUI function.
This commit removes the explicit setting of ivars and instead uses the function
slicer.util.childWidgetVariables
.The updates was done following these steps:
Systematic replace of
self.<widgetName>
withself.ui.<widgetName>
Manual removal of lines including
self.getUI
and removal of implementation ofgetUI
function.Additional replacements in script:
Additional replacements in UI file