Wed, 19 Apr 2023 22:42:43 +0300
Use QFileInfo to represent paths
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Vec3Editor</class> <widget class="QWidget" name="Vec3Editor"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>613</width> <height>50</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,1,1,0"> <item> <widget class="DoubleSpinBox" name="x"> <property name="prefix"> <string>x = </string> </property> <property name="decimals"> <number>4</number> </property> <property name="minimum"> <double>-1000000.000000000000000</double> </property> <property name="maximum"> <double>1000000.000000000000000</double> </property> </widget> </item> <item> <widget class="DoubleSpinBox" name="y"> <property name="prefix"> <string>y = </string> </property> <property name="decimals"> <number>4</number> </property> <property name="minimum"> <double>-1000000.000000000000000</double> </property> <property name="maximum"> <double>1000000.000000000000000</double> </property> </widget> </item> <item> <widget class="DoubleSpinBox" name="z"> <property name="prefix"> <string>z = </string> </property> <property name="decimals"> <number>4</number> </property> <property name="minimum"> <double>-1000000.000000000000000</double> </property> <property name="maximum"> <double>1000000.000000000000000</double> </property> </widget> </item> <item> <widget class="QPushButton" name="multiply"> <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>