refactor(PD): remove the ui file connections, this are handled in the task code

This commit is contained in:
Alfredo Monclus
2025-01-13 14:38:33 -03:00
parent 7b0296ca7c
commit 82ba235309
2 changed files with 2 additions and 146 deletions

View File

@@ -549,6 +549,7 @@ void TaskHoleParameters::drillForDepthChanged()
void TaskHoleParameters::taperedChanged()
{
ui->TaperedAngle->setEnabled(ui->Tapered->isChecked());
if (auto hole = getObject<PartDesign::Hole>()) {
hole->Tapered.setValue(ui->Tapered->isChecked());
recomputeFeature();

View File

@@ -946,152 +946,7 @@ Only available for holes without thread</string>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>Tapered</sender>
<signal>toggled(bool)</signal>
<receiver>TaperedAngle</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>137</x>
<y>187</y>
</hint>
<hint type="destinationlabel">
<x>345</x>
<y>192</y>
</hint>
</hints>
</connection>
<connection>
<sender>Threaded</sender>
<signal>toggled(bool)</signal>
<receiver>directionLeftHand</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>85</x>
<y>249</y>
</hint>
<hint type="destinationlabel">
<x>151</x>
<y>323</y>
</hint>
</hints>
</connection>
<connection>
<sender>Threaded</sender>
<signal>toggled(bool)</signal>
<receiver>directionRightHand</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>85</x>
<y>249</y>
</hint>
<hint type="destinationlabel">
<x>336</x>
<y>323</y>
</hint>
</hints>
</connection>
<connection>
<sender>UseCustomThreadClearance</sender>
<signal>toggled(bool)</signal>
<receiver>CustomThreadClearance</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>113</x>
<y>384</y>
</hint>
<hint type="destinationlabel">
<x>259</x>
<y>382</y>
</hint>
</hints>
</connection>
<connection>
<sender>ModelThread</sender>
<signal>toggled(bool)</signal>
<receiver>UseCustomThreadClearance</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>85</x>
<y>353</y>
</hint>
<hint type="destinationlabel">
<x>80</x>
<y>381</y>
</hint>
</hints>
</connection>
<connection>
<sender>ModelThread</sender>
<signal>toggled(bool)</signal>
<receiver>CustomThreadClearance</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>127</x>
<y>358</y>
</hint>
<hint type="destinationlabel">
<x>274</x>
<y>396</y>
</hint>
</hints>
</connection>
<connection>
<sender>ModelThread</sender>
<signal>toggled(bool)</signal>
<receiver>UpdateView</receiver>
<slot>setVisible(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>170</x>
<y>358</y>
</hint>
<hint type="destinationlabel">
<x>233</x>
<y>356</y>
</hint>
</hints>
</connection>
<connection>
<sender>Threaded</sender>
<signal>toggled(bool)</signal>
<receiver>ModelThread</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>27</x>
<y>252</y>
</hint>
<hint type="destinationlabel">
<x>43</x>
<y>357</y>
</hint>
</hints>
</connection>
<connection>
<sender>Threaded</sender>
<signal>toggled(bool)</signal>
<receiver>ThreadFit</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>151</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>390</x>
<y>77</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
<buttongroups>
<buttongroup name="drillPointButtonGroup"/>
<buttongroup name="directionButtonGroup"/>