mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
465 lines
16 KiB
XML
465 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>IdentitySettings</class>
|
|
<widget class="QWidget" name="IdentitySettings">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>574</width>
|
|
<height>659</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string notr="true">Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="leftMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>9</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>536</width>
|
|
<height>844</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,0,1">
|
|
<property name="spacing">
|
|
<number>9</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QGroupBox" name="publicGroup">
|
|
<property name="title">
|
|
<string>Public Information</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<layout class="QFormLayout" name="publicFieldsLayout">
|
|
<property name="verticalSpacing">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>4</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="userNameLabel">
|
|
<property name="text">
|
|
<string>Name:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="userName"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="statusMessageLabel">
|
|
<property name="text">
|
|
<string>Status:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="statusMessage"/>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QGroupBox" name="toxGroup">
|
|
<property name="title">
|
|
<string>Tox ID</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="CroppingLabel" name="toxIdLabel">
|
|
<property name="toolTip">
|
|
<string comment="Tox ID tooltip">This bunch of characters tells other Tox clients how to contact you.
|
|
Share it with your friends to communicate.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Your Tox ID (click to copy)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="toxId">
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="verticalFrame">
|
|
<layout class="QHBoxLayout" name="qrGroup">
|
|
<item>
|
|
<widget class="QLabel" name="qrCode">
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="horizontalFrame">
|
|
<layout class="QVBoxLayout" name="qrButtons">
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QLabel" name="qrLabel">
|
|
<property name="text">
|
|
<string>This QR code contains your Tox ID. You may share this with your friends as well.</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignVCenter">
|
|
<widget class="QPushButton" name="saveQr">
|
|
<property name="text">
|
|
<string>Save image</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignVCenter">
|
|
<widget class="QPushButton" name="copyQr">
|
|
<property name="text">
|
|
<string>Copy image</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="horizontalGroupBox">
|
|
<property name="title">
|
|
<string>Toxme register</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="toxmeUsernameLabel">
|
|
<property name="text">
|
|
<string>Username</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="toxmeUsername">
|
|
<property name="autoFillBackground">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="toxmeBioLabel">
|
|
<property name="text">
|
|
<string>Biography</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="toxmeBio"/>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="toxmeServerLabel">
|
|
<property name="text">
|
|
<string>Server</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QComboBox" name="toxmeServersList">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>-1</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QCheckBox" name="toxmePrivacy">
|
|
<property name="text">
|
|
<string>Hide my name from the public list</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QPushButton" name="toxmeRegisterButton">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Register</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="toxmePasswordLabel">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Your password</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QLineEdit" name="toxmePassword">
|
|
<property name="frame">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="clearButtonEnabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QPushButton" name="toxmeUpdateButton">
|
|
<property name="text">
|
|
<string>Update</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item alignment="Qt::AlignTop">
|
|
<widget class="QGroupBox" name="profilesGroup">
|
|
<property name="title">
|
|
<string>Profile</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="profilesVLayout">
|
|
<item>
|
|
<widget class="QLabel" name="prFileLabel">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="dirPrLink">
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::ClickFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string><p><a href="file:///Dir_Path"><span style=" text-decoration: NONE; color:#000000;">Current profile location: Dir_Path</span></a></p></string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="openExternalLinks">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="profilesButtonsLayout">
|
|
<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>
|
|
<item>
|
|
<widget class="QPushButton" name="renameButton">
|
|
<property name="toolTip">
|
|
<string comment="tooltip for renaming profile button">Rename profile.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string comment="rename profile button">Rename</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="deleteButton">
|
|
<property name="toolTip">
|
|
<string comment="delete profile button tooltip">Delete profile.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string comment="delete profile button">Delete</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="exportButton">
|
|
<property name="toolTip">
|
|
<string comment="tooltip for profile exporting button">Allows you to export your Tox profile to a file.
|
|
Profile does not contain your history.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string comment="export profile button">Export</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="logoutButton">
|
|
<property name="toolTip">
|
|
<string comment="tooltip for logout button">Go back to the login screen</string>
|
|
</property>
|
|
<property name="text">
|
|
<string comment="import profile button">Logout</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<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="QPushButton" name="deletePassButton">
|
|
<property name="text">
|
|
<string>Remove password</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="changePassButton">
|
|
<property name="text">
|
|
<string>Change password</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>CroppingLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header location="global">src/widget/tool/croppinglabel.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>scrollArea</tabstop>
|
|
<tabstop>userName</tabstop>
|
|
<tabstop>statusMessage</tabstop>
|
|
<tabstop>toxmeUsername</tabstop>
|
|
<tabstop>toxmeBio</tabstop>
|
|
<tabstop>toxmeServersList</tabstop>
|
|
<tabstop>toxmePrivacy</tabstop>
|
|
<tabstop>toxmeRegisterButton</tabstop>
|
|
<tabstop>toxmePassword</tabstop>
|
|
<tabstop>toxId</tabstop>
|
|
<tabstop>saveQr</tabstop>
|
|
<tabstop>copyQr</tabstop>
|
|
<tabstop>renameButton</tabstop>
|
|
<tabstop>deleteButton</tabstop>
|
|
<tabstop>logoutButton</tabstop>
|
|
<tabstop>exportButton</tabstop>
|
|
<tabstop>deletePassButton</tabstop>
|
|
<tabstop>changePassButton</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|