summaryrefslogtreecommitdiff
path: root/src/resources.qrc
diff options
context:
space:
mode:
authordodoradio <dodoradio@outlook.com>2023-07-19 14:12:49 +0100
committerdodoradio <dodoradio@outlook.com>2023-07-20 19:17:44 +0100
commita4275a238f2a913923ee5b09edecba9c89ee4df1 (patch)
tree4956a412bbe0e395e3a7bd80ee0edf0fe2485055 /src/resources.qrc
parent19d485261dbb9f990935b4e677692207cf6422d3 (diff)
Rewrite the labelling system
The label code has been split into its own set of components: -TimeLabels: These try to display time labels as best as possible. They can label intervals from a minute to a day, but the code for labelling weeks is still missing. There's also no code protecting against strings overlapping with each other. - VerticalLabels: The code for these is a bit more 'analogue' than that of the time labels, but it's roughly analogous to previous code. These have also been implemented for the heartrate graph.
Diffstat (limited to 'src/resources.qrc')
-rw-r--r--src/resources.qrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources.qrc b/src/resources.qrc
index 64a9f5f..4eaeafe 100644
--- a/src/resources.qrc
+++ b/src/resources.qrc
@@ -8,5 +8,7 @@
<file>settings/UiSettingsPage.qml</file>
<file>graphs/BarGraph.qml</file>
<file>graphs/HrGraph.qml</file>
+ <file>graphs/TimeLabels.qml</file>
+ <file>graphs/VerticalLabels.qml</file>
</qresource>
</RCC>