1<ui version="4.0" > 2 <class>chat</class> 3 <widget class="QWidget" name="chat" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>567</width> 9 <height>352</height> 10 </rect> 11 </property> 12 <property name="sizePolicy" > 13 <sizepolicy vsizetype="Expanding" hsizetype="Expanding" > 14 <horstretch>0</horstretch> 15 <verstretch>0</verstretch> 16 </sizepolicy> 17 </property> 18 <property name="focusPolicy" > 19 <enum>Qt::NoFocus</enum> 20 </property> 21 <property name="windowTitle" > 22 <string comment="VoIP Client" >Chat</string> 23 </property> 24 <property name="windowIcon" > 25 <iconset>chat_title.png</iconset> 26 </property> 27 <property name="styleSheet" > 28 <string>QWidget#chat { 29 background:#f7f5fd; 30} 31</string> 32 </property> 33 <property name="_yate_destroyonhide" stdset="0" > 34 <bool>true</bool> 35 </property> 36 <property name="_yate_keypress_redirect" stdset="0" > 37 <string>message</string> 38 </property> 39 <layout class="QVBoxLayout" > 40 <property name="spacing" > 41 <number>2</number> 42 </property> 43 <property name="leftMargin" > 44 <number>4</number> 45 </property> 46 <property name="topMargin" > 47 <number>4</number> 48 </property> 49 <property name="rightMargin" > 50 <number>4</number> 51 </property> 52 <property name="bottomMargin" > 53 <number>4</number> 54 </property> 55 <item> 56 <layout class="QHBoxLayout" > 57 <item> 58 <widget class="QToolButton" name="room_invite_btn" > 59 <property name="minimumSize" > 60 <size> 61 <width>30</width> 62 <height>30</height> 63 </size> 64 </property> 65 <property name="maximumSize" > 66 <size> 67 <width>30</width> 68 <height>30</height> 69 </size> 70 </property> 71 <property name="styleSheet" > 72 <string>QToolButton { 73 border: 1px solid #00b4ff; 74 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #eeeeee); 75} 76QToolButton:hover { 77 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #eeeeee, stop: 1 #ffffff); 78} 79QToolButton:pressed { 80 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #eeeeee); 81} 82QToolButton:disabled { 83 background: #eeeeee; 84} 85</string> 86 </property> 87 <property name="iconSize" > 88 <size> 89 <width>20</width> 90 <height>20</height> 91 </size> 92 </property> 93 <property name="autoRaise" > 94 <bool>true</bool> 95 </property> 96 <property name="_yate_identity" stdset="0" > 97 <string>room_invite</string> 98 </property> 99 <property name="_yate_setaction" stdset="0" > 100 <string>room_invite_contacts</string> 101 </property> 102 <property name="_yate_noautoconnect" stdset="0" > 103 <bool>true</bool> 104 </property> 105 <property name="_yate_normal_icon" stdset="0" > 106 <string>muc.png</string> 107 </property> 108 <property name="_yate_pressed_icon" stdset="0" > 109 <string>muc_pressed.png</string> 110 </property> 111 <property name="_yate_hover_icon" stdset="0" > 112 <string>muc_hover.png</string> 113 </property> 114 <property name="_yate_filterevents" stdset="0" > 115 <bool>true</bool> 116 </property> 117 </widget> 118 </item> 119 <item> 120 <widget class="QToolButton" name="send_file_btn" > 121 <property name="minimumSize" > 122 <size> 123 <width>30</width> 124 <height>30</height> 125 </size> 126 </property> 127 <property name="maximumSize" > 128 <size> 129 <width>30</width> 130 <height>30</height> 131 </size> 132 </property> 133 <property name="styleSheet" > 134 <string>QToolButton { 135 border: 1px solid #00b4ff; 136 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #eeeeee); 137} 138QToolButton:hover { 139 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #eeeeee, stop: 1 #ffffff); 140} 141QToolButton:pressed { 142 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #eeeeee); 143} 144QToolButton:disabled { 145 background: #eeeeee; 146} 147</string> 148 </property> 149 <property name="iconSize" > 150 <size> 151 <width>20</width> 152 <height>20</height> 153 </size> 154 </property> 155 <property name="autoRaise" > 156 <bool>true</bool> 157 </property> 158 <property name="_yate_identity" stdset="0" > 159 <string>send_file</string> 160 </property> 161 <property name="_yate_setaction" stdset="0" > 162 <string>chat_send_file</string> 163 </property> 164 <property name="_yate_noautoconnect" stdset="0" > 165 <bool>true</bool> 166 </property> 167 <property name="_yate_normal_icon" stdset="0" > 168 <string>sendfile_20.png</string> 169 </property> 170 <property name="_yate_pressed_icon" stdset="0" > 171 <string>sendfile_pressed_20.png</string> 172 </property> 173 <property name="_yate_hover_icon" stdset="0" > 174 <string>sendfile_hover_20.png</string> 175 </property> 176 <property name="_yate_filterevents" stdset="0" > 177 <bool>true</bool> 178 </property> 179 </widget> 180 </item> 181 <item> 182 <widget class="QToolButton" name="share_file_btn" > 183 <property name="enabled" > 184 <bool>true</bool> 185 </property> 186 <property name="minimumSize" > 187 <size> 188 <width>30</width> 189 <height>30</height> 190 </size> 191 </property> 192 <property name="maximumSize" > 193 <size> 194 <width>30</width> 195 <height>30</height> 196 </size> 197 </property> 198 <property name="styleSheet" > 199 <string>QToolButton { 200 border: 1px solid #00b4ff; 201 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #eeeeee); 202} 203QToolButton:hover { 204 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #eeeeee, stop: 1 #ffffff); 205} 206QToolButton:pressed { 207 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #eeeeee); 208} 209QToolButton:disabled { 210 background: #eeeeee; 211} 212</string> 213 </property> 214 <property name="iconSize" > 215 <size> 216 <width>20</width> 217 <height>20</height> 218 </size> 219 </property> 220 <property name="autoRaise" > 221 <bool>true</bool> 222 </property> 223 <property name="_yate_identity" stdset="0" > 224 <string>share_file</string> 225 </property> 226 <property name="_yate_setaction" stdset="0" > 227 <string>chat_share_file</string> 228 </property> 229 <property name="_yate_noautoconnect" stdset="0" > 230 <bool>true</bool> 231 </property> 232 <property name="_yate_normal_icon" stdset="0" > 233 <string>sharefile_none_20.png</string> 234 </property> 235 <property name="_yate_pressed_icon" stdset="0" > 236 <string>sharefile_none_pressed_20.png</string> 237 </property> 238 <property name="_yate_hover_icon" stdset="0" > 239 <string>sharefile_none_hover_20.png</string> 240 </property> 241 <property name="_yate_filterevents" stdset="0" > 242 <bool>true</bool> 243 </property> 244 </widget> 245 </item> 246 <item> 247 <widget class="QToolButton" name="shared_file_btn" > 248 <property name="minimumSize" > 249 <size> 250 <width>30</width> 251 <height>30</height> 252 </size> 253 </property> 254 <property name="maximumSize" > 255 <size> 256 <width>30</width> 257 <height>30</height> 258 </size> 259 </property> 260 <property name="styleSheet" > 261 <string>QToolButton { 262 border: 1px solid #00b4ff; 263 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #eeeeee); 264} 265QToolButton:hover { 266 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #eeeeee, stop: 1 #ffffff); 267} 268QToolButton:pressed { 269 background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #eeeeee); 270} 271QToolButton:disabled { 272 background: #eeeeee; 273} 274</string> 275 </property> 276 <property name="iconSize" > 277 <size> 278 <width>20</width> 279 <height>20</height> 280 </size> 281 </property> 282 <property name="autoRaise" > 283 <bool>true</bool> 284 </property> 285 <property name="_yate_identity" stdset="0" > 286 <string>shared_file</string> 287 </property> 288 <property name="_yate_setaction" stdset="0" > 289 <string>chat_shared_file</string> 290 </property> 291 <property name="_yate_noautoconnect" stdset="0" > 292 <bool>true</bool> 293 </property> 294 <property name="_yate_normal_icon" stdset="0" > 295 <string>sharedfile_20.png</string> 296 </property> 297 <property name="_yate_pressed_icon" stdset="0" > 298 <string>sharedfile_pressed_20.png</string> 299 </property> 300 <property name="_yate_hover_icon" stdset="0" > 301 <string>sharedfile_hover_20.png</string> 302 </property> 303 <property name="_yate_filterevents" stdset="0" > 304 <bool>true</bool> 305 </property> 306 </widget> 307 </item> 308 <item> 309 <widget class="QLabel" name="name" > 310 <property name="sizePolicy" > 311 <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 312 <horstretch>0</horstretch> 313 <verstretch>0</verstretch> 314 </sizepolicy> 315 </property> 316 <property name="minimumSize" > 317 <size> 318 <width>0</width> 319 <height>30</height> 320 </size> 321 </property> 322 <property name="maximumSize" > 323 <size> 324 <width>16777215</width> 325 <height>30</height> 326 </size> 327 </property> 328 <property name="font" > 329 <font> 330 <family>Arial</family> 331 <pointsize>-1</pointsize> 332 </font> 333 </property> 334 <property name="autoFillBackground" > 335 <bool>false</bool> 336 </property> 337 <property name="styleSheet" > 338 <string>QLabel {font-family: Arial; font-size: 14px;}</string> 339 </property> 340 <property name="alignment" > 341 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 342 </property> 343 <property name="indent" > 344 <number>2</number> 345 </property> 346 </widget> 347 </item> 348 </layout> 349 </item> 350 <item> 351 <widget class="QFrame" name="frame_history" > 352 <property name="sizePolicy" > 353 <sizepolicy vsizetype="Expanding" hsizetype="Expanding" > 354 <horstretch>0</horstretch> 355 <verstretch>0</verstretch> 356 </sizepolicy> 357 </property> 358 <property name="minimumSize" > 359 <size> 360 <width>0</width> 361 <height>0</height> 362 </size> 363 </property> 364 <property name="maximumSize" > 365 <size> 366 <width>16777215</width> 367 <height>16777215</height> 368 </size> 369 </property> 370 <property name="_yate_uiwidget" stdset="0" > 371 <bool>true</bool> 372 </property> 373 <property name="_yate_uiwidget_name" stdset="0" > 374 <string>history</string> 375 </property> 376 <property name="_yate_uiwidget_class" stdset="0" > 377 <string>CustomTextEdit</string> 378 </property> 379 <property name="_yate_uiwidget_params" stdset="0" > 380 <stringlist> 381 <string>property:readOnly=true</string> 382 <string>property:history:_yate_tempitemname=tempnotify</string> 383 <string>set_richtext_item=chat_in:<font color="red">[${time}] ${sender}:</font><font color="black"> ${text}</font></string> 384 <string>set_richtext_item=chat_out:<font color="blue">[${time}] ${sender}:</font><font color="black"> ${text}</font></string> 385 <string>set_richtext_item=chat_delayed:<font color="darkgreen">[${time}] ${sender}:</font><font color="black"> ${text}</font><font color="darkgreen">${delayed_by}</font></string> 386 <string>set_richtext_item=notify:<font color="grey">[${time}] ${text}</font></string> 387 <string>set_richtext_item=tempnotify:<font color="grey">${text}</font></string> 388 </stringlist> 389 </property> 390 <property name="_yate_frame_custom" stdset="0" > 391 <bool>true</bool> 392 </property> 393 </widget> 394 </item> 395 <item> 396 <widget class="QFrame" name="frame_edit" > 397 <property name="sizePolicy" > 398 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 399 <horstretch>0</horstretch> 400 <verstretch>0</verstretch> 401 </sizepolicy> 402 </property> 403 <property name="minimumSize" > 404 <size> 405 <width>16</width> 406 <height>60</height> 407 </size> 408 </property> 409 <property name="maximumSize" > 410 <size> 411 <width>16777215</width> 412 <height>60</height> 413 </size> 414 </property> 415 <property name="frameShape" > 416 <enum>QFrame::NoFrame</enum> 417 </property> 418 <property name="frameShadow" > 419 <enum>QFrame::Plain</enum> 420 </property> 421 <layout class="QHBoxLayout" > 422 <property name="spacing" > 423 <number>4</number> 424 </property> 425 <property name="leftMargin" > 426 <number>0</number> 427 </property> 428 <property name="topMargin" > 429 <number>0</number> 430 </property> 431 <property name="rightMargin" > 432 <number>0</number> 433 </property> 434 <property name="bottomMargin" > 435 <number>0</number> 436 </property> 437 <item> 438 <widget class="QFrame" name="frame" > 439 <property name="sizePolicy" > 440 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 441 <horstretch>0</horstretch> 442 <verstretch>0</verstretch> 443 </sizepolicy> 444 </property> 445 <property name="minimumSize" > 446 <size> 447 <width>16</width> 448 <height>54</height> 449 </size> 450 </property> 451 <property name="maximumSize" > 452 <size> 453 <width>16777215</width> 454 <height>54</height> 455 </size> 456 </property> 457 <property name="_yate_frame_custom" stdset="0" > 458 <bool>true</bool> 459 </property> 460 <layout class="QVBoxLayout" > 461 <property name="spacing" > 462 <number>0</number> 463 </property> 464 <property name="leftMargin" > 465 <number>0</number> 466 </property> 467 <property name="topMargin" > 468 <number>0</number> 469 </property> 470 <property name="rightMargin" > 471 <number>0</number> 472 </property> 473 <property name="bottomMargin" > 474 <number>0</number> 475 </property> 476 <item> 477 <widget class="QTextEdit" name="message" > 478 <property name="sizePolicy" > 479 <sizepolicy vsizetype="Expanding" hsizetype="Expanding" > 480 <horstretch>0</horstretch> 481 <verstretch>0</verstretch> 482 </sizepolicy> 483 </property> 484 <property name="focusPolicy" > 485 <enum>Qt::StrongFocus</enum> 486 </property> 487 <property name="styleSheet" > 488 <string/> 489 </property> 490 <property name="tabChangesFocus" > 491 <bool>true</bool> 492 </property> 493 <property name="textInteractionFlags" > 494 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::NoTextInteraction|Qt::TextBrowserInteraction|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set> 495 </property> 496 <property name="_yate_filterevents" stdset="0" > 497 <bool>true</bool> 498 </property> 499 <property name="dynamicActionEnter" stdset="0" > 500 <string>send_chat</string> 501 </property> 502 <property name="dynamicActionEnterModifiers" stdset="0" > 503 <string>Ctrl+, Shift+</string> 504 </property> 505 <property name="dynamicActionReturn" stdset="0" > 506 <string>send_chat</string> 507 </property> 508 <property name="dynamicActionReturnFilter" stdset="0" > 509 <bool>true</bool> 510 </property> 511 <property name="_yate_textchangednotify" stdset="0" > 512 <bool>true</bool> 513 </property> 514 <property name="_yate_identity" stdset="0" > 515 <string>message</string> 516 </property> 517 </widget> 518 </item> 519 </layout> 520 </widget> 521 </item> 522 <item> 523 <widget class="QToolButton" name="send_chat_button" > 524 <property name="minimumSize" > 525 <size> 526 <width>60</width> 527 <height>54</height> 528 </size> 529 </property> 530 <property name="maximumSize" > 531 <size> 532 <width>60</width> 533 <height>54</height> 534 </size> 535 </property> 536 <property name="focusPolicy" > 537 <enum>Qt::NoFocus</enum> 538 </property> 539 <property name="toolTip" > 540 <string>Send chat</string> 541 </property> 542 <property name="iconSize" > 543 <size> 544 <width>48</width> 545 <height>48</height> 546 </size> 547 </property> 548 <property name="autoRaise" > 549 <bool>true</bool> 550 </property> 551 <property name="_yate_setaction" stdset="0" > 552 <string>send_chat</string> 553 </property> 554 <property name="_yate_noautoconnect" stdset="0" > 555 <bool>true</bool> 556 </property> 557 <property name="_yate_normal_icon" stdset="0" > 558 <string>sendchat.png</string> 559 </property> 560 <property name="_yate_pressed_icon" stdset="0" > 561 <string>sendchat_pressed.png</string> 562 </property> 563 <property name="_yate_hover_icon" stdset="0" > 564 <string>sendchat_hover.png</string> 565 </property> 566 <property name="_yate_filterevents" stdset="0" > 567 <bool>true</bool> 568 </property> 569 </widget> 570 </item> 571 </layout> 572 </widget> 573 </item> 574 <item> 575 <widget class="QFrame" name="frame_status" > 576 <property name="sizePolicy" > 577 <sizepolicy vsizetype="Fixed" hsizetype="Expanding" > 578 <horstretch>0</horstretch> 579 <verstretch>0</verstretch> 580 </sizepolicy> 581 </property> 582 <property name="minimumSize" > 583 <size> 584 <width>16</width> 585 <height>24</height> 586 </size> 587 </property> 588 <property name="maximumSize" > 589 <size> 590 <width>16777215</width> 591 <height>24</height> 592 </size> 593 </property> 594 <property name="frameShape" > 595 <enum>QFrame::NoFrame</enum> 596 </property> 597 <property name="frameShadow" > 598 <enum>QFrame::Plain</enum> 599 </property> 600 <layout class="QHBoxLayout" > 601 <property name="spacing" > 602 <number>0</number> 603 </property> 604 <property name="leftMargin" > 605 <number>1</number> 606 </property> 607 <property name="topMargin" > 608 <number>1</number> 609 </property> 610 <property name="rightMargin" > 611 <number>1</number> 612 </property> 613 <property name="bottomMargin" > 614 <number>1</number> 615 </property> 616 <item> 617 <widget class="QLabel" name="status_image" > 618 <property name="sizePolicy" > 619 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 620 <horstretch>0</horstretch> 621 <verstretch>0</verstretch> 622 </sizepolicy> 623 </property> 624 <property name="minimumSize" > 625 <size> 626 <width>16</width> 627 <height>16</height> 628 </size> 629 </property> 630 <property name="maximumSize" > 631 <size> 632 <width>16</width> 633 <height>16</height> 634 </size> 635 </property> 636 <property name="scaledContents" > 637 <bool>true</bool> 638 </property> 639 <property name="alignment" > 640 <set>Qt::AlignCenter</set> 641 </property> 642 </widget> 643 </item> 644 <item> 645 <widget class="QLabel" name="status_text" > 646 <property name="sizePolicy" > 647 <sizepolicy vsizetype="Preferred" hsizetype="Expanding" > 648 <horstretch>0</horstretch> 649 <verstretch>0</verstretch> 650 </sizepolicy> 651 </property> 652 <property name="styleSheet" > 653 <string/> 654 </property> 655 <property name="indent" > 656 <number>4</number> 657 </property> 658 </widget> 659 </item> 660 <item> 661 <widget class="QLabel" name="account_image" > 662 <property name="sizePolicy" > 663 <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > 664 <horstretch>0</horstretch> 665 <verstretch>0</verstretch> 666 </sizepolicy> 667 </property> 668 <property name="minimumSize" > 669 <size> 670 <width>16</width> 671 <height>16</height> 672 </size> 673 </property> 674 <property name="maximumSize" > 675 <size> 676 <width>16</width> 677 <height>16</height> 678 </size> 679 </property> 680 <property name="toolTip" > 681 <string>Account</string> 682 </property> 683 <property name="pixmap" > 684 <pixmap>user.png</pixmap> 685 </property> 686 </widget> 687 </item> 688 <item> 689 <widget class="QLabel" name="account" > 690 <property name="sizePolicy" > 691 <sizepolicy vsizetype="Expanding" hsizetype="Minimum" > 692 <horstretch>0</horstretch> 693 <verstretch>0</verstretch> 694 </sizepolicy> 695 </property> 696 <property name="minimumSize" > 697 <size> 698 <width>0</width> 699 <height>0</height> 700 </size> 701 </property> 702 <property name="maximumSize" > 703 <size> 704 <width>16777215</width> 705 <height>16777215</height> 706 </size> 707 </property> 708 <property name="toolTip" > 709 <string>Account</string> 710 </property> 711 <property name="text" > 712 <string/> 713 </property> 714 <property name="indent" > 715 <number>5</number> 716 </property> 717 </widget> 718 </item> 719 </layout> 720 </widget> 721 </item> 722 </layout> 723 <action name="send_chat" > 724 <property name="icon" > 725 <iconset>sendchat.png</iconset> 726 </property> 727 <property name="text" > 728 <string>Send</string> 729 </property> 730 <property name="_yate_identity" stdset="0" > 731 <string>send_chat</string> 732 </property> 733 </action> 734 <action name="room_invite_contacts" > 735 <property name="icon" > 736 <iconset>muc.png</iconset> 737 </property> 738 <property name="text" > 739 <string>Create chat room</string> 740 </property> 741 <property name="_yate_identity" stdset="0" > 742 <string>room_invite_contacts</string> 743 </property> 744 </action> 745 <action name="chat_send_file" > 746 <property name="icon" > 747 <iconset>sendfile_20.png</iconset> 748 </property> 749 <property name="text" > 750 <string>Send file</string> 751 </property> 752 <property name="_yate_identity" stdset="0" > 753 <string>send_file</string> 754 </property> 755 </action> 756 <action name="chat_share_file" > 757 <property name="icon" > 758 <iconset>sharefile_none_20.png</iconset> 759 </property> 760 <property name="text" > 761 <string>Share Files</string> 762 </property> 763 <property name="_yate_identity" stdset="0" > 764 <string>share_file</string> 765 </property> 766 </action> 767 <action name="chat_shared_file" > 768 <property name="icon" > 769 <iconset>sharedfile_20.png</iconset> 770 </property> 771 <property name="text" > 772 <string>Shared files</string> 773 </property> 774 <property name="_yate_identity" stdset="0" > 775 <string>shared_file</string> 776 </property> 777 </action> 778 </widget> 779 <resources/> 780 <connections/> 781</ui> 782