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>
|
|
|
|
<width>400</width>
|
|
|
|
<height>300</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="publicGroup">
|
|
|
|
<property name="title">
|
|
|
|
<string>Public Information</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<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>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<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="text">
|
|
|
|
<string>Your Tox ID (click to copy)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-10-09 14:23:33 +08:00
|
|
|
<item>
|
|
|
|
<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>
|
2014-10-17 20:11:26 +08:00
|
|
|
<widget class="QComboBox" name="profiles">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2014-10-09 14:23:33 +08:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="profilesButtonsLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="loadButton">
|
|
|
|
<property name="text">
|
|
|
|
<string comment="load profile button">Load</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="renameButton">
|
|
|
|
<property name="text">
|
|
|
|
<string comment="rename profile button">Rename</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="exportButton">
|
|
|
|
<property name="text">
|
|
|
|
<string comment="export profile button">Export</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="deleteButton">
|
|
|
|
<property name="text">
|
|
|
|
<string comment="delete profile button">Delete</string>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string comment="delete profile button tooltip">This is useful to remain safe on public computers</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-10-20 11:07:51 +08:00
|
|
|
<layout class="QHBoxLayout" name="profilesButtonsLayout2">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="importButton">
|
|
|
|
<property name="text">
|
|
|
|
<string comment="import profile button">Import a profile</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="newButton">
|
|
|
|
<property name="text">
|
|
|
|
<string comment="new profile button">New Tox ID</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2014-10-09 14:23:33 +08:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-10-06 00:17:20 +08:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>CroppingLabel</class>
|
|
|
|
<extends>QLabel</extends>
|
2014-10-08 12:26:25 +08:00
|
|
|
<header>src/widget/croppinglabel.h</header>
|
2014-10-06 00:17:20 +08:00
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|