MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / setTextFlags

Method setTextFlags

qcustomplot/qcustomplot.cpp:19066–19069  ·  view source on GitHub ↗

! Sets options for text alignment and wrapping behaviour. \a flags is a bitwise OR-combination of \c Qt::AlignmentFlag and \c Qt::TextFlag enums. Possible enums are: - Qt::AlignLeft - Qt::AlignRight - Qt::AlignHCenter - Qt::AlignJustify - Qt::AlignTop - Qt::AlignBottom - Qt::AlignVCenter - Qt::AlignCenter - Qt::TextDontClip - Qt::TextSingleLine - Qt::TextExpandTabs

Source from the content-addressed store, hash-verified

19064 - Qt::TextIncludeTrailingSpaces
19065*/
19066void QCPTextElement::setTextFlags(int flags)
19067{
19068 mTextFlags = flags;
19069}
19070
19071/*!
19072 Sets the \a font of the text.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected