##// END OF EJS Templates
Handles rendering of plottables (1)...
Handles rendering of plottables (1) As for the axes properties, we create a helper used to set rendering properties of the plottables depending on the type of the data series used to create these plottables. Rendering properties will be, for example: - the color of each component for a scalar or a vector - the color scale management for a spectrogram

File last commit:

r487:ff7ed2ba3c52
r918:8264fa4b2aa2
Show More
DateUtils.h
19 lines | 521 B | text/x-c | CLexer
#ifndef SCIQLOP_DATEUTILS_H
#define SCIQLOP_DATEUTILS_H
#include "CoreGlobal.h"
#include <QDateTime>
/**
* Utility class with methods for dates
*/
struct SCIQLOP_CORE_EXPORT DateUtils {
/// Converts seconds (since epoch) to datetime. By default, the datetime is in UTC
static QDateTime dateTime(double secs, Qt::TimeSpec timeSpec = Qt::UTC) noexcept;
/// Converts datetime to seconds since epoch
static double secondsSinceEpoch(const QDateTime &dateTime) noexcept;
};
#endif // SCIQLOP_DATEUTILS_H