Wed 28 Aug 21:38:52 CEST 2024

This commit is contained in:
sbosse 2024-08-28 21:41:34 +02:00
parent 1a936114f8
commit b1b9b794a9

View File

@ -0,0 +1,215 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NewModel</class>
<widget class="QDialog" name="NewModel">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>272</width>
<height>200</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>272</width>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>272</width>
<height>200</height>
</size>
</property>
<property name="contextMenuPolicy">
<enum>Qt::NoContextMenu</enum>
</property>
<property name="windowTitle">
<string>New Scenario</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/newImage.png</normaloff>:/newImage.png</iconset>
</property>
<property name="whatsThis">
<string/>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="sizeGripEnabled">
<bool>false</bool>
</property>
<property name="modal">
<bool>true</bool>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>40</x>
<y>160</y>
<width>201</width>
<height>32</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>300</width>
<height>300</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
<widget class="QWidget" name="formLayoutWidget">
<property name="geometry">
<rect>
<x>40</x>
<y>20</y>
<width>191</width>
<height>131</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="widthLabel">
<property name="text">
<string>Width (mm)</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="widthLineEdit">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="heightLabel">
<property name="text">
<string>Height (mm)</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="heightLineEdit">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="pixelLabel">
<property name="text">
<string>Pixel/mm</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="pixelLineEdit">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="labelLabel">
<property name="text">
<string>Label</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="labelSpinBox">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="maximum">
<number>240</number>
</property>
<property name="singleStep">
<number>40</number>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>buttonBox</tabstop>
<tabstop>widthLineEdit</tabstop>
<tabstop>heightLineEdit</tabstop>
<tabstop>pixelLineEdit</tabstop>
<tabstop>labelSpinBox</tabstop>
</tabstops>
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>NewModel</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>NewModel</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>