audio_session.ui 17.7 KB
Newer Older
Dan Pascu's avatar
Dan Pascu committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>session</class>
 <widget class="QWidget" name="session">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>304</width>
    <height>66</height>
Dan Pascu's avatar
Dan Pascu committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
   </rect>
  </property>
  <property name="windowTitle">
   <string>Session</string>
  </property>
  <layout class="QVBoxLayout" name="session_layout">
   <property name="spacing">
    <number>0</number>
   </property>
   <property name="leftMargin">
    <number>5</number>
   </property>
   <property name="topMargin">
    <number>4</number>
   </property>
   <property name="rightMargin">
    <number>5</number>
   </property>
   <property name="bottomMargin">
    <number>4</number>
   </property>
   <item>
    <layout class="QHBoxLayout" name="address_layout">
     <property name="spacing">
      <number>0</number>
     </property>
     <property name="leftMargin">
      <number>1</number>
     </property>
     <property name="rightMargin">
      <number>1</number>
     </property>
     <item>
Dan Pascu's avatar
Dan Pascu committed
44
      <widget class="QLabel" name="address_label">
Dan Pascu's avatar
Dan Pascu committed
45 46 47 48 49 50 51 52 53 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 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="font">
        <font>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
        <string>test@example.com</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="normalizer">
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>15</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>1</width>
         <height>15</height>
        </size>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="tls_label">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>14</width>
         <height>14</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>14</width>
         <height>14</height>
        </size>
       </property>
Adrian Georgescu's avatar
Adrian Georgescu committed
101
       <property name="toolTip">
Dan Pascu's avatar
Dan Pascu committed
102
        <string>Session is encrypted using TLS</string>
Adrian Georgescu's avatar
Adrian Georgescu committed
103
       </property>
Dan Pascu's avatar
Dan Pascu committed
104
       <property name="pixmap">
Dan Pascu's avatar
Dan Pascu committed
105
        <pixmap>icons/lock-blue-12.svg</pixmap>
Dan Pascu's avatar
Dan Pascu committed
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <layout class="QHBoxLayout" name="stream_layout">
     <property name="spacing">
      <number>5</number>
     </property>
     <property name="leftMargin">
      <number>1</number>
     </property>
     <property name="rightMargin">
      <number>1</number>
     </property>
     <item>
126
      <widget class="StreamInfoLabel" name="stream_info_label">
Dan Pascu's avatar
Dan Pascu committed
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
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
        <string>Audio (PCM 8kHz)</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="normalizer_2">
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>15</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>1</width>
         <height>15</height>
        </size>
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </item>
     <item>
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
      <widget class="PacketLossLabel" name="packet_loss_label">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>14</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>16777215</width>
         <height>14</height>
        </size>
       </property>
       <property name="palette">
        <palette>
         <active>
          <colorrole role="WindowText">
           <brush brushstyle="SolidPattern">
            <color alpha="255">
             <red>170</red>
             <green>0</green>
             <blue>0</blue>
            </color>
           </brush>
          </colorrole>
          <colorrole role="Text">
           <brush brushstyle="SolidPattern">
            <color alpha="255">
             <red>170</red>
             <green>0</green>
             <blue>0</blue>
            </color>
           </brush>
          </colorrole>
         </active>
         <inactive>
          <colorrole role="WindowText">
           <brush brushstyle="SolidPattern">
            <color alpha="255">
             <red>170</red>
             <green>0</green>
             <blue>0</blue>
            </color>
           </brush>
          </colorrole>
          <colorrole role="Text">
           <brush brushstyle="SolidPattern">
            <color alpha="255">
             <red>170</red>
             <green>0</green>
             <blue>0</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="font">
        <font>
         <pointsize>8</pointsize>
        </font>
       </property>
       <property name="text">
        <string>Packet loss 20%</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
     </item>
     <item>
      <widget class="LatencyLabel" name="latency_label">
Dan Pascu's avatar
Dan Pascu committed
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343
       <property name="sizePolicy">
        <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>14</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>16777215</width>
         <height>14</height>
        </size>
       </property>
       <property name="palette">
        <palette>
         <active>
          <colorrole role="WindowText">
           <brush brushstyle="SolidPattern">
            <color alpha="255">
             <red>170</red>
             <green>0</green>
             <blue>0</blue>
            </color>
           </brush>
          </colorrole>
          <colorrole role="Text">
           <brush brushstyle="SolidPattern">
            <color alpha="255">
             <red>170</red>
             <green>0</green>
             <blue>0</blue>
            </color>
           </brush>
          </colorrole>
         </active>
         <inactive>
          <colorrole role="WindowText">
           <brush brushstyle="SolidPattern">
            <color alpha="255">
             <red>170</red>
             <green>0</green>
             <blue>0</blue>
            </color>
           </brush>
          </colorrole>
          <colorrole role="Text">
           <brush brushstyle="SolidPattern">
            <color alpha="255">
             <red>170</red>
             <green>0</green>
             <blue>0</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="font">
        <font>
         <pointsize>8</pointsize>
        </font>
       </property>
       <property name="text">
