diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-16 16:43:01 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-16 21:16:58 -0700 |
commit | d59e89e569b732661633424fcf19f09e95b936fe (patch) | |
tree | 738d09dfd413ba279ada2a05a88eba5a031efcdf /qt-ui/maintab.ui | |
parent | e945134cc48315dfbe462051d9facd1543779e2c (diff) | |
download | subsurface-d59e89e569b732661633424fcf19f09e95b936fe.tar.gz |
Make Facebook more user friendly
The current way that facebook works is terrible: it's scattered
around tons of files ( at least 4 different files and classes )
this moves things around a bit, add a disconnect button that
was missing, cleans tons of code and fix inconsistencies.
I will also redo this part for 5.0, but it's too late for 4.5
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r-- | qt-ui/maintab.ui | 177 |
1 files changed, 18 insertions, 159 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 7ea895863..23bacbf85 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -21,16 +21,7 @@ <string>General notes about the current selection</string> </attribute> <layout class="QGridLayout" name="diveNotesLayout"> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>5</number> </property> <property name="spacing"> @@ -55,21 +46,12 @@ <rect> <x>0</x> <y>0</y> - <width>445</width> - <height>760</height> + <width>449</width> + <height>772</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>0</number> </property> <item> @@ -458,51 +440,9 @@ <property name="spacing"> <number>0</number> </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>0</number> </property> - <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QPushButton" name="facebookPublish"> - <property name="text"> - <string/> - </property> - <property name="icon"> - <iconset resource="../subsurface.qrc"> - <normaloff>:/facebook</normaloff>:/facebook</iconset> - </property> - <property name="iconSize"> - <size> - <width>32</width> - <height>32</height> - </size> - </property> - <property name="flat"> - <bool>true</bool> - </property> - </widget> - </item> </layout> </widget> </item> @@ -524,16 +464,7 @@ <string>Used equipment in the current selection</string> </attribute> <layout class="QGridLayout" name="equiptmentTabLayout"> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>5</number> </property> <item row="0" column="0"> @@ -560,16 +491,7 @@ </rect> </property> <layout class="QGridLayout" name="equipmentTabScrollAreaLayout"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>0</number> </property> <property name="spacing"> @@ -581,16 +503,7 @@ <property name="spacing"> <number>0</number> </property> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>0</number> </property> <item> @@ -619,16 +532,7 @@ <string>Dive information</string> </attribute> <layout class="QGridLayout" name="diveInfoLayout"> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>5</number> </property> <item row="0" column="0"> @@ -650,21 +554,12 @@ <rect> <x>0</x> <y>0</y> - <width>287</width> - <height>320</height> + <width>211</width> + <height>250</height> </rect> </property> <layout class="QGridLayout" name="diveInfoScrollAreaLayout"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>0</number> </property> <property name="spacing"> @@ -963,16 +858,7 @@ <string>Simple statistics about the selection</string> </attribute> <layout class="QGridLayout" name="statsLayout"> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>5</number> </property> <item row="1" column="1"> @@ -991,21 +877,12 @@ <rect> <x>0</x> <y>0</y> - <width>297</width> - <height>187</height> + <width>225</width> + <height>166</height> </rect> </property> <layout class="QHBoxLayout" name="horizontalLayout"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>0</number> </property> <item> @@ -1181,16 +1058,7 @@ <string>All photos from the current selection</string> </attribute> <layout class="QVBoxLayout" name="photosLayout"> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>5</number> </property> <item> @@ -1213,16 +1081,7 @@ <property name="spacing"> <number>0</number> </property> - <property name="leftMargin"> - <number>5</number> - </property> - <property name="topMargin"> - <number>5</number> - </property> - <property name="rightMargin"> - <number>5</number> - </property> - <property name="bottomMargin"> + <property name="margin"> <number>5</number> </property> <item> |