mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
Show anomaly list in ride editor controls
The ride editor does a pretty good job of finding anomalies in the ride data, and to help it underlines the anomalies with a wiggly red line and adds a tooltip to explain. But, you have to scroll up and down the file to look for them and when you are scrolling at high speed the wavy lines are difficult to spot. This patch updates the ride editor controls (which previously only had the find dialog) and adds a list of anomalies at the bottom. You can click on an anomaly to jump to it in the ride data.
This commit is contained in:
@@ -345,7 +345,9 @@ MainWindow::MainWindow(const QDir &home) :
|
||||
"background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,"
|
||||
"stop: 0 #CFCFCF, stop: 1.0 #A8A8A8);"
|
||||
"border: 1px solid rgba(255, 255, 255, 32);"
|
||||
#if 0
|
||||
"color: #535353;"
|
||||
#endif
|
||||
"font-weight: bold; }");
|
||||
|
||||
toolBox->setFrameStyle(QFrame::NoFrame);
|
||||
@@ -459,7 +461,6 @@ MainWindow::MainWindow(const QDir &home) :
|
||||
splitter->setChildrenCollapsible(false); // QT BUG crash QTextLayout do not undo this
|
||||
splitter->setHandleWidth(1);
|
||||
splitter->setFrameStyle(QFrame::NoFrame);
|
||||
splitter->setStyleSheet("QSplitter { border: 0px; background-color: #A8A8A8; }");
|
||||
splitter->setContentsMargins(0, 0, 0, 0); // attempting to follow some UI guides
|
||||
setCentralWidget(splitter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user