Dan Pascu's avatar
Dan Pascu committed
344
        <string>Latency 100ms</string>
Dan Pascu's avatar
Dan Pascu committed
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="srtp_label">
       <property name="minimumSize">
        <size>
         <width>14</width>
         <height>14</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>14</width>
         <height>14</height>
        </size>
       </property>
Adrian Georgescu's avatar
Adrian Georgescu committed
365
       <property name="toolTip">
Dan Pascu's avatar
Dan Pascu committed
366
        <string>Media is encrypted using SRTP</string>
Adrian Georgescu's avatar
Adrian Georgescu committed
367
       </property>
Dan Pascu's avatar
Dan Pascu committed
368
       <property name="pixmap">
Dan Pascu's avatar
Dan Pascu committed
369
        <pixmap>icons/lock-orange-12.svg</pixmap>
Dan Pascu's avatar
Dan Pascu committed
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
       </property>
       <property name="alignment">
        <set>Qt::AlignCenter</set>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <layout class="QHBoxLayout" name="bottom_layout">
     <property name="spacing">
      <number>7</number>
     </property>
     <property name="leftMargin">
      <number>1</number>
     </property>
     <item>
387
      <widget class="DurationLabel" name="duration_label">
Dan Pascu's avatar
Dan Pascu committed
388 389 390 391 392 393
       <property name="text">
        <string>0:00:00</string>
       </property>
      </widget>
     </item>
     <item>
394
      <widget class="StatusLabel" name="status_label">
Dan Pascu's avatar
Dan Pascu committed
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421
       <property name="sizePolicy">
        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
      </widget>
     </item>
     <item>
      <layout class="QHBoxLayout" name="button_layout">
       <property name="spacing">
        <number>0</number>
       </property>
       <item>
        <widget class="SegmentButton" name="mute_button">
         <property name="minimumSize">
          <size>
           <width>18</width>
           <height>16</height>
          </size>
         </property>
         <property name="maximumSize">
          <size>
           <width>18</width>
           <height>16</height>
          </size>
         </property>
Adrian Georgescu's avatar
Adrian Georgescu committed
422 423 424
         <property name="toolTip">
          <string>Mute this participant</string>
         </property>
Dan Pascu's avatar
Dan Pascu committed
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442
         <property name="styleSheet">
          <string>QToolButton#mute_button {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fafafa, stop:1 #bababa);
	border-color: #545454;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	border-width: 1px;
	border-style: solid;
}

QToolButton#mute_button:pressed {
	background: qradialgradient(cx:0.5, cy:0.5, radius:1, fx:0.5, fy:0.5, stop:0 #dddddd, stop:1 #777777);
	border-style: inset;
}
</string>
         </property>
         <property name="icon">
          <iconset>
443 444
           <normaloff>icons/mic12-on.svg</normaloff>
           <normalon>icons/mic12-off.svg</normalon>icons/mic12-on.svg</iconset>
Dan Pascu's avatar
Dan Pascu committed
445 446 447
         </property>
         <property name="iconSize">
          <size>
448 449
           <width>12</width>
           <height>12</height>
Dan Pascu's avatar
Dan Pascu committed
450 451 452 453 454
          </size>
         </property>
         <property name="checkable">
          <bool>true</bool>
         </property>
455 456 457
         <property name="autoRaise">
          <bool>true</bool>
         </property>
Dan Pascu's avatar
Dan Pascu committed
458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
        </widget>
       </item>
       <item>
        <widget class="SegmentButton" name="hold_button">
         <property name="minimumSize">
          <size>
           <width>18</width>
           <height>16</height>
          </size>
         </property>
         <property name="maximumSize">
          <size>
           <width>18</width>
           <height>16</height>
          </size>
         </property>
Adrian Georgescu's avatar
Adrian Georgescu committed
474
         <property name="toolTip">
Dan Pascu's avatar
Dan Pascu committed
475
          <string>Hold the call</string>
Adrian Georgescu's avatar
Adrian Georgescu committed
476
         </property>
Dan Pascu's avatar
Dan Pascu committed
477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493
         <property name="styleSheet">
          <string>QToolButton {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fafafa, stop:1 #bababa);
	border-color: #545454;
	border-width: 1px;
	border-left-width: 0px;
	border-style: solid;
}

