Do not use rounded range - it causes more pain than gain

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not store viewSeconds in VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not store time seconds in VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed unused method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Improved computePrimaryTickSecs signature

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Improved computePrimaryTickSecs implementation

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Recompute visible range on addDate

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Return whole ranges from VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added contains method to DateTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Renamed computeVisibleRange to boundVisibleRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Improve adding dates

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Make DateTimeRange immutable

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Replaced setting visible seconds with setting zoom level (0-100)

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Ensure that visible time range is always within data time range

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Added moveStart method to DateTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Improved implementation of VisibleTimeRange::setViewStartOffset

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Extracted paintDays method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Small refactoring in EventTimelineWidget::paintDays method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Implement EventTimelineWidget::timeXOffset method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Fix problem with UTC offset in timeline widget

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>