Fri, 01 Jul 2022 16:46:43 +0300
Fix right click to delete not really working properly
Instead of removing the point that had been added, it would remove
the point that is being drawn, which would cause it to overwrite the
previous point using the new point, causing a bit of a delay
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MultiplyFactorDialog</class> <widget class="QDialog" name="MultiplyFactorDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>286</width> <height>169</height> </rect> </property> <property name="windowTitle"> <string>Multiply with a scalar</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Factor:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="DoubleSpinBox" name="factor"> <property name="value"> <double>1.000000000000000</double> </property> </widget> </item> <item row="1" column="1"> <widget class="QCheckBox" name="invert"> <property name="text"> <string>Invert</string> </property> </widget> </item> </layout> </item> <item> <widget class="QGroupBox" name="previewGroupBox"> <property name="title"> <string>Preview</string> </property> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>DoubleSpinBox</class> <extends>QDoubleSpinBox</extends> <header>widgets/doublespinbox.h</header> </customwidget> </customwidgets> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>MultiplyFactorDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>MultiplyFactorDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>