Moved setZoomSeconds() method to VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved setViewStartOffset method to VisibleTimeRange

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Extracted earliestDate() and latestDate() methods

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

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

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

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

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

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

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

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved ensureViewTimeSpan method to VisibleTimeRange

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

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Converted VisibleTimeRange from struct to class

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

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Replaced standard QScrollBar with TimeRangeScrollBar

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

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use signal/slot mechanism for setting range in TimeRangeScrollBar

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use signal/slot mechanism for setting steps in TimeRangeScrollBar

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Extracted functions roundedDown() and roundedUp()

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

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