mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
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:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user