contact.ui 4.6 KB
Newer Older
1 2 3 4 5 6 7 8
<?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>
9 10
    <width>276</width>
    <height>64</height>
11 12 13 14 15
   </rect>
  </property>
  <property name="palette">
   <palette>
    <active>
16
     <colorrole role="Window">
17 18 19 20 21 22 23 24
      <brush brushstyle="SolidPattern">
       <color alpha="255">
        <red>255</red>
        <green>255</green>
        <blue>255</blue>
       </color>
      </brush>
     </colorrole>
25
     <colorrole role="AlternateBase">
26 27
      <brush brushstyle="SolidPattern">
       <color alpha="255">
28 29
        <red>240</red>
        <green>244</green>
30 31 32 33 34 35
        <blue>255</blue>
       </color>
      </brush>
     </colorrole>
    </active>
    <inactive>
36
     <colorrole role="Window">
37 38 39 40 41 42 43 44
      <brush brushstyle="SolidPattern">
       <color alpha="255">
        <red>255</red>
        <green>255</green>
        <blue>255</blue>
       </color>
      </brush>
     </colorrole>
45
     <colorrole role="AlternateBase">
46 47
      <brush brushstyle="SolidPattern">
       <color alpha="255">
48 49
        <red>240</red>
        <green>244</green>
50 51 52 53 54 55
        <blue>255</blue>
       </color>
      </brush>
     </colorrole>
    </inactive>
    <disabled>
56
     <colorrole role="Window">
57 58 59 60 61 62 63 64
      <brush brushstyle="SolidPattern">
       <color alpha="255">
        <red>255</red>
        <green>255</green>
        <blue>255</blue>
       </color>
      </brush>
     </colorrole>
65
     <colorrole role="AlternateBase">
66 67
      <brush brushstyle="SolidPattern">
       <color alpha="255">
68 69
        <red>240</red>
        <green>244</green>
70 71 72 73 74 75 76 77
        <blue>255</blue>
       </color>
      </brush>
     </colorrole>
    </disabled>
   </palette>
  </property>
  <property name="windowTitle">
Dan Pascu's avatar
Dan Pascu committed
78
   <string>Contact</string>
79
  </property>
80
  <layout class="QHBoxLayout" name="widget_layout">
81
   <property name="spacing">
82
    <number>3</number>
83 84
   </property>
   <property name="leftMargin">
85
    <number>1</number>
86 87 88 89 90
   </property>
   <property name="topMargin">
    <number>0</number>
   </property>
   <property name="rightMargin">
91
    <number>1</number>
92 93 94 95 96
   </property>
   <property name="bottomMargin">
    <number>0</number>
   </property>
   <item>
97
    <widget class="QLabel" name="icon_label">
98 99 100 101 102 103 104 105 106 107 108 109 110
     <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">
Dan Pascu's avatar
Dan Pascu committed
111
      <pixmap>icons/default-avatar.png</pixmap>
112
     </property>
Dan Pascu's avatar
Dan Pascu committed
113 114 115
     <property name="alignment">
      <set>Qt::AlignCenter</set>
     </property>
116 117 118
    </widget>
   </item>
   <item>
119
    <layout class="QVBoxLayout" name="name_info_layout">
120 121 122 123
     <property name="spacing">
      <number>0</number>
     </property>
     <item>
124
      <widget class="ElidedLabel" name="name_label">
125 126 127 128 129 130 131 132 133
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
        <string>Display Name</string>
       </property>
134 135 136
       <property name="alignment">
        <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
       </property>
137 138 139
      </widget>
     </item>
     <item>
140
      <widget class="ElidedLabel" name="info_label">
141 142 143 144 145 146 147
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
148
        <string>Info</string>
149 150 151 152 153
       </property>
      </widget>
     </item>
    </layout>
   </item>
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
   <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>
176 177
  </layout>
 </widget>
178 179 180 181 182 183
 <customwidgets>
  <customwidget>
   <class>ElidedLabel</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
184 185 186 187 188
  <customwidget>
   <class>ContactState</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
189
 </customwidgets>
190 191 192
 <resources/>
 <connections/>
</ui>