[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CAN YOU TRY THIS IN YOUR QT COMPILER???



On 11.Nov 2002 - 18:45:03, Alex wrote:
> Hi people...
> 
> I Have a problem with the QTextEdit widget but I dont know 
> if there is a bug in the Qt or it appears due to linux distributions 
> or something else...
> 
> The problem is:
> 
> When I compile and run the $QTDIR/../examples/textedit/ source code
> the application runs well.
> If I write some lines of text and if I format that lines of text with 
> the justify style the text is well formatted.
> 
> But when I save that text in a file and open the text again from the 
> saved file, the justify format is lost and replaced by the align center format!!!
> 
> This is happening to you too???

Yes it is and its OK!

> Why is this happening to me???

Have you ever read the source code of the example? This isn't a
texteditor, its only there to show you some things that can be done
using the QTextEdit Class. It only saves the Text, no Information about
any formatting or else will be saved. You would have seen that if you
read the source code.

Andreas

-- 
Wie man sein Kind nicht nennen sollte: 
  Axel Höhle 

Attachment: pgpO0OVhXptgF.pgp
Description: PGP signature


Reply to: