diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-05-17 18:50:22 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-17 15:02:57 -0700 |
commit | 253d9ff300e7d3f871fb67c5a16463c08fdef519 (patch) | |
tree | 5d9e6b41c01baa988087e957ce90db3fed9b2306 /qt-ui/maintab.ui | |
parent | c2f77353eea26462311964f33515f7f91136abe9 (diff) | |
download | subsurface-253d9ff300e7d3f871fb67c5a16463c08fdef519.tar.gz |
Use the QtWaitingSpinner instead of blocking the MainTab
We shouldn't allow the user to change the location when we are probing
the web for the correct places if we are updating an old file from
Subsurface. This makes use of a pleasant spinner that works beautifully.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r-- | qt-ui/maintab.ui | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index bfa93b5b5..da8cabecb 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -22,8 +22,7 @@ <number>0</number> </property> <item row="2" column="1"> - <widget class="KMessageWidget" name="diveNotesMessage" native="true"> - </widget> + <widget class="KMessageWidget" name="diveNotesMessage" native="true"/> </item> <item row="3" column="1"> <widget class="QScrollArea" name="scrollArea"> @@ -41,8 +40,8 @@ <rect> <x>0</x> <y>0</y> - <width>441</width> - <height>753</height> + <width>417</width> + <height>744</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> @@ -142,6 +141,9 @@ </property> </widget> </item> + <item> + <widget class="QtWaitingSpinner" name="waitingSpinner" native="true"/> + </item> </layout> </item> <item> @@ -385,8 +387,8 @@ <rect> <x>0</x> <y>0</y> - <width>68</width> - <height>40</height> + <width>98</width> + <height>55</height> </rect> </property> <layout class="QGridLayout" name="equipmentTabScrollAreaLayout"> @@ -441,8 +443,8 @@ <rect> <x>0</x> <y>0</y> - <width>441</width> - <height>363</height> + <width>330</width> + <height>334</height> </rect> </property> <layout class="QGridLayout" name="diveInfoScrollAreaLayout"> @@ -758,8 +760,8 @@ <rect> <x>0</x> <y>0</y> - <width>446</width> - <height>215</height> + <width>328</width> + <height>208</height> </rect> </property> <layout class="QGridLayout" name="statsScrollAreaLayout"> @@ -1009,6 +1011,12 @@ <extends>QListView</extends> <header>divepicturewidget.h</header> </customwidget> + <customwidget> + <class>QtWaitingSpinner</class> + <extends>QWidget</extends> + <header>qtwaitingspinner.h</header> + <container>1</container> + </customwidget> </customwidgets> <tabstops> <tabstop>dateEdit</tabstop> |