151 lines
3.6 KiB
Plaintext
151 lines
3.6 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>config_hardware_dialog</class>
|
||
|
<widget class="QDialog" name="config_hardware_dialog">
|
||
|
<property name="enabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>434</width>
|
||
|
<height>132</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Add hardware</string>
|
||
|
</property>
|
||
|
<layout class="QFormLayout" name="formLayout">
|
||
|
<property name="labelAlignment">
|
||
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
|
</property>
|
||
|
<property name="horizontalSpacing">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<property name="verticalSpacing">
|
||
|
<number>2</number>
|
||
|
</property>
|
||
|
<property name="leftMargin">
|
||
|
<number>1</number>
|
||
|
</property>
|
||
|
<property name="topMargin">
|
||
|
<number>1</number>
|
||
|
</property>
|
||
|
<property name="rightMargin">
|
||
|
<number>1</number>
|
||
|
</property>
|
||
|
<property name="bottomMargin">
|
||
|
<number>1</number>
|
||
|
</property>
|
||
|
<item row="0" column="0" colspan="2">
|
||
|
<widget class="QStackedWidget" name="stacked_widget">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>100</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="currentIndex">
|
||
|
<number>-1</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<spacer name="verticalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>40</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item row="2" column="0" colspan="2">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="ok_button">
|
||
|
<property name="enabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>OK</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_2">
|
||
|
<property name="text">
|
||
|
<string>Cancel</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>ok_button</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>config_hardware_dialog</receiver>
|
||
|
<slot>accept()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>181</x>
|
||
|
<y>87</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>100</x>
|
||
|
<y>80</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>pushButton_2</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>config_hardware_dialog</receiver>
|
||
|
<slot>reject()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>235</x>
|
||
|
<y>92</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>33</x>
|
||
|
<y>71</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
</ui>
|