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>MatrixEditor</class> <widget class="QWidget" name="MatrixEditor"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>376</width> <height>215</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="DoubleSpinBox" name="cell00"/> </item> <item row="0" column="1"> <widget class="DoubleSpinBox" name="cell10"/> </item> <item row="0" column="2"> <widget class="DoubleSpinBox" name="cell20"/> </item> <item row="0" column="3"> <widget class="DoubleSpinBox" name="cell30"/> </item> <item row="1" column="0"> <widget class="DoubleSpinBox" name="cell01"/> </item> <item row="1" column="1"> <widget class="DoubleSpinBox" name="cell11"/> </item> <item row="1" column="2"> <widget class="DoubleSpinBox" name="cell21"/> </item> <item row="1" column="3"> <widget class="DoubleSpinBox" name="cell31"/> </item> <item row="2" column="0"> <widget class="DoubleSpinBox" name="cell02"/> </item> <item row="2" column="1"> <widget class="DoubleSpinBox" name="cell12"/> </item> <item row="2" column="2"> <widget class="DoubleSpinBox" name="cell22"/> </item> <item row="2" column="3"> <widget class="DoubleSpinBox" name="cell32"/> </item> <item row="3" column="0"> <widget class="DoubleSpinBox" name="doubleSpinBox"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="3" column="1"> <widget class="DoubleSpinBox" name="doubleSpinBox_2"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="3" column="2"> <widget class="DoubleSpinBox" name="doubleSpinBox_3"> <property name="enabled"> <bool>false</bool> </property> </widget> </item> <item row="3" column="3"> <widget class="DoubleSpinBox" name="doubleSpinBox_4"> <property name="enabled"> <bool>false</bool> </property> <property name="value"> <double>1.000000000000000</double> </property> </widget> </item> <item row="4" column="0"> <widget class="QPushButton" name="multiply0"> <property name="text"> <string>×</string> </property> </widget> </item> <item row="4" column="1"> <widget class="QPushButton" name="multiply1"> <property name="text"> <string>×</string> </property> </widget> </item> <item row="4" column="2"> <widget class="QPushButton" name="multiply2"> <property name="text"> <string>×</string> </property> </widget> </item> <item row="4" column="3"> <widget class="QPushButton" name="multiply3"> <property name="text"> <string>×</string> </property> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>DoubleSpinBox</class> <extends>QDoubleSpinBox</extends> <header>widgets/doublespinbox.h</header> </customwidget> </customwidgets> <resources/> <connections/> </ui>