[Interest] Accessing undo/redo stack in QPlaintextEdit

Wilhelm wilhelm.meier at fh-kl.de
Tue Jul 2 09:48:46 CEST 2013


Am 02.07.2013 08:10, schrieb 程梁:
> QPlainTextEdit do have implemented all features about redo/undo.

Can you please tell me how to display the undo stack of a QPlaintextEdit 
in a QUndoView? I can't find a way to access (get a pointer to) the 
undo-stack of a QPlaintextEdit.

>
> If this is not suitable for you, you could reimplament it by Qt's Undo
> framework.
>
> Cheng Liang
> Nanjing, China
> http://www.devbean.net
>
>  > Date: Tue, 2 Jul 2013 07:30:26 +0200
>  > From: wilhelm.meier at fh-kl.de
>  > To: interest at qt-project.org
>  > Subject: [Interest] Accessing undo/redo stack in QPlaintextEdit
>  >
>  > Hi all,
>  >
>  > I would like to show the list of available undo/redos for a
>  > QPlaintextEdit. But I don't find a way to access the e.g. undo stack.
>  >
>  > Do I have to reimplement the whole feature?
>  >
>  > Are there any examples?
>  >
>  > --
>  > Wilhelm
>  >
>  > _______________________________________________
>  > Interest mailing list
>  > Interest at qt-project.org
>  > http://lists.qt-project.org/mailman/listinfo/interest
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>


-- 
Wilhelm




More information about the Interest mailing list