pindisplay.ui Example File
btfiletransfer/pindisplay.ui<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>pinDisplay</class> <widget class="QDialog" name="pinDisplay"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>240</width> <height>153</height> </rect> </property> <property name="windowTitle"> <string>Enter Pin Code</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="pin"> <property name="font"> <font> <family>Monospace</family> <pointsize>24</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>012345</string> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item> <widget class="QLabel" name="label"> <property name="text"> <string>TextLabel</string> </property> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>pinDisplay</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>pinDisplay</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>