mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Compare Pane Mechanics
.. compare pane now appears and disappears on both the analysis view and home view .. it also is notified of drag/drop events and can accept the objects dropped .. it is now time to write the widget for collecting and managing compare sets
This commit is contained in:
@@ -58,7 +58,10 @@ TabView::TabView(Context *context, int type) :
|
||||
splitter->setOpaqueResize(true); // redraw when released, snappier UI
|
||||
stack->insertWidget(0, splitter); // splitter always at index 0
|
||||
|
||||
mainSplitter = new ViewSplitter(Qt::Vertical, "Compare Intervals", this);
|
||||
QString heading = "Compare Intervals";
|
||||
if (type == VIEW_HOME) heading = "Compare Date Ranges";
|
||||
|
||||
mainSplitter = new ViewSplitter(Qt::Vertical, heading, this);
|
||||
mainSplitter->setHandleWidth(23);
|
||||
mainSplitter->setFrameStyle(QFrame::NoFrame);
|
||||
mainSplitter->setContentsMargins(0, 0, 0, 0); // attempting to follow some UI guides
|
||||
|
||||
Reference in New Issue
Block a user