Go to the documentation of this file.
228 bool alignedToWeeks =
true;
231 for (
int i = 0; i < ticks.size(); i++ )
243 alignedToWeeks =
false;
275 #if QT_VERSION >= 0x050200
void setTimeSpec(Qt::TimeSpec)
@ Hour
The interval is related to hours.
@ Minute
The interval is related to minutes.
PrivateData(Qt::TimeSpec spec)
void setWeek0Type(QwtDate::Week0Type)
QwtDate::Week0Type week0Type
static QString toString(const QDateTime &, const QString &format, Week0Type)
@ Millisecond
The interval is related to milliseconds.
QDateTime toDateTime(double) const
QwtDate::Week0Type week0Type() const
const QwtScaleDiv & scaleDiv() const
QList< double > ticks(int tickType) const
A class representing a text.
@ Week
The interval is related to weeks.
@ Day
The interval is related to days.
@ Second
The interval is related to seconds.
QString dateFormats[QwtDate::Year+1]
QwtDateScaleDraw(Qt::TimeSpec=Qt::LocalTime)
Constructor.
Qt::TimeSpec timeSpec() const
virtual QwtText label(double) const QWT_OVERRIDE
Convert a value into its representing label.
static QDateTime toDateTime(double value, Qt::TimeSpec=Qt::UTC)
virtual QString dateFormatOfDate(const QDateTime &, QwtDate::IntervalType) const
auto format(const text_style &ts, const S &format_str, const Args &... args) -> std::basic_string< Char >
virtual QwtDate::IntervalType intervalType(const QwtScaleDiv &) const
@ Year
The interval is related to years.
@ Month
The interval is related to months.
static QDateTime floor(const QDateTime &, IntervalType)
virtual ~QwtDateScaleDraw()
Destructor.
A class representing a scale division.
void setUtcOffset(int seconds)
void setDateFormat(QwtDate::IntervalType, const QString &)
QString dateFormat(QwtDate::IntervalType) const
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45