Skip to content

Commit

Permalink
Merge pull request #543 from opengisch/login_dialog_widget_stretch
Browse files Browse the repository at this point in the history
Give full with to login dialog widgets
  • Loading branch information
m-kuhn authored Nov 1, 2023
2 parents 8fea115 + 540baee commit c2d1cc9
Showing 1 changed file with 54 additions and 48 deletions.
102 changes: 54 additions & 48 deletions qfieldsync/ui/cloud_login_dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
<item>
<widget class="QWidget" name="loginFormGroup" native="true">
<layout class="QFormLayout" name="formLayout_3">
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="serverUrlLabel">
<property name="text">
Expand Down Expand Up @@ -97,57 +103,57 @@
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="loginFeedbackLabel">
<property name="visible">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">color: red</string>
</property>
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QCheckBox" name="rememberMeCheckBox">
<property name="toolTip">
<string>Store QFieldCloud credentials and automatically sign in on QGIS startup.</string>
</property>
<property name="text">
<string>Stay signed in</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="registerLabel">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;New user? &lt;a href=&quot;https://app.qfield.cloud/accounts/signup/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;Register an account&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="loginFeedbackLabel">
<property name="visible">
<bool>true</bool>
</property>
<property name="styleSheet">
<string notr="true">color: red</string>
</property>
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="rememberMeCheckBox">
<property name="toolTip">
<string>Store QFieldCloud credentials and automatically sign in on QGIS startup.</string>
</property>
<property name="text">
<string>Stay signed in</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="registerLabel">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;New user? &lt;a href=&quot;https://app.qfield.cloud/accounts/signup/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;Register an account&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
Expand Down

0 comments on commit c2d1cc9

Please sign in to comment.