<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>dialog</class> <widget class="QDialog" name="dialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>480</width> <height>170</height> </rect> </property> <property name="minimumSize"> <size> <width>480</width> <height>170</height> </size> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>170</height> </size> </property> <property name="windowTitle"> <string>Incoming File Transfer</string> </property> <property name="windowIcon"> <iconset> <normaloff>icons/blink48.png</normaloff>icons/blink48.png</iconset> </property> <layout class="QVBoxLayout" name="dialog_layout"> <property name="spacing"> <number>32</number> </property> <property name="leftMargin"> <number>8</number> </property> <property name="topMargin"> <number>8</number> </property> <property name="rightMargin"> <number>8</number> </property> <property name="bottomMargin"> <number>8</number> </property> <item> <widget class="QFrame" name="frame"> <property name="styleSheet"> <string>QFrame#frame { background-color: #f8f8f8; border-color: #545454; border-radius: 4px; border-width: 2px; border-style: solid; } </string> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Sunken</enum> </property> <layout class="QGridLayout" name="frame_layout"> <property name="topMargin"> <number>7</number> </property> <property name="bottomMargin"> <number>7</number> </property> <property name="verticalSpacing"> <number>0</number> </property> <item row="1" column="1"> <widget class="QLabel" name="uri_label"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="palette"> <palette> <active> <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>68</red> <green>68</green> <blue>68</blue> </color> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>68</red> <green>68</green> <blue>68</blue> </color> </brush> </colorrole> </active> <inactive> <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>68</red> <green>68</green> <blue>68</blue> </color> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>68</red> <green>68</green> <blue>68</blue> </color> </brush> </colorrole> </inactive> <disabled> <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>118</red> <green>118</green> <blue>117</blue> </color> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>118</red> <green>118</green> <blue>117</blue> </color> </brush> </colorrole> </disabled> </palette> </property> <property name="text"> <string>Caller URI</string> </property> <property name="indent"> <number>1</number> </property> </widget> </item> <item row="0" column="1"> <widget class="QLabel" name="username_label"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="font"> <font> <pointsize>12</pointsize> <weight>75</weight> <bold>true</bold> </font> </property> <property name="text"> <string>Caller name</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> </item> <item row="0" column="0" rowspan="2"> <widget class="QLabel" name="user_icon"> <property name="pixmap"> <pixmap>icons/default-avatar.png</pixmap> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> </widget> </item> <item row="2" column="0" colspan="2"> <spacer name="frame_spacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item row="3" column="0" colspan="2"> <widget class="QLabel" name="file_label"> <property name="palette"> <palette> <active> <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>68</red> <green>68</green> <blue>68</blue> </color> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>68</red> <green>68</green> <blue>68</blue> </color> </brush> </colorrole> </active> <inactive> <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>68</red> <green>68</green> <blue>68</blue> </color> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>68</red> <green>68</green> <blue>68</blue> </color> </brush> </colorrole> </inactive> <disabled> <colorrole role="WindowText"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>118</red> <green>118</green> <blue>117</blue> </color> </brush> </colorrole> <colorrole role="Text"> <brush brushstyle="SolidPattern"> <color alpha="255"> <red>118</red> <green>118</green> <blue>117</blue> </color> </brush> </colorrole> </disabled> </palette> </property> <property name="text"> <string extracomment="is offering to share his screen">File: test.py (100 KB)</string> </property> <property name="indent"> <number>3</number> </property> </widget> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" name="button_layout"> <property name="spacing"> <number>5</number> </property> <item> <widget class="QPushButton" name="reject_button"> <property name="maximumSize"> <size> <width>16777215</width> <height>28</height> </size> </property> <property name="toolTip"> <string>Refuse the file and stop ringing on any other device</string> </property> <property name="text"> <string>Reject</string> </property> </widget> </item> <item> <spacer name="button_spacer"> <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="accept_button"> <property name="maximumSize"> <size> <width>16777215</width> <height>28</height> </size> </property> <property name="text"> <string>Accept</string> </property> <property name="default"> <bool>true</bool> </property> </widget> </item> </layout> </item> </layout> </widget> <tabstops> <tabstop>accept_button</tabstop> <tabstop>reject_button</tabstop> </tabstops> <resources/> <connections> <connection> <sender>accept_button</sender> <signal>clicked()</signal> <receiver>dialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>345</x> <y>117</y> </hint> <hint type="destinationlabel"> <x>196</x> <y>67</y> </hint> </hints> </connection> <connection> <sender>reject_button</sender> <signal>clicked()</signal> <receiver>dialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>48</x> <y>117</y> </hint> <hint type="destinationlabel"> <x>196</x> <y>67</y> </hint> </hints> </connection> </connections> </ui>