On Dienstag, 10. Mai 2011, Phil Thompson wrote: > On Thu, 5 May 2011 20:56:46 -0500, Christopher Pow > > <[email protected]> wrote: > > I'm trying to figure out how to extend the context menu of my QScintilla > > widget. Before I switched to QScintilla I was using a QPlainTextEdit > > which > > > provides a method "createStandardContextMenu" that you can use in your > > contextMenuEvent. Since it returns a QMenu it's very easy to > > .addAction() > > > to the returned menu and .exec() it. I'm curious if there is or will be > > something like this in QScintilla? If not, what is the recommended way > > for > > > extending the context menu? > > It might be worth looking at how eric4/5 handle it. I'm happy to add > something to make it easier and/or more Qt-like. > > Phil > _______________________________________________ > QScintilla mailing list > [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/qscintilla
eric4/5 is creating it's own context menu. Detlev -- Detlev Offenbach [email protected] _______________________________________________ QScintilla mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/qscintilla
