2015-06-04 01:04:28 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>LoginScreen</class>
|
|
|
|
<widget class="QWidget" name="LoginScreen">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2015-06-06 05:06:28 +08:00
|
|
|
<width>410</width>
|
2015-06-04 01:04:28 +08:00
|
|
|
<height>200</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
2015-06-06 05:06:28 +08:00
|
|
|
<width>410</width>
|
2015-06-04 01:04:28 +08:00
|
|
|
<height>200</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
2015-06-06 05:06:28 +08:00
|
|
|
<width>415</width>
|
2015-06-04 01:04:28 +08:00
|
|
|
<height>200</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2015-11-07 19:02:33 +08:00
|
|
|
<string notr="true">qTox</string>
|
2015-06-04 01:04:28 +08:00
|
|
|
</property>
|
2015-06-04 01:40:21 +08:00
|
|
|
<property name="windowIcon">
|
2015-11-07 19:02:33 +08:00
|
|
|
<iconset resource="../res.qrc">
|
2015-06-04 01:40:21 +08:00
|
|
|
<normaloff>:/img/icons/qtox.svg</normaloff>:/img/icons/qtox.svg</iconset>
|
|
|
|
</property>
|
2015-06-04 01:04:28 +08:00
|
|
|
<widget class="QStackedWidget" name="stackedWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
2015-06-06 05:06:28 +08:00
|
|
|
<x>160</x>
|
2015-06-04 01:04:28 +08:00
|
|
|
<y>0</y>
|
|
|
|
<width>250</width>
|
|
|
|
<height>200</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="currentIndex">
|
2016-01-22 03:53:33 +08:00
|
|
|
<number>0</number>
|
2015-06-04 01:04:28 +08:00
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="newPage">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</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>
|
2015-10-15 03:11:39 +08:00
|
|
|
<widget class="QLabel" name="labelNewProfile">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<property name="sizeConstraint">
|
|
|
|
<enum>QLayout::SetMaximumSize</enum>
|
|
|
|
</property>
|
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
|
|
</property>
|
|
|
|
<property name="labelAlignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="formAlignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="horizontalSpacing">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="verticalSpacing">
|
|
|
|
<number>9</number>
|
2015-06-04 01:04:28 +08:00
|
|
|
</property>
|
|
|
|
<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>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="1" column="0">
|
2015-06-04 01:04:28 +08:00
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Username:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="1" column="1">
|
2015-06-04 05:20:47 +08:00
|
|
|
<widget class="QLineEdit" name="newUsername">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="maxLength">
|
|
|
|
<number>64</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="2" column="0">
|
2015-06-04 01:04:28 +08:00
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Password:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="2" column="1">
|
2015-06-04 05:20:47 +08:00
|
|
|
<widget class="QLineEdit" name="newPass">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="echoMode">
|
|
|
|
<enum>QLineEdit::Password</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="3" column="0">
|
2015-06-04 01:40:21 +08:00
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="text">
|
2015-06-05 01:21:22 +08:00
|
|
|
<string>Confirm:</string>
|
2015-06-04 01:40:21 +08:00
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="3" column="1">
|
2015-06-04 18:43:28 +08:00
|
|
|
<widget class="QLineEdit" name="newPassConfirm">
|
|
|
|
<property name="echoMode">
|
|
|
|
<enum>QLineEdit::Password</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2015-06-04 01:40:21 +08:00
|
|
|
</item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="7" column="0" colspan="2">
|
|
|
|
<widget class="QProgressBar" name="passStrengthMeter">
|
|
|
|
<property name="value">
|
|
|
|
<number>0</number>
|
2015-06-04 01:04:28 +08:00
|
|
|
</property>
|
2015-06-05 01:21:22 +08:00
|
|
|
<property name="format">
|
|
|
|
<string>Password strength: %p%</string>
|
2015-06-04 01:04:28 +08:00
|
|
|
</property>
|
2015-06-05 01:21:22 +08:00
|
|
|
</widget>
|
2015-06-04 01:04:28 +08:00
|
|
|
</item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="9" column="0" colspan="2">
|
2015-06-04 01:04:28 +08:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<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>
|
2015-06-04 01:28:16 +08:00
|
|
|
<widget class="QPushButton" name="createAccountButton">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="text">
|
2015-09-04 21:03:24 +08:00
|
|
|
<string>Create Profile</string>
|
2015-06-04 01:04:28 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2015-06-05 01:21:22 +08:00
|
|
|
<item row="8" column="0" colspan="2">
|
|
|
|
<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>
|
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2015-06-04 01:04:28 +08:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="loginPage">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</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>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
2015-10-15 03:11:39 +08:00
|
|
|
<widget class="QLabel" name="labelLoadProfile">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<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>
|
|
|
|
<spacer name="verticalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
2016-01-22 03:47:34 +08:00
|
|
|
<widget class="QLabel" name="userNameLabel">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>Username:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2015-06-04 05:20:47 +08:00
|
|
|
<widget class="QComboBox" name="loginUsernames"/>
|
2015-06-04 01:04:28 +08:00
|
|
|
</item>
|
|
|
|
<item>
|
2015-06-04 07:30:17 +08:00
|
|
|
<widget class="QLabel" name="loginPasswordLabel">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="text">
|
|
|
|
<string>Password:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2015-06-04 05:20:47 +08:00
|
|
|
<widget class="QLineEdit" name="loginPassword">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="echoMode">
|
|
|
|
<enum>QLineEdit::Password</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-05 21:24:02 +08:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="autoLoginCB">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>If the profile does not have a password, qTox can skip the login screen</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-09-18 15:07:58 +08:00
|
|
|
<string>Load automatically</string>
|
2015-06-05 21:24:02 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-04 01:04:28 +08:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_4">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
|
|
<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>
|
|
|
|
<item>
|
2015-06-04 01:28:16 +08:00
|
|
|
<widget class="QPushButton" name="loginButton">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="text">
|
2015-09-18 15:07:58 +08:00
|
|
|
<string>Load</string>
|
2015-06-04 01:04:28 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="Line" name="line">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>160</y>
|
2015-06-06 05:06:28 +08:00
|
|
|
<width>135</width>
|
2015-06-04 01:04:28 +08:00
|
|
|
<height>1</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Plain</enum>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2015-06-04 01:28:16 +08:00
|
|
|
<widget class="QPushButton" name="newProfilePgbtn">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
2015-06-06 05:06:28 +08:00
|
|
|
<x>0</x>
|
2015-06-04 01:04:28 +08:00
|
|
|
<y>130</y>
|
2015-06-06 05:06:28 +08:00
|
|
|
<width>160</width>
|
2015-06-04 01:04:28 +08:00
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>New Profile</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2015-06-04 01:28:16 +08:00
|
|
|
<widget class="QPushButton" name="loginPgbtn">
|
2015-06-04 01:04:28 +08:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
2015-06-06 05:06:28 +08:00
|
|
|
<x>0</x>
|
2015-06-04 01:04:28 +08:00
|
|
|
<y>170</y>
|
2015-06-06 05:06:28 +08:00
|
|
|
<width>160</width>
|
2015-06-04 01:04:28 +08:00
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-09-18 15:07:58 +08:00
|
|
|
<string>Load Profile</string>
|
2015-06-04 01:04:28 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
2015-06-04 01:13:41 +08:00
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
2015-06-06 05:06:28 +08:00
|
|
|
<x>30</x>
|
2015-06-04 01:13:41 +08:00
|
|
|
<y>15</y>
|
|
|
|
<width>100</width>
|
|
|
|
<height>100</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="pixmap">
|
2015-11-07 19:02:33 +08:00
|
|
|
<pixmap resource="../res.qrc">:/img/login_logo.svg</pixmap>
|
2015-06-04 01:13:41 +08:00
|
|
|
</property>
|
|
|
|
<property name="scaledContents">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2015-06-04 01:04:28 +08:00
|
|
|
</widget>
|
2015-06-04 01:13:41 +08:00
|
|
|
<resources>
|
2015-11-07 19:02:33 +08:00
|
|
|
<include location="../res.qrc"/>
|
2015-06-04 01:13:41 +08:00
|
|
|
</resources>
|
2015-06-04 01:04:28 +08:00
|
|
|
<connections/>
|
|
|
|
</ui>
|