callwidget.ui 12.5 KB
Newer Older
Edric Milaret's avatar
Edric Milaret committed
1 2 3 4 5 6 7 8 9
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>CallWidget</class>
 <widget class="QWidget" name="CallWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>700</width>
Edric Milaret's avatar
Edric Milaret committed
10
    <height>711</height>
Edric Milaret's avatar
Edric Milaret committed
11 12 13 14 15 16 17 18 19 20 21 22
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
   <item row="0" column="1">
    <widget class="QWidget" name="CallSubGroup" native="true">
     <layout class="QVBoxLayout" name="verticalLayout">
      <property name="sizeConstraint">
       <enum>QLayout::SetMaximumSize</enum>
      </property>
      <item>
       <widget class="QFrame" name="videoFrame">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>0</width>
          <height>325</height>
         </size>
        </property>
        <property name="frameShape">
         <enum>QFrame::StyledPanel</enum>
        </property>
        <property name="frameShadow">
         <enum>QFrame::Raised</enum>
        </property>
        <layout class="QVBoxLayout" name="verticalLayout_7">
         <item>
          <widget class="VideoView" name="videoWidget" native="true"/>
         </item>
53 54 55 56 57 58 59 60 61 62
         <item>
          <widget class="QLabel" name="spinnerLabel">
           <property name="text">
            <string/>
           </property>
           <property name="alignment">
            <set>Qt::AlignCenter</set>
           </property>
          </widget>
         </item>
63
         <item alignment="Qt::AlignHCenter|Qt::AlignVCenter">
64 65 66 67
          <widget class="QWidget" name="callInvite" native="true">
           <layout class="QVBoxLayout" name="verticalLayout_4">
            <item>
             <layout class="QVBoxLayout" name="verticalLayout_3">
68 69 70 71 72 73 74 75 76 77 78 79 80
              <item>
               <widget class="QLabel" name="label_2">
                <property name="text">
                 <string/>
                </property>
                <property name="pixmap">
                 <pixmap resource="ressources.qrc">:/images/account.png</pixmap>
                </property>
                <property name="alignment">
                 <set>Qt::AlignCenter</set>
                </property>
               </widget>
              </item>
81 82
              <item alignment="Qt::AlignHCenter">
               <widget class="QLabel" name="callLabel">
83 84 85 86 87 88
                <property name="font">
                 <font>
                  <weight>75</weight>
                  <bold>true</bold>
                 </font>
                </property>
89 90 91 92 93 94 95 96 97
                <property name="text">
                 <string>Call</string>
                </property>
               </widget>
              </item>
             </layout>
            </item>
            <item>
             <layout class="QHBoxLayout" name="horizontalLayout">
98 99 100
              <property name="topMargin">
               <number>20</number>
              </property>
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
              <item>
               <widget class="QPushButton" name="acceptButton">
                <property name="text">
                 <string>Accept</string>
                </property>
                <property name="icon">
                 <iconset resource="ressources.qrc">
                  <normaloff>:/images/phone.png</normaloff>:/images/phone.png</iconset>
                </property>
               </widget>
              </item>
              <item>
               <widget class="QPushButton" name="refuseButton">
                <property name="text">
                 <string>Refuse</string>
                </property>
                <property name="icon">
                 <iconset resource="ressources.qrc">
                  <normaloff>:/images/phone-hangup.png</normaloff>:/images/phone-hangup.png</iconset>
                </property>
               </widget>
              </item>
             </layout>
            </item>
           </layout>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
      <item alignment="Qt::AlignHCenter">
       <widget class="QLabel" name="callStateLabel">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="text">
         <string>Call State :</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
Edric Milaret's avatar
Edric Milaret committed
147 148 149 150 151 152 153 154 155
   <item row="0" column="0">
    <layout class="QVBoxLayout" name="verticalLayout_2">
     <property name="spacing">
      <number>6</number>
     </property>
     <property name="sizeConstraint">
      <enum>QLayout::SetDefaultConstraint</enum>
     </property>
     <item>
156
      <layout class="QVBoxLayout" name="verticalLayout_5" stretch="0,1">
Edric Milaret's avatar
Edric Milaret committed
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
       <property name="topMargin">
        <number>0</number>
       </property>
       <item>
        <widget class="QListView" name="callList">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="minimumSize">
          <size>
           <width>0</width>
           <height>0</height>
          </size>
         </property>
         <property name="maximumSize">
          <size>
176
           <width>220</width>
Edric Milaret's avatar
Edric Milaret committed
177 178 179 180 181 182
           <height>16777215</height>
          </size>
         </property>
        </widget>
       </item>
       <item>
183
        <widget class="QTabWidget" name="tabWidget">
Edric Milaret's avatar
Edric Milaret committed
184 185
         <property name="maximumSize">
          <size>
186
           <width>220</width>
Edric Milaret's avatar
Edric Milaret committed
187 188 189
           <height>16777215</height>
          </size>
         </property>
190
         <property name="currentIndex">
Edric Milaret's avatar
Edric Milaret committed
191
          <number>0</number>
192 193 194 195 196 197 198
         </property>
         <widget class="QWidget" name="historyTab">
          <attribute name="title">
           <string>History</string>
          </attribute>
          <layout class="QVBoxLayout" name="verticalLayout_6">
           <property name="leftMargin">
Edric Milaret's avatar
Edric Milaret committed
199
            <number>0</number>
200 201 202 203 204 205 206 207
           </property>
           <property name="topMargin">
            <number>4</number>
           </property>
           <property name="rightMargin">
            <number>0</number>
           </property>
           <property name="bottomMargin">
Edric Milaret's avatar
Edric Milaret committed
208
            <number>0</number>
209
           </property>
Edric Milaret's avatar
Edric Milaret committed
210 211 212 213 214 215 216
           <item>
            <layout class="QHBoxLayout" name="horizontalLayout_4">
             <property name="topMargin">
              <number>0</number>
             </property>
             <item>
              <widget class="QLineEdit" name="lineEdit">
Edric Milaret's avatar
Edric Milaret committed
217 218 219
               <property name="enabled">
                <bool>false</bool>
               </property>
Edric Milaret's avatar
Edric Milaret committed
220 221 222 223 224 225 226 227 228
               <property name="placeholderText">
                <string>Search</string>
               </property>
               <property name="clearButtonEnabled">
                <bool>true</bool>
               </property>
              </widget>
             </item>
             <item>
Edric Milaret's avatar
Edric Milaret committed
229
              <widget class="QLabel" name="label">
Edric Milaret's avatar
Edric Milaret committed
230
               <property name="text">
Edric Milaret's avatar
Edric Milaret committed
231
                <string>Sort:</string>
Edric Milaret's avatar
Edric Milaret committed
232
               </property>
Edric Milaret's avatar
Edric Milaret committed
233 234 235 236 237 238
              </widget>
             </item>
             <item>
              <widget class="QComboBox" name="sortComboBox">
               <property name="layoutDirection">
                <enum>Qt::LeftToRight</enum>
Edric Milaret's avatar
Edric Milaret committed
239 240 241 242 243
               </property>
              </widget>
             </item>
            </layout>
           </item>
244 245 246
           <item>
            <widget class="QTreeView" name="historyList">
             <property name="sizePolicy">
Edric Milaret's avatar
Edric Milaret committed
247
              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
248 249 250 251 252 253 254 255 256 257 258 259
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="minimumSize">
              <size>
               <width>0</width>
               <height>0</height>
              </size>
             </property>
             <property name="maximumSize">
              <size>
Edric Milaret's avatar
Edric Milaret committed
260
               <width>220</width>
261 262 263
               <height>16777215</height>
              </size>
             </property>
Edric Milaret's avatar
Edric Milaret committed
264 265 266
             <property name="frameShadow">
              <enum>QFrame::Plain</enum>
             </property>
