[Gambas-user] Richtext Editcontrol?

Benoit Minisini gambas at ...1...
Fri Aug 12 21:53:58 CEST 2005


On Thursday 11 August 2005 19:42, Rob wrote:
> On Thursday 11 August 2005 07:16, Marco Bauer wrote:
> > > Is there something like a RichText edit-Control in Gambas, or
> > > KWord integration?
> >
> > Hi Joern,
> > you can use the TextView control to display text with different
> > fonts, sizes, colors etc. using HTML tags. For example:
>
> Unfortunately, as far as I know there's no way to edit text using a
> TextView control.  Qt has a QTextEdit widget to do this, but I think
> it's only available starting with 4.0.  I'm not sure about KDE (as
> Joern suggested, it may be that the KDE solution is to embed KWord
> using DCOP.)
>
> However, it should be possible to implement one in the meantime by
> subclassing TextView and intercepting key presses etc.  If not
> TextView, then I guess you'd have to use a DrawingArea and write your
> own HTML parsing code.... ewwww.
>
> Rob
>

There is a "rich text" editor widget in qt3, but I never had the time to put 
it in the gb.qt component. 

Anyway I need to see with Daniel first: we must check the features of the rich 
text editor in qt, and in gtk+, so that the corresponding gambas control has 
the same interface in gb.qt and gb.gtk...

Regards,


-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list