[Qt-interest] Drawing rectangular

Yuvaraj R yuvaraj at ongobiz.com
Mon Sep 21 18:34:39 CEST 2009


can u provide me related things or sample piece of code

On Mon, Sep 21, 2009 at 9:12 PM, Alessandro Portale <
alessandro.portale at trolltech.com> wrote:

> Yuvaraj,
>
> did you consider using HTML for these decorations?
> Also, QWebKit would be much more powerful for that than QTextBrowser. You
> could use state of-the-art CSS for these decorations. That would help
> separating design and code, you could develop C++ that generates HTML for
> the chat display, and a designer could make the artwork in CSS.
>
> Alessandro.
>
> Yuvaraj R wrote:
> > Thanks for your reply
> >
> > I want to draw the rounded rectangular around the the particular text of
> > text browser.
> >
> > please refer attached image
> >
> > Thanks
> >
> > Yuvaraj R
> >
> >
> > On Mon, Sep 21, 2009 at 8:36 PM, Srdjan Todorovic
> > <todorovic.s at googlemail.com <mailto:todorovic.s at googlemail.com>> wrote:
> >
> >     On 21/09/2009, Yuvaraj R <yuvaraj at ongobiz.com
> >     <mailto:yuvaraj at ongobiz.com>> wrote:
> >
> >      > Can u please help how i paint the textbrowser Text ?
> >
> >     Like so:
> >
> >     QString h("hello!");
> >     painter.drawText ( 50, 50, h );
> >
> >     yes?
> >
> >     Srdjan
>
> --
> Alessandro Portale
> Software Engineer
> Nokia, Qt Development Frameworks
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090921/022b4943/attachment.html 


More information about the Qt-interest-old mailing list