[Qt-interest] QTextEdit: signal undoAvailable(bool) not send

Wilhelm wilhelm.meier at fh-kl.de
Thu Apr 7 11:43:42 CEST 2011


Am 07.04.2011 11:28, schrieb Tony Rietwyk:
>> -----Original Message-----
>> Sent: Thursday, 7 April 2011 18:47 PM
>>
>> Hi,
>>
>> simple question: are there any issues with the signal
>> undoAvailable(bool) oder redoAvailable(bool) in QTextEdit or 
>> QTextDocument?
>>
>> If I edit the text in QTextEdit (interactively) the signal isn't sent?
>>
>> Any hints?
> 
> 
> Hi Wilhelm, 
> 
> Reading through QTextEdit there is a property undoRedoEnabled, which
> QTextDocument also has.  

the default ist true, but I set it explicitly.

Have you set that to true?  Can you undo and redo
> your actions when you are editing?  

Yes, I can.

> 
> Tony
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest


-- 
Wilhelm




More information about the Qt-interest-old mailing list