contact.ui 4.48 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?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>275</width>
    <height>36</height>
   </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 134 135 136
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
        <string>Display Name</string>
       </property>
      </widget>
     </item>
     <item>
137
      <widget class="ElidedLabel" name="info_label">
138 139 140 141 142 143 144
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
145
        <string>Info</string>
146 147 148 149 150
       </property>
      </widget>
     </item>
    </layout>
   </item>
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
   <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>
173 174
  </layout>
 </widget>
175 176 177 178 179 180
 <customwidgets>
  <customwidget>
   <class>ElidedLabel</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
181 182 183 184 185
  <customwidget>
   <class>ContactState</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
186
 </customwidgets>
187 188 189
 <resources/>
 <connections/>
</ui>