[Marble-commits] KDE/kdeedu/marble/src/lib/routing
Dennis Nienhüser
earthwings at gentoo.org
Thu Apr 22 19:13:22 CEST 2010
SVN commit 1117642 by nienhueser:
Move the Search / Get Directions button to its own row.
M +1 -1 RoutingWidget.cpp
M +18 -1 RoutingWidget.ui
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingWidget.cpp #1117641:1117642
@@ -295,7 +295,7 @@
void RoutingWidget::addInputWidget()
{
- int index = d->m_ui.routingLayout->count()-4;
+ int index = d->m_ui.routingLayout->count()-5;
d->m_routeSkeleton->append(GeoDataCoordinates());
insertInputWidget(index);
}
--- trunk/KDE/kdeedu/marble/src/lib/routing/RoutingWidget.ui #1117641:1117642
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>278</width>
+ <width>162</width>
<height>392</height>
</rect>
</property>
@@ -131,7 +131,24 @@
</property>
</widget>
</item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
<widget class="QPushButton" name="searchButton">
<property name="text">
<string>Search</string>
More information about the Marble-commits
mailing list