mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
318 lines
9.0 KiB
XML
318 lines
9.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>AboutFriendForm</class>
|
|
<widget class="QDialog" name="AboutUser">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>506</width>
|
|
<height>473</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="1">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="userName">
|
|
<property name="text">
|
|
<string>username</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignBottom">
|
|
<widget class="QLabel" name="statusMessage">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>status message</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="avatar">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>75</width>
|
|
<height>75</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap>../../../img/contact_dark.svg</pixmap>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="labelAlignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LeftToRight</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Public key:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="publicKey">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="mouseTracking">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="acceptDrops">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="inputMask">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="cursorPosition">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="cursorMoveStyle">
|
|
<enum>Qt::LogicalMoveStyle</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Used aliases:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="aliases">
|
|
<property name="text">
|
|
<string>HISTORY OF ALIASES</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::PlainText</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="autoacceptfile">
|
|
<property name="accessibleDescription">
|
|
<string>Automatically accept files from contact if set</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Auto accept files</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Default directory to save files:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="1">
|
|
<widget class="QPushButton" name="selectSaveDir">
|
|
<property name="text">
|
|
<string>Auto accept for this contact is disabled</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="2">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Auto accept call:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="autoacceptcall">
|
|
<item>
|
|
<property name="text">
|
|
<string>Manual</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Audio</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Audio + Video</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="0" colspan="2">
|
|
<widget class="QCheckBox" name="autogroupinvite">
|
|
<property name="accessibleDescription">
|
|
<string>Automatically accept group chat invitations from this contact if set.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Auto accept group invites</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="removeHistory">
|
|
<property name="text">
|
|
<string>Remove history (operation can not be undone!)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Notes</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="note">
|
|
<property name="accessibleDescription">
|
|
<string>Input field for notes about the contact</string>
|
|
</property>
|
|
<property name="plainText">
|
|
<string/>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>You can save comment about this contact here.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>publicKey</tabstop>
|
|
<tabstop>autoacceptcall</tabstop>
|
|
<tabstop>autoacceptfile</tabstop>
|
|
<tabstop>selectSaveDir</tabstop>
|
|
<tabstop>removeHistory</tabstop>
|
|
<tabstop>note</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>AboutUser</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>AboutUser</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|