Tue, 28 Sep 2021 22:14:00 +0300
Fix memory corruption involving document tools.
I don't think that the metaobject-initialization had anything to do with this
but it is a lot simpler without it anyway.
<?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>356</width> <height>172</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>