aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-17 21:58:49 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-17 21:58:49 -0300
commit86021b24d98c385b10ccc2fefab5cf22f3a03b54 (patch)
tree39a603640b2882cec9040c59f1a51bfe8e88bae6 /qt-ui/mainwindow.ui
parent56dbb7c2ff697a393f5051e2b5363bd4c0f2bb6e (diff)
downloadsubsurface-86021b24d98c385b10ccc2fefab5cf22f3a03b54.tar.gz
Borrowed the KMessageWidget code to better show passive information.
Borrowed the code from KMessageWidget from Aurelian Gateau, Kdelibs, to better show passive information and notifications. instead of a popup blowing in the user's face, a nice, animated and well designed widget will gracefully fade-in, show the notes, and fade out when not needed anymore. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r--qt-ui/mainwindow.ui23
1 files changed, 19 insertions, 4 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index ab0cd5f49..36f594d2d 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -14,8 +14,8 @@
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
<widget class="QSplitter" name="mainSplitter">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -27,7 +27,7 @@
<widget class="MainTab" name="InfoWidget" native="true"/>
<widget class="ProfileGraphicsView" name="ProfileWidget"/>
</widget>
- <widget class="QSplitter" name="globeListSplitter">
+ <widget class="QSplitter" name="listGlobeSplitter">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -82,7 +82,16 @@
<bool>true</bool>
</property>
</widget>
- <widget class="GlobeGPS" name="widget" native="true"/>
+ <widget class="QWidget" name="layoutWidget">
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="KMessageWidget" name="globeMessage" native="true"/>
+ </item>
+ <item>
+ <widget class="GlobeGPS" name="globe" native="true"/>
+ </item>
+ </layout>
+ </widget>
</widget>
</widget>
</item>
@@ -377,6 +386,12 @@
<header>globe.h</header>
<container>1</container>
</customwidget>
+ <customwidget>
+ <class>KMessageWidget</class>
+ <extends>QWidget</extends>
+ <header>kmessagewidget.h</header>
+ <container>1</container>
+ </customwidget>
</customwidgets>
<resources/>
<connections/>