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

void QTextCharFormat::setUnderlineStyle ( UnderlineStyle  style  )  [inherited]

Sets the style of underlining the text to style.

Definition at line 1231 of file qtextformat.cpp.

References QTextFormat::setProperty().

Referenced by QTextCharFormat::setFont(), and QInputContext::standardFormat().

    setProperty(TextUnderlineStyle, style);
    // for compatibility
    setProperty(FontUnderline, style == SingleUnderline);

Generated by  Doxygen 1.6.0   Back to index