Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QString QAbstractItemDelegate::elidedText ( const QFontMetrics fontMetrics,
int  width,
Qt::TextElideMode  mode,
const QString text 
) [static, inherited]

Use QFontMetrics::elidedText() instead.

QFontMetrics fm = ... QString str = QAbstractItemDelegate::elidedText(fm, width, mode, text); QFontMetrics fm = ... QString str = fm.elidedText(text, mode, width);

Definition at line 276 of file qabstractitemdelegate.cpp.

References QFontMetrics::elidedText().

{
    return fontMetrics.elidedText(text, mode, width);
}


Generated by  Doxygen 1.6.0   Back to index