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

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Thu Apr 7 11:28:14 CEST 2011


> -----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.  Have you set that to true?  Can you undo and redo
your actions when you are editing?  

Tony




More information about the Qt-interest-old mailing list