diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-06-22 14:15:08 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-22 17:01:24 -0700 |
commit | 35a4ef88be9e347b2aa5099a72411d9b1dae9284 (patch) | |
tree | 35fbac9866dbc80980b12ec2530061fc19baf663 /qt-ui/preferences.ui | |
parent | 5d236d6475efad68a4b3a03a1f2a3abc0363a5f5 (diff) | |
download | subsurface-35a4ef88be9e347b2aa5099a72411d9b1dae9284.tar.gz |
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>
Diffstat (limited to 'qt-ui/preferences.ui')
-rw-r--r-- | qt-ui/preferences.ui | 129 |
1 files changed, 58 insertions, 71 deletions
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui index 978914bf1..b5c683676 100644 --- a/qt-ui/preferences.ui +++ b/qt-ui/preferences.ui @@ -154,7 +154,7 @@ </sizepolicy> </property> <property name="currentIndex"> - <number>5</number> + <number>4</number> </property> <widget class="QWidget" name="defaults_page"> <layout class="QVBoxLayout" name="verticalLayout_3"> @@ -1214,76 +1214,63 @@ <property name="title"> <string>Subsurface cloud storage</string> </property> - <widget class="QWidget" name="layoutWidget"> - <property name="geometry"> - <rect> - <x>12</x> - <y>37</y> - <width>641</width> - <height>83</height> - </rect> - </property> - <layout class="QGridLayout" name="gridLayout_3" rowstretch="1,1,1" columnstretch="1,1,0"> - <property name="sizeConstraint"> - <enum>QLayout::SetMaximumSize</enum> - </property> - <item row="0" column="0"> - <widget class="QLabel" name="label_16b"> - <property name="toolTip"> - <string extracomment="Email address used for the Subsurface cloud storage infrastructure"/> - </property> - <property name="text"> - <string>Email address</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="label_16c"> - <property name="text"> - <string>Password</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLineEdit" name="cloud_storage_email"> - <property name="toolTip"> - <string extracomment="Email address used for the Subsurface cloud storage infrastructure"/> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="cloud_storage_password"/> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="save_password_local"> - <property name="text"> - <string>Save Password locally?</string> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QLabel" name="cloud_storage_pin_label"> - <property name="text"> - <string>Verification PIN</string> - </property> - </widget> - </item> - <item row="1" column="2"> - <widget class="QLineEdit" name="cloud_storage_pin"> - <property name="toolTip"> - <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> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QLabel" name="label_16b"> + <property name="toolTip"> + <string extracomment="Email address used for the Subsurface cloud storage infrastructure"/> + </property> + <property name="text"> + <string>Email address</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_16c"> + <property name="text"> + <string>Password</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QLabel" name="cloud_storage_pin_label"> + <property name="text"> + <string>Verification PIN</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLineEdit" name="cloud_storage_email"> + <property name="toolTip"> + <string extracomment="Email address used for the Subsurface cloud storage infrastructure"/> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="cloud_storage_password"/> + </item> + <item row="1" column="2"> + <widget class="QLineEdit" name="cloud_storage_pin"> + <property name="toolTip"> + <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> + <item row="2" column="1"> + <widget class="QCheckBox" name="save_password_local"> + <property name="text"> + <string>Save Password locally?</string> + </property> + </widget> + </item> + </layout> </widget> </item> <item> |