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

int QLabel::heightForWidth ( int  w  )  const [virtual]

Reimplemented from QWidget.

Definition at line 638 of file qlabel.cpp.

References QWidget::heightForWidth().

{
    Q_D(const QLabel);
    if (d->doc)
        return d->sizeForWidth(w).height();
    return QWidget::heightForWidth(w);
}


Generated by  Doxygen 1.6.0   Back to index