[Qt-creator] Formatting HTML tags

Thorbjørn Lindeijer thorbjorn.lindeijer at nokia.com
Mon Apr 19 13:32:51 CEST 2010


On 04/16/2010 02:55 PM, ext M. Bashir Al-Noimi wrote:
> Hi All,
>
> As you know there are may functions in Qt has HTML string parameter for
> example setHTML(QString) , *is there any way for formatting HTML strings
> inside Qt-Creator?*
>
> I find manual input of HTML strings in source file is very exhausting
> because it needs many modifications to be compatible with C++ strings.

A suggestion we've seen before would be to have an action "Paste as 
String Literal", which would automatically quote and escape the pasted 
string. This would allow you to copy over HTML from another application 
into a C++ string with ease.

So far nobody has implemented that yet though, as far as I know.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks



More information about the Qt-creator-old mailing list