MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / createLabelVector

Method createLabelVector

3rdparty/qcustomplot/qcustomplot.cpp:6365–6372  ·  view source on GitHub ↗

! \internal Returns a vector containing all tick label strings corresponding to the tick coordinates provided in \a ticks. The default implementation calls \ref getTickLabel to generate the respective strings. It is possible but uncommon for QCPAxisTicker subclasses to reimplement this method, as reimplementing \ref getTickLabel often achieves the intended result easier. */

Source from the content-addressed store, hash-verified

6363 reimplementing \ref getTickLabel often achieves the intended result easier.
6364*/
6365QVector<QString> QCPAxisTicker::createLabelVector(const QVector<double> &ticks, const QLocale &locale, QChar formatChar, int precision)
6366{
6367 QVector<QString> result;
6368 result.reserve(ticks.size());
6369 foreach (double tickCoord, ticks)
6370 result.append(getTickLabel(tickCoord, locale, formatChar, precision));
6371 return result;
6372}
6373
6374/*! \internal
6375

Callers

nothing calls this directly

Calls 3

appendMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected