//! [0] Q3SimpleRichText myrichtext(contents, mywidget->font()); //! [0]