[Qt-interest] QMenu vertical separator feature

Patrick Sebastian Zimmermann patrick at zakweb.de
Mon Nov 22 23:13:18 CET 2010


This is my first post to this mailing list, so: Hello everyone.

I try to extend the QMenu to allow for a vertical separator, that will allow to put menu entries in several columns in a controlled fashion.
I found no way of implementing this via composition or inheritance. Thus I tried to do it by changing QMenu itself.
In addition to the QMenu class the QAction class needs to be adapted to distinguish between a horizontal (the current one) and
vertical separator. This is quite an intrusive change, since QAction is used in some other places too where this differentiation makes no sense.
Now the question:
Would such a change have any chance of getting upstream?

Greetings,
Patrick Zimmermann



More information about the Qt-interest-old mailing list