svgui
1.9
|
TextAbbrev.h
Go to the documentation of this file.
static QString abbreviateTo(QString text, int characters, Policy policy, QString ellipsis)
Definition: TextAbbrev.cpp:51
static QString abbreviate(QString text, int maxLength, Policy policy=ElideEnd, bool fuzzy=true, QString ellipsis="")
Abbreviate the given text to the given maximum length (including ellipsis), using the given abbreviat...
Definition: TextAbbrev.cpp:79
Definition: TextAbbrev.h:30
Definition: TextAbbrev.h:31
static QStringList elidePrefixes(const QStringList &texts, int targetReduction, QString ellipsis)
Definition: TextAbbrev.cpp:189
static int getPrefixLength(const QStringList &texts)
Definition: TextAbbrev.cpp:250
Definition: TextAbbrev.h:24
static int getFuzzWidth(const QFontMetrics &metrics, QString ellipsis)
Definition: TextAbbrev.cpp:39
Definition: TextAbbrev.h:28
Generated by 1.8.11