[−][src]Function qt_gui::qt::convert_from_plain_text_1a
pub unsafe fn convert_from_plain_text_1a(
plain: impl CastInto<Ref<QString>>
) -> CppBox<QString>
Converts the plain text string plain to an HTML-formatted paragraph while preserving most of its look.
Calls C++ function: QString Qt::convertFromPlainText(const QString& plain)
.
Converts the plain text string plain to an HTML-formatted paragraph while preserving most of its look.
mode defines how whitespace is handled.
This function is defined in the <QTextDocument>
header file.
See also QString::toHtmlEscaped() and mightBeRichText().