|
|
@@ -6,8 +6,8 @@
|
|
|
<rect>
|
|
|
<x>0</x>
|
|
|
<y>0</y>
|
|
|
- <width>506</width>
|
|
|
- <height>515</height>
|
|
|
+ <width>802</width>
|
|
|
+ <height>629</height>
|
|
|
</rect>
|
|
|
</property>
|
|
|
<property name="sizePolicy">
|
|
|
@@ -19,9 +19,21 @@
|
|
|
<property name="windowTitle">
|
|
|
<string>Form</string>
|
|
|
</property>
|
|
|
+ <property name="autoFillBackground">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="styleSheet">
|
|
|
+ <string notr="true">background-color:#faf;</string>
|
|
|
+ </property>
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
- <item row="6" column="0">
|
|
|
+ <item row="16" column="0">
|
|
|
<widget class="QLabel" name="bottomLabel">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>0</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
<property name="text">
|
|
|
<string>TextLabel</string>
|
|
|
</property>
|
|
|
@@ -30,16 +42,16 @@
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
- <item row="1" column="0">
|
|
|
- <layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
+ <item row="14" column="0">
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
+ <property name="bottomMargin">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
<item>
|
|
|
- <spacer name="horizontalSpacer">
|
|
|
+ <spacer name="horizontalSpacer_6">
|
|
|
<property name="orientation">
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
</property>
|
|
|
- <property name="sizeType">
|
|
|
- <enum>QSizePolicy::Minimum</enum>
|
|
|
- </property>
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
<size>
|
|
|
<width>40</width>
|
|
|
@@ -49,83 +61,31 @@
|
|
|
</spacer>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <layout class="QVBoxLayout" name="verticalLayout">
|
|
|
- <item>
|
|
|
- <spacer name="verticalSpacer_2">
|
|
|
- <property name="orientation">
|
|
|
- <enum>Qt::Vertical</enum>
|
|
|
- </property>
|
|
|
- <property name="sizeType">
|
|
|
- <enum>QSizePolicy::Minimum</enum>
|
|
|
- </property>
|
|
|
- <property name="sizeHint" stdset="0">
|
|
|
- <size>
|
|
|
- <width>20</width>
|
|
|
- <height>13</height>
|
|
|
- </size>
|
|
|
- </property>
|
|
|
- </spacer>
|
|
|
- </item>
|
|
|
- <item>
|
|
|
- <layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
- <item>
|
|
|
- <widget class="QLabel" name="label_2">
|
|
|
- <property name="text">
|
|
|
- <string>Ser&ver Address</string>
|
|
|
- </property>
|
|
|
- <property name="buddy">
|
|
|
- <cstring>leUrl</cstring>
|
|
|
- </property>
|
|
|
- </widget>
|
|
|
- </item>
|
|
|
- <item>
|
|
|
- <widget class="OCC::PostfixLineEdit" name="leUrl">
|
|
|
- <property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
- <horstretch>0</horstretch>
|
|
|
- <verstretch>0</verstretch>
|
|
|
- </sizepolicy>
|
|
|
- </property>
|
|
|
- <property name="placeholderText">
|
|
|
- <string>https://...</string>
|
|
|
- </property>
|
|
|
- </widget>
|
|
|
- </item>
|
|
|
- <item>
|
|
|
- <widget class="QLabel" name="urlLabel">
|
|
|
- <property name="text">
|
|
|
- <string/>
|
|
|
- </property>
|
|
|
- </widget>
|
|
|
- </item>
|
|
|
- </layout>
|
|
|
- </item>
|
|
|
- <item>
|
|
|
- <spacer name="verticalSpacer_3">
|
|
|
- <property name="orientation">
|
|
|
- <enum>Qt::Vertical</enum>
|
|
|
- </property>
|
|
|
- <property name="sizeType">
|
|
|
- <enum>QSizePolicy::Minimum</enum>
|
|
|
- </property>
|
|
|
- <property name="sizeHint" stdset="0">
|
|
|
- <size>
|
|
|
- <width>20</width>
|
|
|
- <height>18</height>
|
|
|
- </size>
|
|
|
- </property>
|
|
|
- </spacer>
|
|
|
- </item>
|
|
|
- </layout>
|
|
|
+ <widget class="QPushButton" name="hostButton">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="font">
|
|
|
+ <font>
|
|
|
+ <underline>true</underline>
|
|
|
+ </font>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Host your own server</string>
|
|
|
+ </property>
|
|
|
+ <property name="flat">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
</item>
|
|
|
<item>
|
|
|
- <spacer name="horizontalSpacer_2">
|
|
|
+ <spacer name="horizontalSpacer_5">
|
|
|
<property name="orientation">
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
</property>
|
|
|
- <property name="sizeType">
|
|
|
- <enum>QSizePolicy::Minimum</enum>
|
|
|
- </property>
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
<size>
|
|
|
<width>40</width>
|
|
|
@@ -136,49 +96,135 @@
|
|
|
</item>
|
|
|
</layout>
|
|
|
</item>
|
|
|
- <item row="2" column="0">
|
|
|
- <widget class="QLabel" name="errorLabel">
|
|
|
+ <item row="3" column="0">
|
|
|
+ <widget class="QLabel" name="topLabel">
|
|
|
<property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum">
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
<horstretch>0</horstretch>
|
|
|
<verstretch>0</verstretch>
|
|
|
</sizepolicy>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
- <string>Error Label</string>
|
|
|
+ <string>TextLabel</string>
|
|
|
</property>
|
|
|
<property name="textFormat">
|
|
|
<enum>Qt::RichText</enum>
|
|
|
</property>
|
|
|
- <property name="openExternalLinks">
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
+ </property>
|
|
|
+ <property name="wordWrap">
|
|
|
<bool>true</bool>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
- <item row="0" column="0">
|
|
|
- <widget class="QLabel" name="topLabel">
|
|
|
- <property name="sizePolicy">
|
|
|
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
- <horstretch>0</horstretch>
|
|
|
- <verstretch>0</verstretch>
|
|
|
- </sizepolicy>
|
|
|
+ <item row="11" column="0" rowspan="2">
|
|
|
+ <layout class="QHBoxLayout" name="buttons" stretch="0,0,0,0">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>6</number>
|
|
|
+ </property>
|
|
|
+ <property name="topMargin">
|
|
|
+ <number>20</number>
|
|
|
+ </property>
|
|
|
+ <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="createAccountButton">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>150</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="autoFillBackground">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Register with a provider</string>
|
|
|
+ </property>
|
|
|
+ <property name="default">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QPushButton" name="loginButton">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>150</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Log in</string>
|
|
|
+ </property>
|
|
|
+ <property name="autoDefault">
|
|
|
+ <bool>false</bool>
|
|
|
+ </property>
|
|
|
+ <property name="default">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ <property name="flat">
|
|
|
+ <bool>false</bool>
|
|
|
+ </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>
|
|
|
+ <item row="1" column="0">
|
|
|
+ <widget class="QLabel" name="slideImage">
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>0</width>
|
|
|
+ <height>100</height>
|
|
|
+ </size>
|
|
|
</property>
|
|
|
<property name="text">
|
|
|
- <string>TextLabel</string>
|
|
|
+ <string/>
|
|
|
</property>
|
|
|
- <property name="textFormat">
|
|
|
- <enum>Qt::RichText</enum>
|
|
|
+ <property name="pixmap">
|
|
|
+ <pixmap resource="../../../theme.qrc">:/client/theme/colored/wizard-files.svg</pixmap>
|
|
|
+ </property>
|
|
|
+ <property name="scaledContents">
|
|
|
+ <bool>false</bool>
|
|
|
</property>
|
|
|
<property name="alignment">
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
</property>
|
|
|
- <property name="wordWrap">
|
|
|
- <bool>true</bool>
|
|
|
- </property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
- <item row="4" column="0">
|
|
|
- <spacer name="verticalSpacer">
|
|
|
+ <item row="6" column="0">
|
|
|
+ <spacer name="verticalSpacer_4">
|
|
|
<property name="orientation">
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
</property>
|
|
|
@@ -188,25 +234,212 @@
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
<size>
|
|
|
<width>20</width>
|
|
|
- <height>200</height>
|
|
|
+ <height>20</height>
|
|
|
</size>
|
|
|
</property>
|
|
|
</spacer>
|
|
|
</item>
|
|
|
- <item row="5" column="0">
|
|
|
- <layout class="QHBoxLayout" name="resultLayout">
|
|
|
- <property name="spacing">
|
|
|
- <number>0</number>
|
|
|
+ <item row="2" column="0">
|
|
|
+ <widget class="QLabel" name="slideLabel">
|
|
|
+ <property name="font">
|
|
|
+ <font>
|
|
|
+ <pointsize>12</pointsize>
|
|
|
+ <weight>75</weight>
|
|
|
+ <bold>true</bold>
|
|
|
+ </font>
|
|
|
</property>
|
|
|
- </layout>
|
|
|
- </item>
|
|
|
- <item row="3" column="0">
|
|
|
- <widget class="QPushButton" name="createAccountButton">
|
|
|
<property name="text">
|
|
|
- <string>Create a new account</string>
|
|
|
+ <string>SlideshowLabel</string>
|
|
|
+ </property>
|
|
|
+ <property name="alignment">
|
|
|
+ <set>Qt::AlignCenter</set>
|
|
|
</property>
|
|
|
</widget>
|
|
|
</item>
|
|
|
+ <item row="4" column="0">
|
|
|
+ <widget class="QWidget" name="login" native="true">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="minimumSize">
|
|
|
+ <size>
|
|
|
+ <width>0</width>
|
|
|
+ <height>80</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ <property name="styleSheet">
|
|
|
+ <string notr="true"/>
|
|
|
+ </property>
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
+ <item>
|
|
|
+ <layout class="QHBoxLayout" name="serverBox">
|
|
|
+ <property name="sizeConstraint">
|
|
|
+ <enum>QLayout::SetDefaultConstraint</enum>
|
|
|
+ </property>
|
|
|
+ <item>
|
|
|
+ <spacer name="horizontalSpacer">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>QSizePolicy::Preferred</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
+ <size>
|
|
|
+ <width>40</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <layout class="QVBoxLayout" name="verticalLayout">
|
|
|
+ <item>
|
|
|
+ <spacer name="verticalSpacer_2">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Vertical</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>QSizePolicy::MinimumExpanding</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="label_2">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Ignored">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Ser&ver Address</string>
|
|
|
+ </property>
|
|
|
+ <property name="buddy">
|
|
|
+ <cstring>leUrl</cstring>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="OCC::PostfixLineEdit" name="leUrl">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Expanding" vsizetype="Ignored">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="placeholderText">
|
|
|
+ <string>https://...</string>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <layout class="QHBoxLayout" name="resultLayout">
|
|
|
+ <property name="spacing">
|
|
|
+ <number>0</number>
|
|
|
+ </property>
|
|
|
+ </layout>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="urlLabel">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string/>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <widget class="QLabel" name="errorLabel">
|
|
|
+ <property name="sizePolicy">
|
|
|
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
|
+ <horstretch>0</horstretch>
|
|
|
+ <verstretch>0</verstretch>
|
|
|
+ </sizepolicy>
|
|
|
+ </property>
|
|
|
+ <property name="text">
|
|
|
+ <string>Error Label</string>
|
|
|
+ </property>
|
|
|
+ <property name="textFormat">
|
|
|
+ <enum>Qt::RichText</enum>
|
|
|
+ </property>
|
|
|
+ <property name="openExternalLinks">
|
|
|
+ <bool>true</bool>
|
|
|
+ </property>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <spacer name="verticalSpacer_3">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Vertical</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>QSizePolicy::MinimumExpanding</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </item>
|
|
|
+ <item>
|
|
|
+ <spacer name="horizontalSpacer_2">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Horizontal</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>QSizePolicy::Preferred</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
+ <size>
|
|
|
+ <width>40</width>
|
|
|
+ <height>0</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </item>
|
|
|
+ </layout>
|
|
|
+ </widget>
|
|
|
+ </item>
|
|
|
+ <item row="0" column="0">
|
|
|
+ <spacer name="verticalSpacer_5">
|
|
|
+ <property name="orientation">
|
|
|
+ <enum>Qt::Vertical</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeType">
|
|
|
+ <enum>QSizePolicy::MinimumExpanding</enum>
|
|
|
+ </property>
|
|
|
+ <property name="sizeHint" stdset="0">
|
|
|
+ <size>
|
|
|
+ <width>20</width>
|
|
|
+ <height>20</height>
|
|
|
+ </size>
|
|
|
+ </property>
|
|
|
+ </spacer>
|
|
|
+ </item>
|
|
|
</layout>
|
|
|
</widget>
|
|
|
<customwidgets>
|
|
|
@@ -216,6 +449,8 @@
|
|
|
<header>wizard/postfixlineedit.h</header>
|
|
|
</customwidget>
|
|
|
</customwidgets>
|
|
|
- <resources/>
|
|
|
+ <resources>
|
|
|
+ <include location="../../../theme.qrc"/>
|
|
|
+ </resources>
|
|
|
<connections/>
|
|
|
</ui>
|