#include <renderedlabel.h>
|
static QString | createElidedLabel (const QString &srcText, const QFont &font, const QSize &bounds) |
|
static void | textLabelElementsByLineBreaks (const QString &str, QList< QString > &elements, int offsetIntoString=0) |
|
static void | customBreakString (const QString &text, const int textBoundWidth, const int textBoundHeight, const QFontMetrics &fm, QList< QString > &elements, int *pLastIndexUsed=0) |
|
RenderedLabel::RenderedLabel |
( |
| ) |
|
|
protected |
RenderedLabel::RenderedLabel |
( |
const QString & |
text | ) |
|
|
protected |
RenderedLabel::RenderedLabel |
( |
const QString & |
text, |
|
|
const QFont & |
font |
|
) |
| |
|
protected |
RenderedLabel::RenderedLabel |
( |
const QString & |
text, |
|
|
const QFont & |
font, |
|
|
const QSize & |
maxBoundBox |
|
) |
| |
|
protected |
RenderedLabel::RenderedLabel |
( |
const QString & |
text, |
|
|
const QFont & |
font, |
|
|
const QPen & |
pen |
|
) |
| |
|
protected |
RenderedLabel::RenderedLabel |
( |
const QString & |
text, |
|
|
const QFont & |
font, |
|
|
const QPen & |
pen, |
|
|
const QSize & |
maxBoundBox |
|
) |
| |
|
protected |
QString RenderedLabel::createElidedLabel |
( |
const QString & |
srcText, |
|
|
const QFont & |
font, |
|
|
const QSize & |
bounds |
|
) |
| |
|
staticprotected |
void RenderedLabel::customBreakString |
( |
const QString & |
text, |
|
|
const int |
textBoundWidth, |
|
|
const int |
textBoundHeight, |
|
|
const QFontMetrics & |
fm, |
|
|
QList< QString > & |
elements, |
|
|
int * |
pLastIndexUsed = 0 |
|
) |
| |
|
staticprotected |
void RenderedLabel::textLabelElementsByLineBreaks |
( |
const QString & |
str, |
|
|
QList< QString > & |
elements, |
|
|
int |
offsetIntoString = 0 |
|
) |
| |
|
staticprotected |
QFont RenderedLabel::m_font |
|
protected |
QSize RenderedLabel::m_maxBoundBox |
|
protected |
QPen RenderedLabel::m_pen |
|
protected |
bool RenderedLabel::m_rendered |
|
protected |
QString RenderedLabel::m_text |
|
protected |
bool RenderedLabel::m_usePen |
|
protected |
bool RenderedLabel::m_valid |
|
protected |
The documentation for this class was generated from the following files: