<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>NewContact</class> <widget class="QDialog" name="NewContact"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>376</width> <height>208</height> </rect> </property> <property name="windowTitle"> <string>Add new contact</string> </property> <layout class="QVBoxLayout" name="verticalLayout" stretch="0,1,0"> <item> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Account</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="account"> <property name="toolTip"> <string>An account that is going to have new contact</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>JID</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="jid"> <property name="toolTip"> <string>Jabber id of your new contact</string> </property> <property name="placeholderText"> <string>name@server.dmn</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Name</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="name"> <property name="toolTip"> <string>The way this new contact will be labeled in your roster (optional)</string> </property> <property name="placeholderText"> <string>John Smith</string> </property> </widget> </item> </layout> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>0</width> <height>0</height> </size> </property> </spacer> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>NewContact</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>20</x> <y>20</y> </hint> <hint type="destinationlabel"> <x>20</x> <y>20</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>NewContact</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>20</x> <y>20</y> </hint> <hint type="destinationlabel"> <x>20</x> <y>20</y> </hint> </hints> </connection> </connections> </ui>