<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>OK_DialogClass</class> <widget class="QDialog" name="OK_DialogClass"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>310</width> <height>145</height> </rect> </property> <property name="windowTitle"> <string>OK_Dialog</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <spacer name="verticalSpacer_2"> <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> <widget class="QLabel" name="Dialog_Text"> <property name="text"> <string>TextLabel</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> <property name="wordWrap"> <bool>true</bool> </property> </widget> </item> <item> <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> <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="text"> <string>OK</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> <layoutdefault spacing="6" margin="11"/> <resources/> <connections> <connection> <sender>OK_Button</sender> <signal>clicked()</signal> <receiver>OK_DialogClass</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>154</x> <y>130</y> </hint> <hint type="destinationlabel"> <x>155</x> <y>240</y> </hint> </hints> </connection> </connections> </ui>