<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>contact</class> <widget class="QWidget" name="contact"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>276</width> <height>64</height> </rect> </property> <property name="palette"> <palette> <active> <colorrole role="Window"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>255</red> <green>255</green> <blue>255</blue> </color> </brush> </colorrole> <colorrole role="AlternateBase"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>240</red> <green>244</green> <blue>255</blue> </color> </brush> </colorrole> </active> <inactive> <colorrole role="Window"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>255</red> <green>255</green> <blue>255</blue> </color> </brush> </colorrole> <colorrole role="AlternateBase"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>240</red> <green>244</green> <blue>255</blue> </color> </brush> </colorrole> </inactive> <disabled> <colorrole role="Window"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>255</red> <green>255</green> <blue>255</blue> </color> </brush> </colorrole> <colorrole role="AlternateBase"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>240</red> <green>244</green> <blue>255</blue> </color> </brush> </colorrole> </disabled> </palette> </property> <property name="windowTitle"> <string>Contact</string> </property> <layout class="QHBoxLayout" name="widget_layout"> <property name="spacing"> <number>3</number> </property> <property name="leftMargin"> <number>1</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>1</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="icon_label"> <property name="minimumSize"> <size> <width>36</width> <height>36</height> </size> </property> <property name="maximumSize"> <size> <width>36</width> <height>36</height> </size> </property> <property name="pixmap"> <pixmap>icons/default-avatar.png</pixmap> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item> <layout class="QVBoxLayout" name="name_info_layout"> <property name="spacing"> <number>0</number> </property> <item> <widget class="ElidedLabel" name="name_label"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Display Name</string> </property> <property name="alignment"> <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> </property> </widget> </item> <item> <widget class="ElidedLabel" name="info_label"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Info</string> </property> </widget> </item> </layout> </item> <item> <widget class="ContactState" name="state_label"> <property name="minimumSize"> <size> <width>14</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>14</width> <height>16777215</height> </size> </property> <property name="text"> <string/> </property> <property name="state" stdset="0"> <string notr="true">unknown</string> </property> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>ElidedLabel</class> <extends>QLabel</extends> <header>blink.widgets.labels</header> </customwidget> <customwidget> <class>ContactState</class> <extends>QLabel</extends> <header>blink.widgets.labels</header> </customwidget> </customwidgets> <resources/> <connections/> </ui>