Re: Re: [Knowit-users] Re: Questions about KnowIt

Michal Rudolf <mrudolf-W20+MoKGEJdEHWO/[email protected]> Mon, 5 Apr 2004 16:00:06 +0200
Newsgroups gmane.comp.kde.devel.knowit
Message-ID <[email protected]>
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=46rank Osterfeld,   pon, 5 kwietnia 2004 15:50:

>Yes, that's really annoying. Executing hyper links is possible, actually
> it's all implemented in QTextEdit, but disabled, the QTextEdit-friend
> QTextBrowser seems to be the only class which can override this.
>Adding links seems only be possible with append() but not with insert()...
=46unny, isn't it? To implement everything and then disable this functional=
ity.
List formatting, which was added in 0.10, bases on a function that was mark=
ed=20
as obsolete/deprecated in Qt 3.1 if I remember well. Still, there seems no=
=20
other way to do it!

>Maybe the only way to get better support for editing links, images, tables
>etc. is to take the QTextEdit code and create a modified QTextEdit with
> added support? I don't think any standard Qt widget offers what we need.
>I asked on #kde-devel if anybody knows an application with a widget which
>combines editable rich text and hyper links, but nobody did.
When I started to develop KnowIt and I first looked into QTextEdit class, I=
=20
thought this is some simple problem which would be corrected in the next=20
version (meanwhile improving rich text editor was one of announced changes =
in=20
next versions).

Still, the appropriate changes weren't done. I hoped that if it won't be do=
ne=20
for Qt, maybe it would be done for KDE. Not yet.

What about KOffice? How it is implemented there? I haven't KOffice installe=
d=20
here, but it may be interested to check what they have done for it.
=2D --=20
Micha=B3 Rudolf
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAcWZm2dfk8YI8//URApnqAJ90x7ai62z49gMWklYr7t06ZklO2wCffjLm
MzkQ/bNqzGPhNKfXzbRiJRo=3D
=3DOBlx
=2D----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click