#include <SvgDayActivity.h>


Public Member Functions | |
| virtual void | add (int from, int duration, float height, const QString &color, const QString &title) |
| add an activity rectangle. from is minutes since midnight, duration is minutes, height pixels, color html code, and title text to show on mouseover | |
| virtual QString | toString () const |
| returns the string to be used in the document | |
Static Protected Member Functions | |
| static QString | drawLegend () |
| void SvgDayActivity::add | ( | int | from, |
| int | duration, | ||
| float | height, | ||
| const QString & | color, | ||
| const QString & | title | ||
| ) | [virtual] |
add an activity rectangle. from is minutes since midnight, duration is minutes, height pixels, color html code, and title text to show on mouseover
References PictureGenerator::collector.
Referenced by VuActivities::printOn(), CardActivityDailyRecord::printOn(), ActivityChangeInfoArray::printOn(), and visualizeActivityChangeInfoArray().
| QString SvgDayActivity::drawLegend | ( | ) | [static, protected] |
Referenced by toString().
| QString SvgDayActivity::toString | ( | ) | const [virtual] |
returns the string to be used in the document
Reimplemented from PictureGenerator.
References SvgDayGraph::addSvgHull(), PictureGenerator::collected, SvgDayGraph::drawBorderAndTimeAxis(), and drawLegend().
Referenced by VuActivities::printOn(), CardActivityDailyRecord::printOn(), and ActivityChangeInfoArray::printOn().
1.7.4