diff options
author | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2019-09-12 21:53:40 +0300 |
---|---|---|
committer | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2019-09-12 21:53:40 +0300 |
commit | f49cd1850ce8eb37716fe5217f543d3b8f8edc19 (patch) | |
tree | d99705e84562da3380444abb3f83197e5bd11fc7 | |
parent | d420242fcb92f10a6353f226281f573d592d4d09 (diff) |
Restructured layout, as the initial change were too broken (after additions through the last months)
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
-rw-r--r-- | src/gui/wizard/owncloudsetupnocredspage.ui | 367 |
1 files changed, 163 insertions, 204 deletions
diff --git a/src/gui/wizard/owncloudsetupnocredspage.ui b/src/gui/wizard/owncloudsetupnocredspage.ui index a3a0161e5..99365c91f 100644 --- a/src/gui/wizard/owncloudsetupnocredspage.ui +++ b/src/gui/wizard/owncloudsetupnocredspage.ui @@ -25,68 +25,9 @@ <property name="styleSheet"> <string notr="true"/> </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="16" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <property name="bottomMargin"> - <number>0</number> - </property> - <item> - <spacer name="horizontalSpacer_6"> - <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="QLabel" name="installLink"> - <property name="text"> - <string><a href="https://docs.nextcloud.com/server/15/admin_manual/installation/index.html#installation"><span style=" text-decoration: underline; color:#0000ff;">Host your own server</span></a></string> - </property> - <property name="openExternalLinks"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer_5"> - <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="17" column="0"> - <widget class="QLabel" name="bottomLabel"> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="text"> - <string notr="true">TextLabel</string> - </property> - <property name="textFormat"> - <enum>Qt::RichText</enum> - </property> - </widget> - </item> - <item row="8" column="0"> - <spacer name="verticalSpacer_4"> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <spacer name="verticalSpacer_5"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> @@ -101,109 +42,84 @@ </property> </spacer> </item> - <item row="0" column="0"> - <spacer name="verticalSpacer_5"> - <property name="orientation"> - <enum>Qt::Vertical</enum> + <item> + <widget class="QLabel" name="topLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="sizeType"> - <enum>QSizePolicy::MinimumExpanding</enum> + <property name="text"> + <string notr="true">TextLabel</string> </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>20</height> - </size> + <property name="textFormat"> + <enum>Qt::RichText</enum> </property> - </spacer> - </item> - <item row="13" column="0" rowspan="2"> - <layout class="QHBoxLayout" name="buttons" stretch="0,0,0,0"> - <property name="spacing"> - <number>6</number> + <property name="alignment"> + <set>Qt::AlignCenter</set> </property> - <property name="topMargin"> - <number>20</number> + <property name="wordWrap"> + <bool>true</bool> </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_9"> <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"> + <widget class="QPushButton" name="prevButton"> <property name="minimumSize"> <size> - <width>150</width> + <width>40</width> <height>0</height> </size> </property> - <property name="autoFillBackground"> - <bool>false</bool> - </property> <property name="text"> - <string>Register with a provider</string> + <string/> </property> - <property name="default"> - <bool>false</bool> + <property name="icon"> + <iconset resource="../../../client.qrc"> + <normaloff>:/client/resources/previous.svg</normaloff>:/client/resources/previous.svg</iconset> + </property> + <property name="flat"> + <bool>true</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> + <widget class="OCC::SlideShow" name="slideShow" native="true"> + <property name="font"> + <font> + <pointsize>12</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="nextButton"> <property name="minimumSize"> <size> - <width>150</width> + <width>40</width> <height>0</height> </size> </property> <property name="text"> - <string>Log in</string> - </property> - <property name="autoDefault"> - <bool>false</bool> + <string/> </property> - <property name="default"> - <bool>true</bool> + <property name="icon"> + <iconset resource="../../../client.qrc"> + <normaloff>:/client/resources/next.svg</normaloff>:/client/resources/next.svg</iconset> </property> <property name="flat"> - <bool>false</bool> + <bool>true</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="2" column="3"> - - </item> - <item row="6" column="0"> + <item> <widget class="QWidget" name="login" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> @@ -271,7 +187,7 @@ </sizepolicy> </property> <property name="text"> - <string>Ser&ver Address</string> + <string>Server Address</string> </property> <property name="buddy"> <cstring>leUrl</cstring> @@ -371,122 +287,164 @@ </layout> </widget> </item> - <item row="5" column="0"> - <widget class="QLabel" name="topLabel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <item> + <spacer name="verticalSpacer_4"> + <property name="orientation"> + <enum>Qt::Vertical</enum> </property> - <property name="text"> - <string notr="true">TextLabel</string> + <property name="sizeType"> + <enum>QSizePolicy::MinimumExpanding</enum> </property> - <property name="textFormat"> - <enum>Qt::RichText</enum> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>20</height> + </size> </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> + </spacer> + </item> + <item> + <layout class="QHBoxLayout" name="buttons" stretch="0,0,0,0"> + <property name="spacing"> + <number>6</number> </property> - <property name="wordWrap"> - <bool>true</bool> + <property name="topMargin"> + <number>20</number> </property> - </widget> - </item> - <item row="4" column="0"> - <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> - <widget class="QPushButton" name="previousButton"> - <property name="enabled"> - <bool>true</bool> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <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>50</width> + <width>150</width> <height>0</height> </size> </property> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset> - <normaloff>:/client/desktop/resources/previous.svg</normaloff>:/client/desktop/resources/previous.svg</iconset> - </property> - <property name="checkable"> + <property name="autoFillBackground"> <bool>false</bool> </property> - <property name="autoDefault"> - <bool>false</bool> + <property name="text"> + <string>Register with a provider</string> </property> <property name="default"> <bool>false</bool> </property> - <property name="flat"> - <bool>true</bool> - </property> </widget> </item> - <item> - <widget class="OCC::SlideShow" name="slideShow" native="true"> - <property name="font"> - <font> - <pointsize>12</pointsize> - <weight>75</weight> - <bold>true</bold> - </font> - </property> - </widget> - </item> <item> - <widget class="QPushButton" name="nextButton"> - <property name="enabled"> - <bool>true</bool> - </property> + <widget class="QPushButton" name="loginButton"> <property name="sizePolicy"> - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> - <width>50</width> + <width>150</width> <height>0</height> </size> </property> - <property name="layoutDirection"> - <enum>Qt::RightToLeft</enum> - </property> <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset> - <normaloff>:/client/desktop/resources/next.svg</normaloff>:/client/desktop/resources/next.svg</iconset> - </property> - <property name="checkable"> - <bool>false</bool> + <string>Log in</string> </property> <property name="autoDefault"> <bool>false</bool> </property> <property name="default"> - <bool>false</bool> + <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> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <spacer name="horizontalSpacer_6"> + <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="QLabel" name="installLink"> + <property name="text"> + <string><a href="https://docs.nextcloud.com/server/15/admin_manual/installation/index.html#installation"><span style=" text-decoration: underline; color:#0000ff;">Host your own server</span></a></string> + </property> + <property name="openExternalLinks"> <bool>true</bool> </property> </widget> </item> + <item> + <spacer name="horizontalSpacer_5"> + <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> + <widget class="QLabel" name="bottomLabel"> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="text"> + <string notr="true">TextLabel</string> + </property> + <property name="textFormat"> + <enum>Qt::RichText</enum> + </property> + </widget> + </item> </layout> </widget> <customwidgets> @@ -502,6 +460,7 @@ </customwidget> </customwidgets> <resources> + <include location="../../../theme.qrc"/> <include location="../../../client.qrc"/> </resources> <connections/> |