From f77eb5c14fb3cc35cce4d108ba1e231101905ab7 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Fri, 30 May 2014 21:14:37 +0100 Subject: [PATCH] Another Scrollbar .. .. AllPlot IntervalSummary overlay needs its scrollbar styled. --- src/AllPlotWindow.cpp | 4 +++- src/AllPlotWindow.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/AllPlotWindow.cpp b/src/AllPlotWindow.cpp index a1eebba51..57b83e49a 100644 --- a/src/AllPlotWindow.cpp +++ b/src/AllPlotWindow.cpp @@ -527,7 +527,8 @@ AllPlotWindow::AllPlotWindow(Context *context) : vlayout->setSpacing(1); // put a helper on the screen for mouse over intervals... - addHelper(tr("Intervals"), new IntervalSummaryWindow(context)); + overlayIntervals = new IntervalSummaryWindow(context); + addHelper(tr("Intervals"), overlayIntervals); //mainLayout->addLayout(vlayout,0,0); //mainLayout->addWidget(revealBackground,0,0, Qt::AlignTop); @@ -624,6 +625,7 @@ AllPlotWindow::configChanged() comparePlotFrame->setStyleSheet(TabView::ourStyleSheet()); seriesstackFrame->setStyleSheet(TabView::ourStyleSheet()); stackFrame->setStyleSheet(TabView::ourStyleSheet()); + overlayIntervals->setStyleSheet(TabView::ourStyleSheet()); #endif // set palettes diff --git a/src/AllPlotWindow.h b/src/AllPlotWindow.h index e36e371cd..60460e6a8 100644 --- a/src/AllPlotWindow.h +++ b/src/AllPlotWindow.h @@ -36,6 +36,7 @@ class QwtPlotMarker; class QwtArrowButton; class RideItem; class IntervalItem; +class IntervalSummaryWindow; class QxtSpanSlider; class QxtGroupBox; class WPrime; @@ -284,6 +285,7 @@ class AllPlotWindow : public GcChartWindow QLineEdit *rSmoothEdit; QCheckBox *rStack, *rBySeries, *rFull, *rHelp; QStackedWidget *allPlotStack; + IntervalSummaryWindow *overlayIntervals; // comparing QList compareIntervalCurves; // one per compareInterval