267 268 269 270 271 272 273 274 275 276
            </widget>
           </item>
          </layout>
         </widget>
         <widget class="QWidget" name="contactTab">
          <attribute name="title">
           <string>Contact</string>
          </attribute>
          <layout class="QHBoxLayout" name="horizontalLayout_3">
           <property name="leftMargin">
Edric Milaret's avatar
Edric Milaret committed
277
            <number>0</number>
278 279 280 281 282
           </property>
           <property name="topMargin">
            <number>4</number>
           </property>
           <property name="rightMargin">
Edric Milaret's avatar
Edric Milaret committed
283
            <number>0</number>
284 285
           </property>
           <property name="bottomMargin">
Edric Milaret's avatar
Edric Milaret committed
286
            <number>0</number>
287 288
           </property>
           <item>
Edric Milaret's avatar
Edric Milaret committed
289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
            <widget class="QListView" name="contactView">
             <property name="frameShadow">
              <enum>QFrame::Plain</enum>
             </property>
             <property name="horizontalScrollBarPolicy">
              <enum>Qt::ScrollBarAsNeeded</enum>
             </property>
             <property name="sizeAdjustPolicy">
              <enum>QAbstractScrollArea::AdjustIgnored</enum>
             </property>
             <property name="resizeMode">
              <enum>QListView::Fixed</enum>
             </property>
             <property name="layoutMode">
              <enum>QListView::SinglePass</enum>
             </property>
             <property name="wordWrap">
              <bool>false</bool>
             </property>
            </widget>
309 310 311
           </item>
          </layout>
         </widget>
Edric Milaret's avatar
Edric Milaret committed
312 313 314 315 316 317
        </widget>
       </item>
      </layout>
     </item>
    </layout>
   </item>
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339
   <item row="0" column="2">
    <layout class="QVBoxLayout" name="verticalLayout_8">
     <property name="leftMargin">
      <number>0</number>
     </property>
     <item>
      <widget class="InstantMessagingWidget" name="instantMessagingWidget" native="true">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>0</height>
        </size>
       </property>
      </widget>
     </item>
    </layout>
Edric Milaret's avatar
Edric Milaret committed
340
   </item>
341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367
   <item row="1" column="1">
    <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="1,0,0">
     <property name="topMargin">
      <number>0</number>
     </property>
     <property name="rightMargin">
      <number>10</number>
     </property>
     <item alignment="Qt::AlignHCenter">
      <widget class="QLabel" name="ringIdLabel">
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>0</height>
        </size>
       </property>
       <property name="text">
        <string>Your Ring ID:</string>
       </property>
       <property name="margin">
        <number>0</number>
       </property>
       <property name="textInteractionFlags">
        <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
       </property>
      </widget>
     </item>
368
     <item>
369 370 371 372 373 374 375 376 377 378 379 380 381 382 383
      <widget class="QLabel" name="label_2">
       <property name="text">
        <string>State:</string>
       </property>
      </widget>
     </item>
     <item alignment="Qt::AlignRight">
      <widget class="QLabel" name="accountStateHintLabel">
       <property name="text">
        <string>OK</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
Edric Milaret's avatar
Edric Milaret committed
384 385 386 387
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
388
   <class>InstantMessagingWidget</class>
Edric Milaret's avatar
Edric Milaret committed
389
   <extends>QWidget</extends>
390
   <header>instantmessagingwidget.h</header>
Edric Milaret's avatar
Edric Milaret committed
391 392
   <container>1</container>
  </customwidget>
Edric Milaret's avatar
Edric Milaret committed
393
  <customwidget>
394
   <class>VideoView</class>
Edric Milaret's avatar
Edric Milaret committed
395
   <extends>QWidget</extends>
396
   <header>videoview.h</header>
Edric Milaret's avatar
Edric Milaret committed
397 398
   <container>1</container>
  </customwidget>
Edric Milaret's avatar
Edric Milaret committed
399
 </customwidgets>
400 401 402
 <resources>
  <include location="ressources.qrc"/>
 </resources>
Edric Milaret's avatar
Edric Milaret committed
403 404
 <connections/>
</ui>