callwidget.ui 12.8 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
         <item>
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
          <widget class="QWidget" name="spinnerWidget" native="true">
           <layout class="QVBoxLayout" name="spinnerLayout">
            <item>
             <widget class="QLabel" name="spinnerLabel">
              <property name="text">
               <string/>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
              </property>
             </widget>
            </item>
            <item alignment="Qt::AlignHCenter">
             <widget class="QPushButton" name="cancelButton">
              <property name="maximumSize">
               <size>
                <width>100</width>
                <height>16777215</height>
               </size>
              </property>
              <property name="text">
               <string>Cancel</string>
              </property>
             </widget>
            </item>
           </layout>
80 81
          </widget>
         </item>
82
         <item alignment="Qt::AlignHCenter|Qt::AlignVCenter">
83 84 85 86
          <widget class="QWidget" name="callInvite" native="true">
           <layout class="QVBoxLayout" name="verticalLayout_4">
            <item>
             <layout class="QVBoxLayout" name="verticalLayout_3">
87 88 89 90 91 92 93 94 95 96 97 98 99
              <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>
100 101
              <item alignment="Qt::AlignHCenter">
               <widget class="QLabel" name="callLabel">
102 103 104 105 106 107
                <property name="font">
                 <font>
                  <weight>75</weight>
                  <bold>true</bold>
                 </font>
                </property>
108 109 110 111 112 113 114 115 116
                <property name="text">
                 <string>Call</string>
                </property>
               </widget>
              </item>
             </layout>
            </item>
            <item>
             <layout class="QHBoxLayout" name="horizontalLayout">
117 118 119
              <property name="topMargin">
               <number>20</number>
              </property>
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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
              <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
166 167 168 169 170 171 172 173 174
   <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>
175
      <layout class="QVBoxLayout" name="verticalLayout_5" stretch="0,1">
Edric Milaret's avatar
Edric Milaret committed
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
       <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>
195
           <width>220</width>
Edric Milaret's avatar
Edric Milaret committed
196 197 198 199 200 201
           <height>16777215</height>
          </size>
         </property>
        </widget>
       </item>
       <item>
202
        <widget class="QTabWidget" name="tabWidget">
Edric Milaret's avatar
Edric Milaret committed
203 204
         <property name="maximumSize">
          <size>
205
           <width>220</width>
Edric Milaret's avatar
Edric Milaret committed
206 207 208
           <height>16777215</height>
          </size>
         </property>
209
         <property name="currentIndex">
Edric Milaret's avatar
Edric Milaret committed
210
          <number>0</number>
211 212 213 214 215 216 217
         </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
218
            <number>0</number>
219 220 221 222 223 224 225 226
           </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
227
            <number>0</number>
228
           </property>
Edric Milaret's avatar
Edric Milaret committed
229 230 231 232 233 234 235
           <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
236 237 238
               <property name="enabled">
                <bool>false</bool>
               </property>
Edric Milaret's avatar
Edric Milaret committed
239 240 241 242 243 244 245 246 247
               <property name="placeholderText">
                <string>Search</string>
               </property>
               <property name="clearButtonEnabled">
                <bool>true</bool>
               </property>
              </widget>
             </item>
             <item>
Edric Milaret's avatar
Edric Milaret committed
248
              <widget class="QLabel" name="label">
Edric Milaret's avatar
Edric Milaret committed
249
               <property name="text">
Edric Milaret's avatar
Edric Milaret committed
250
                <string>Sort:</string>
Edric Milaret's avatar
Edric Milaret committed
251
               </property>
Edric Milaret's avatar
Edric Milaret committed
252 253 254 255 256 257
              </widget>
             </item>
             <item>
              <widget class="QComboBox" name="sortComboBox">
               <property name="layoutDirection">
                <enum>Qt::LeftToRight</enum>
Edric Milaret's avatar
Edric Milaret committed
258 259 260 261 262
               </property>
              </widget>
             </item>
            </layout>
           </item>
263 264 265
           <item>
            <widget class="QTreeView" name="historyList">
             <property name="sizePolicy">
Edric Milaret's avatar
Edric Milaret committed
266
              <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
267 268 269 270 271 272 273 274 275 276 277 278
               <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
279
               <width>220</width>
280 281 282
               <height>16777215</height>
              </size>
             </property>
Edric Milaret's avatar
Edric Milaret committed
283 284 285
             <property name="frameShadow">
              <enum>QFrame::Plain</enum>
             </property>
286 287 288 289 290 291 292 293 294 295
            </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
296
            <number>0</number>
297 298 299 300 301
           </property>
           <property name="topMargin">
            <number>4</number>
           </property>
           <property name="rightMargin">
Edric Milaret's avatar
Edric Milaret committed
302
            <number>0</number>
303 304
           </property>
           <property name="bottomMargin">
Edric Milaret's avatar
Edric Milaret committed
305
            <number>0</number>
306 307
           </property>
           <item>
Edric Milaret's avatar
Edric Milaret committed
308 309 310 311 312 313 314 315 316 317 318
            <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>
            </widget>
319 320 321
           </item>
          </layout>
         </widget>
Edric Milaret's avatar
Edric Milaret committed
322 323 324 325 326 327
        </widget>
       </item>
      </layout>
     </item>
    </layout>
   </item>
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349
   <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
350
   </item>
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377
   <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>
378
     <item>
Edric Milaret's avatar
Edric Milaret committed
379
      <widget class="QLabel" name="stateLabel">
380 381 382 383 384 385 386 387 388 389 390 391 392 393
       <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
394 395 396 397
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
398
   <class>InstantMessagingWidget</class>
Edric Milaret's avatar
Edric Milaret committed
399
   <extends>QWidget</extends>
400
   <header>instantmessagingwidget.h</header>
Edric Milaret's avatar
Edric Milaret committed
401 402
   <container>1</container>
  </customwidget>
Edric Milaret's avatar
Edric Milaret committed
403
  <customwidget>
404
   <class>VideoView</class>
Edric Milaret's avatar
Edric Milaret committed
405
   <extends>QWidget</extends>
406
   <header>videoview.h</header>
Edric Milaret's avatar
Edric Milaret committed
407 408
   <container>1</container>
  </customwidget>
Edric Milaret's avatar
Edric Milaret committed
409
 </customwidgets>
410 411 412
 <resources>
  <include location="ressources.qrc"/>
 </resources>
Edric Milaret's avatar
Edric Milaret committed
413 414
 <connections/>
</ui>