2014-10-06 00:17:20 +08:00
|
|
|
<?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>
|
2015-03-15 23:45:28 +08:00
|
|
|
<width>442</width>
|
|
|
|
<height>659</height>
|
2014-10-06 00:17:20 +08:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2014-11-01 02:24:28 +08:00
|
|
|
<string notr="true">Form</string>
|
2014-10-06 00:17:20 +08:00
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2014-10-29 22:23:48 +08:00
|
|
|
<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>
|
2014-10-06 00:17:20 +08:00
|
|
|
<item>
|
2014-10-23 00:09:59 +08:00
|
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
|
|
<property name="widgetResizable">
|
|
|
|
<bool>true</bool>
|
2014-10-06 00:17:20 +08:00
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
2014-10-06 00:17:20 +08:00
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2015-03-15 23:45:28 +08:00
|
|
|
<width>422</width>
|
|
|
|
<height>639</height>
|
2014-10-23 00:09:59 +08:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4" stretch="0,0,1">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
2015-03-04 04:29:01 +08:00
|
|
|
<item>
|
2014-10-23 00:09:59 +08:00
|
|
|
<widget class="QGroupBox" name="publicGroup">
|
|
|
|
<property name="title">
|
|
|
|
<string>Public Information</string>
|
|
|
|
</property>
|
2015-03-04 04:29:01 +08:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
2014-10-23 00:09:59 +08:00
|
|
|
<item>
|
2015-03-04 04:29:01 +08:00
|
|
|
<layout class="QVBoxLayout" name="publicFieldsLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="userNameLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Name</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="userName"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="statusMessageLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Status</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="statusMessage"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2014-10-23 00:09:59 +08:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignTop">
|
|
|
|
<widget class="QGroupBox" name="toxGroup">
|
2015-03-04 04:29:01 +08:00
|
|
|
<property name="title">
|
|
|
|
<string>Tox ID</string>
|
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="CroppingLabel" name="toxIdLabel">
|
2015-03-17 05:15:34 +08:00
|
|
|
<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>
|
2014-10-23 00:09:59 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>Your Tox ID (click to copy)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-03-15 23:45:28 +08:00
|
|
|
<item>
|
2015-03-17 05:15:34 +08:00
|
|
|
<widget class="QLineEdit" name="toxId">
|
|
|
|
<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>
|
|
|
|
</widget>
|
2015-03-15 23:45:28 +08:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QFrame" name="verticalFrame">
|
|
|
|
<layout class="QHBoxLayout" name="qrGroup">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="qrCode">
|
|
|
|
<property name="text">
|
|
|
|
<string>QRCODE</string>
|
|
|
|
</property>
|
|
|
|
<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">
|
2015-03-18 00:14:16 +08:00
|
|
|
<widget class="QLabel" name="qrLabel">
|
2015-03-15 23:45:28 +08:00
|
|
|
<property name="text">
|
2015-03-17 05:15:34 +08:00
|
|
|
<string>This QR code contains your Tox ID. You may share this with your friends as well.</string>
|
2015-03-15 23:45:28 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignVCenter">
|
|
|
|
<widget class="QPushButton" name="saveQr">
|
|
|
|
<property name="text">
|
2015-03-16 02:53:10 +08:00
|
|
|
<string>Save image</string>
|
2015-03-15 23:45:28 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignVCenter">
|
|
|
|
<widget class="QPushButton" name="copyQr">
|
|
|
|
<property name="text">
|
2015-03-16 02:53:10 +08:00
|
|
|
<string>Copy image</string>
|
2015-03-15 23:45:28 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-10-23 00:09:59 +08:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item alignment="Qt::AlignTop">
|
|
|
|
<widget class="QGroupBox" name="profilesGroup">
|
|
|
|
<property name="title">
|
|
|
|
<string>Profiles</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="profilesVLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="profilesComboLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="profilesLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Available profiles:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="profiles">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2015-03-04 04:29:01 +08:00
|
|
|
<property name="toolTip">
|
|
|
|
<string comment="toolTip for currently set profile">Currently selected profile.</string>
|
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="profilesButtonsLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="loadButton">
|
2014-10-23 20:41:47 +08:00
|
|
|
<property name="toolTip">
|
2015-01-31 17:53:12 +08:00
|
|
|
<string comment="tooltip for loading profile button">Load selected profile and switch to it.</string>
|
2014-10-23 20:41:47 +08:00
|
|
|
</property>
|
2014-10-29 22:23:48 +08:00
|
|
|
<property name="text">
|
|
|
|
<string comment="load profile button">Load</string>
|
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="renameButton">
|
2015-01-31 17:53:12 +08:00
|
|
|
<property name="toolTip">
|
|
|
|
<string comment="tooltip for renaming profile button">Rename selected profile.</string>
|
|
|
|
</property>
|
2015-03-04 04:29:01 +08:00
|
|
|
<property name="text">
|
|
|
|
<string comment="rename profile button">Rename</string>
|
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="exportButton">
|
2015-01-31 17:53:12 +08:00
|
|
|
<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>
|
2015-03-04 04:29:01 +08:00
|
|
|
<property name="text">
|
|
|
|
<string comment="export profile button">Export</string>
|
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="deleteButton">
|
|
|
|
<property name="toolTip">
|
2015-01-31 17:53:12 +08:00
|
|
|
<string comment="delete profile button tooltip">Delete selected profile.</string>
|
2014-10-23 00:09:59 +08:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string comment="delete profile button">Delete</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="profilesButtonsLayout2">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="importButton">
|
2015-01-31 17:53:12 +08:00
|
|
|
<property name="toolTip">
|
|
|
|
<string comment="tooltip for importing profile button">Import Tox profile from a .tox file.</string>
|
|
|
|
</property>
|
2015-03-04 04:29:01 +08:00
|
|
|
<property name="text">
|
|
|
|
<string comment="import profile button">Import a profile</string>
|
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="newButton">
|
2014-10-23 20:41:47 +08:00
|
|
|
<property name="toolTip">
|
2015-01-31 17:53:12 +08:00
|
|
|
<string comment="tooltip for creating new Tox ID button">Create new Tox ID and switch to it.</string>
|
2014-10-23 20:41:47 +08:00
|
|
|
</property>
|
2014-10-29 22:23:48 +08:00
|
|
|
<property name="text">
|
|
|
|
<string comment="new profile button">New Tox ID</string>
|
|
|
|
</property>
|
2014-10-23 00:09:59 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2014-10-06 00:17:20 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>CroppingLabel</class>
|
|
|
|
<extends>QLabel</extends>
|
2015-03-15 23:45:28 +08:00
|
|
|
<header location="global">src/widget/croppinglabel.h</header>
|
2014-10-06 00:17:20 +08:00
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|