QToolButton:pressed {
	background: qradialgradient(cx:0.5, cy:0.5, radius:1, fx:0.5, fy:0.5, stop:0 #dddddd, stop:1 #777777);
	border-style: inset;
}
</string>
         </property>
         <property name="icon">
          <iconset>
494 495
           <normaloff>icons/pause12.svg</normaloff>
           <normalon>icons/paused12.svg</normalon>icons/pause12.svg</iconset>
Dan Pascu's avatar
Dan Pascu committed
496 497 498
         </property>
         <property name="iconSize">
          <size>
499 500
           <width>12</width>
           <height>12</height>
Dan Pascu's avatar
Dan Pascu committed
501 502 503 504 505
          </size>
         </property>
         <property name="checkable">
          <bool>true</bool>
         </property>
506 507 508
         <property name="autoRaise">
          <bool>true</bool>
         </property>
Dan Pascu's avatar
Dan Pascu committed
509 510 511
        </widget>
       </item>
       <item>
512
        <widget class="RecordButton" name="record_button">
Dan Pascu's avatar
Dan Pascu committed
513 514 515 516 517 518 519 520 521 522 523 524
         <property name="minimumSize">
          <size>
           <width>18</width>
           <height>16</height>
          </size>
         </property>
         <property name="maximumSize">
          <size>
           <width>18</width>
           <height>16</height>
          </size>
         </property>
Adrian Georgescu's avatar
Adrian Georgescu committed
525
         <property name="toolTip">
Dan Pascu's avatar
Dan Pascu committed
526
          <string>Record this call</string>
Adrian Georgescu's avatar
Adrian Georgescu committed
527
         </property>
Dan Pascu's avatar
Dan Pascu committed
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544
         <property name="styleSheet">
          <string>QToolButton {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fafafa, stop:1 #bababa);
	border-color: #545454;
	border-width: 1px;
	border-left-width: 0px;
	border-style: solid;
}

QToolButton:pressed {
	background: qradialgradient(cx:0.5, cy:0.5, radius:1, fx:0.5, fy:0.5, stop:0 #dddddd, stop:1 #777777);
	border-style: inset;
}
</string>
         </property>
         <property name="icon">
          <iconset>
545 546
           <normaloff>icons/record12.svg</normaloff>
           <normalon>icons/recording12.svg</normalon>icons/record12.svg</iconset>
Dan Pascu's avatar
Dan Pascu committed
547 548 549
         </property>
         <property name="iconSize">
          <size>
550 551
           <width>12</width>
           <height>12</height>
Dan Pascu's avatar
Dan Pascu committed
552 553
          </size>
         </property>
554 555 556
         <property name="checkable">
          <bool>true</bool>
         </property>
557 558 559
         <property name="autoRaise">
          <bool>true</bool>
         </property>
Dan Pascu's avatar
Dan Pascu committed
560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575
        </widget>
       </item>
       <item>
        <widget class="SegmentButton" name="hangup_button">
         <property name="minimumSize">
          <size>
           <width>17</width>
           <height>16</height>
          </size>
         </property>
         <property name="maximumSize">
          <size>
           <width>17</width>
           <height>16</height>
          </size>
         </property>
Adrian Georgescu's avatar
Adrian Georgescu committed
576 577 578
         <property name="toolTip">
          <string>Hangup</string>
         </property>
Dan Pascu's avatar
Dan Pascu committed
579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597
         <property name="styleSheet">
          <string>QToolButton {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #fafafa, stop:1 #bababa);
	border-color: #545454;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-width: 1px;
	border-left-width: 0px;
	border-style: solid;
}

QToolButton:pressed {
	background: qradialgradient(cx:0.5, cy:0.5, radius:1, fx:0.5, fy:0.5, stop:0 #dddddd, stop:1 #777777);
	border-style: inset;
}
</string>
         </property>
         <property name="icon">
          <iconset>
598
           <normaloff>icons/handset12-red.svg</normaloff>icons/handset12-red.svg</iconset>
Dan Pascu's avatar
Dan Pascu committed
599 600 601
         </property>
         <property name="iconSize">
          <size>
602 603
           <width>12</width>
           <height>12</height>
Dan Pascu's avatar
Dan Pascu committed
604 605
          </size>
         </property>
606 607 608
         <property name="autoRaise">
          <bool>true</bool>
         </property>
Dan Pascu's avatar
Dan Pascu committed
609 610 611 612 613 614 615 616 617
        </widget>
       </item>
      </layout>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <customwidgets>
Dan Pascu's avatar
Dan Pascu committed
618 619 620 621 622
  <customwidget>
   <class>DurationLabel</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
Dan Pascu's avatar
Dan Pascu committed
623 624 625 626 627
  <customwidget>
   <class>SegmentButton</class>
   <extends>QToolButton</extends>
   <header>blink.widgets.buttons</header>
  </customwidget>
628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
  <customwidget>
   <class>StreamInfoLabel</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
  <customwidget>
   <class>LatencyLabel</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
  <customwidget>
   <class>PacketLossLabel</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
643 644 645 646 647 648 649 650 651 652
  <customwidget>
   <class>StatusLabel</class>
   <extends>QLabel</extends>
   <header>blink.widgets.labels</header>
  </customwidget>
  <customwidget>
   <class>RecordButton</class>
   <extends>QToolButton</extends>
   <header>blink.widgets.buttons</header>
  </customwidget>
Dan Pascu's avatar
Dan Pascu committed
653 654 655 656
 </customwidgets>
 <resources/>
 <connections/>
</ui>