.. use a simple free text search against the ridecache now we
have all the texts available and in memory
.. no need to maintain an index, no dependency on a horrid lib
with nasty dependencies and its faster too
.. the free text search is very simple, will need to bolster it
over time e.g. it matches text not words
.. apply Flat styling across all the widget painting
.. only use WHITE as the flat color for now, in part 3
we will look at user customisation and updating the
toolbar and sidebar buttons to also be flat.
.. refactor linear gradients out of the widgets
such as toolbar, chartbar, sidebaritem etc
.. GCColor::linearGradient() now returns a gradient
that is reused across the codebase
.. in Part 2 we will add a colour and flat style
for the linearGradient
.. in Part 3 we will tidy up the styling for buttons
and toolbuttons to adopt flat or metal styling too
.. so at least chart adding should be easier and no more
UX issues.
.. need to look to add other menu options there; add page, athlete,
chart settings.
.. code lost and reinstated, need to write the code
to show the chart menu when it is clicked.
.. just pushing this code to get it back into the repo
as it was lost accidentally with some other recent changes
.. Only tested on Linux
.. Now going to check on Mac and Qt5
.. Also does not yet support re-ordering tabs
nor scrolling when there are too many to show.
This will come in future updates.