Sidebar, Ride List and Aeshetics

An update to the ride list on the left hand side
to enable the user to choose and sort or group-by
metrics, metadata fields and ride information.

In addition, the sidebar has been 'improved'
cosmetically and to require less screen estate.

Also, the ticks and frames on plots have been
adjusted to be more aesthtically appealling.

There is more to come on the look-and-feel front,
but this patch heralds some work on the sidebar
which needs to be resolved.
This commit is contained in:
Mark Liversedge
2011-06-01 16:34:24 +01:00
parent d1f43a2800
commit 4ab96e16d1
36 changed files with 515 additions and 157 deletions

View File

@@ -146,12 +146,18 @@ GoogleMapControl::GoogleMapControl(MainWindow *mw) : GcWindow(mw), main(mw), ran
{
setInstanceName("Google Map");
setControls(NULL);
setContentsMargins(0,0,0,0);
parent = mw;
view = new QWebView();
view->setContentsMargins(0,0,0,0);
view->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
layout = new QVBoxLayout();
layout->addWidget(view);
layout->setSpacing(0);
setLayout(layout);
//connect(parent, SIGNAL(rideSelected()), this, SLOT(rideSelected()));
connect(this, SIGNAL(rideItemChanged(RideItem*)), this, SLOT(rideSelected()));
connect(view, SIGNAL(loadStarted()), this, SLOT(loadStarted()));