2019-04-08 21:40:49 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>Conversation</class>
|
|
|
|
<widget class="QWidget" name="Conversation">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2020-03-30 21:17:10 +00:00
|
|
|
<width>520</width>
|
|
|
|
<height>658</height>
|
2019-04-08 21:40:49 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
2020-04-11 20:00:15 +00:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>2</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2020-04-14 16:30:33 +00:00
|
|
|
<property name="acceptDrops">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2019-04-08 21:40:49 +00:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2020-04-14 16:30:33 +00:00
|
|
|
<item row="0" column="0">
|
2020-03-30 21:17:10 +00:00
|
|
|
<widget class="QWidget" name="widget" native="true">
|
2019-04-08 21:40:49 +00:00
|
|
|
<property name="sizePolicy">
|
2020-03-30 21:17:10 +00:00
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
2019-04-08 21:40:49 +00:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
2019-04-08 21:40:49 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>100</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="leftMargin">
|
2019-06-19 14:15:20 +00:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="topMargin">
|
2019-06-19 14:15:20 +00:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
2019-06-19 14:15:20 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
2019-04-11 14:58:59 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="statusIcon">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="scaledContents">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
2019-04-11 14:58:59 +00:00
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="nameLabel">
|
2020-04-14 16:30:33 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="statusLabel">
|
2020-04-12 15:55:05 +00:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2020-04-14 16:30:33 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>8</pointsize>
|
|
|
|
<italic>true</italic>
|
|
|
|
</font>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
2020-04-12 15:55:05 +00:00
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="openExternalLinks">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="textInteractionFlags">
|
|
|
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
2019-04-11 14:58:59 +00:00
|
|
|
</property>
|
2020-04-12 15:55:05 +00:00
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Preferred</enum>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
2020-04-12 15:55:05 +00:00
|
|
|
<width>0</width>
|
2020-03-30 21:17:10 +00:00
|
|
|
<height>20</height>
|
|
|
|
</size>
|
2019-04-11 14:58:59 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="historyStatus">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
2019-04-11 14:58:59 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="avatar">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>60</width>
|
|
|
|
<height>60</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="baseSize">
|
|
|
|
<size>
|
|
|
|
<width>50</width>
|
|
|
|
<height>50</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="scaledContents">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>5</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-04-14 16:30:33 +00:00
|
|
|
<item row="1" column="0">
|
2020-03-30 21:17:10 +00:00
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="sizeConstraint">
|
|
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="panel" native="true">
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
2019-04-09 15:04:08 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
2019-04-09 15:04:08 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
2019-04-09 15:04:08 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
2019-10-05 11:27:39 +00:00
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="smilesButton">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2021-10-06 14:45:10 +00:00
|
|
|
<iconset theme="smiley-shape" resource="../../resources/resources.qrc">
|
|
|
|
<normaloff>:/images/fallback/dark/big/unfavorite.svg</normaloff>:/images/fallback/dark/big/unfavorite.svg</iconset>
|
2020-03-30 21:17:10 +00:00
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-02-20 19:10:09 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="Badge" name="currentActionBadge">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-03-30 21:17:10 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2023-03-15 18:17:44 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="encryptionButton">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="unlock"/>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="default">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-03-30 21:17:10 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="attachButton">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2021-10-06 14:45:10 +00:00
|
|
|
<iconset theme="mail-attachment-symbolic" resource="../../resources/resources.qrc">
|
|
|
|
<normaloff>:/images/fallback/dark/big/mail-attachment.svg</normaloff>:/images/fallback/dark/big/mail-attachment.svg</iconset>
|
2020-03-30 21:17:10 +00:00
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="clearButton">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2021-10-06 14:45:10 +00:00
|
|
|
<iconset theme="edit-clear-all" resource="../../resources/resources.qrc">
|
|
|
|
<normaloff>:/images/fallback/dark/big/clean.svg</normaloff>:/images/fallback/dark/big/clean.svg</iconset>
|
2020-03-30 21:17:10 +00:00
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="sendButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2021-10-06 14:45:10 +00:00
|
|
|
<iconset theme="document-send" resource="../../resources/resources.qrc">
|
|
|
|
<normaloff>:/images/fallback/dark/big/send.svg</normaloff>:/images/fallback/dark/big/send.svg</iconset>
|
2020-03-30 21:17:10 +00:00
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="filesPanel" native="true">
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QTextEdit" name="messageEditor">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>30</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="baseSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>30</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2022-03-29 16:05:24 +00:00
|
|
|
<property name="contextMenuPolicy">
|
|
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
|
|
</property>
|
2020-03-30 21:17:10 +00:00
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QTextEdit {
|
|
|
|
background-color: transparent
|
|
|
|
}</string>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="verticalScrollBarPolicy">
|
|
|
|
<enum>Qt::ScrollBarAsNeeded</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeAdjustPolicy">
|
|
|
|
<enum>QAbstractScrollArea::AdjustIgnored</enum>
|
|
|
|
</property>
|
|
|
|
<property name="html">
|
|
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
|
|
p, li { white-space: pre-wrap; }
|
2022-02-20 19:10:09 +00:00
|
|
|
</style></head><body style=" font-family:'Noto Sans'; font-size:8pt; font-weight:400; font-style:normal;">
|
2022-03-29 16:05:24 +00:00
|
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string>
|
2020-03-30 21:17:10 +00:00
|
|
|
</property>
|
|
|
|
<property name="acceptRichText">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>Type your message here...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
<zorder>messageEditor</zorder>
|
|
|
|
<zorder>filesPanel</zorder>
|
|
|
|
<zorder>panel</zorder>
|
2019-04-08 21:40:49 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2022-02-20 19:10:09 +00:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>Badge</class>
|
|
|
|
<extends>QFrame</extends>
|
|
|
|
<header location="global">ui/utils/badge.h</header>
|
2022-03-29 16:05:24 +00:00
|
|
|
<container>1</container>
|
2022-02-20 19:10:09 +00:00
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2021-10-06 14:45:10 +00:00
|
|
|
<resources>
|
|
|
|
<include location="../../resources/resources.qrc"/>
|
|
|
|
</resources>
|
2019-04-08 21:40:49 +00:00
|
|
|
<connections/>
|
|
|
|
</ui>
|