mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Create layout on parent, not on items around it
Correctly handles resizing of interface items by creating the layout on the parent instead of selecting the items and applying the layout around them. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5d236d6475
commit
35a4ef88be
1 changed files with 58 additions and 71 deletions
|
@ -154,7 +154,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>5</number>
|
<number>4</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="defaults_page">
|
<widget class="QWidget" name="defaults_page">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
|
@ -1214,76 +1214,63 @@
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Subsurface cloud storage</string>
|
<string>Subsurface cloud storage</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="layoutWidget">
|
<layout class="QGridLayout" name="gridLayout_3">
|
||||||
<property name="geometry">
|
<item row="0" column="0">
|
||||||
<rect>
|
<widget class="QLabel" name="label_16b">
|
||||||
<x>12</x>
|
<property name="toolTip">
|
||||||
<y>37</y>
|
<string extracomment="Email address used for the Subsurface cloud storage infrastructure"/>
|
||||||
<width>641</width>
|
</property>
|
||||||
<height>83</height>
|
<property name="text">
|
||||||
</rect>
|
<string>Email address</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout_3" rowstretch="1,1,1" columnstretch="1,1,0">
|
</widget>
|
||||||
<property name="sizeConstraint">
|
</item>
|
||||||
<enum>QLayout::SetMaximumSize</enum>
|
<item row="0" column="1">
|
||||||
</property>
|
<widget class="QLabel" name="label_16c">
|
||||||
<item row="0" column="0">
|
<property name="text">
|
||||||
<widget class="QLabel" name="label_16b">
|
<string>Password</string>
|
||||||
<property name="toolTip">
|
</property>
|
||||||
<string extracomment="Email address used for the Subsurface cloud storage infrastructure"/>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="text">
|
<item row="0" column="2">
|
||||||
<string>Email address</string>
|
<widget class="QLabel" name="cloud_storage_pin_label">
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>Verification PIN</string>
|
||||||
</item>
|
</property>
|
||||||
<item row="0" column="1">
|
</widget>
|
||||||
<widget class="QLabel" name="label_16c">
|
</item>
|
||||||
<property name="text">
|
<item row="1" column="0">
|
||||||
<string>Password</string>
|
<widget class="QLineEdit" name="cloud_storage_email">
|
||||||
</property>
|
<property name="toolTip">
|
||||||
</widget>
|
<string extracomment="Email address used for the Subsurface cloud storage infrastructure"/>
|
||||||
</item>
|
</property>
|
||||||
<item row="1" column="0">
|
</widget>
|
||||||
<widget class="QLineEdit" name="cloud_storage_email">
|
</item>
|
||||||
<property name="toolTip">
|
<item row="1" column="1">
|
||||||
<string extracomment="Email address used for the Subsurface cloud storage infrastructure"/>
|
<widget class="QLineEdit" name="cloud_storage_password"/>
|
||||||
</property>
|
</item>
|
||||||
</widget>
|
<item row="1" column="2">
|
||||||
</item>
|
<widget class="QLineEdit" name="cloud_storage_pin">
|
||||||
<item row="1" column="1">
|
<property name="toolTip">
|
||||||
<widget class="QLineEdit" name="cloud_storage_password"/>
|
<string extracomment="One time verification PIN for Subsurface cloud storage infrastructure"/>
|
||||||
</item>
|
</property>
|
||||||
<item row="2" column="1">
|
</widget>
|
||||||
<widget class="QCheckBox" name="save_password_local">
|
</item>
|
||||||
<property name="text">
|
<item row="2" column="0">
|
||||||
<string>Save Password locally?</string>
|
<widget class="QCheckBox" name="cloud_background_sync">
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>Sync to cloud in the background?</string>
|
||||||
</item>
|
</property>
|
||||||
<item row="0" column="2">
|
</widget>
|
||||||
<widget class="QLabel" name="cloud_storage_pin_label">
|
</item>
|
||||||
<property name="text">
|
<item row="2" column="1">
|
||||||
<string>Verification PIN</string>
|
<widget class="QCheckBox" name="save_password_local">
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>Save Password locally?</string>
|
||||||
</item>
|
</property>
|
||||||
<item row="1" column="2">
|
</widget>
|
||||||
<widget class="QLineEdit" name="cloud_storage_pin">
|
</item>
|
||||||
<property name="toolTip">
|
</layout>
|
||||||
<string extracomment="One time verification PIN for Subsurface cloud storage infrastructure"/>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="0">
|
|
||||||
<widget class="QCheckBox" name="cloud_background_sync">
|
|
||||||
<property name="text">
|
|
||||||
<string>Sync to cloud in the background?</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Add table
Reference in a new issue