mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
UI Nits: Daily/Weekly/Monthly Summary
You can now add the summary chart to the diary view to get a summary of the date range currently being summarised on that view. Once the Home view has its own sidebar that selects date ranges you will be able to add it there too and summarise seasons etc.
This commit is contained in:
@@ -97,22 +97,25 @@ QDateTime convertToLocalTime(QString timestamp)
|
||||
}
|
||||
}
|
||||
|
||||
DateRange::DateRange(QDate from, QDate to) : QObject()
|
||||
DateRange::DateRange(QDate from, QDate to, QString name) : QObject()
|
||||
{
|
||||
this->from=from;
|
||||
this->to=to;
|
||||
this->name=name;
|
||||
}
|
||||
|
||||
DateRange::DateRange(const DateRange &other) : QObject()
|
||||
{
|
||||
from=other.from;
|
||||
to=other.to;
|
||||
name=other.name;
|
||||
}
|
||||
|
||||
DateRange& DateRange::operator=(const DateRange &other)
|
||||
{
|
||||
from=other.from;
|
||||
to=other.to;
|
||||
name=other.name;
|
||||
emit changed(from, to);
|
||||
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user