Context menu partly hidden
emdeck at gmail.com
Sun May 24 20:48:13 CEST 2009
On 24-05-2009 20:32:00 Marco Martin <notmart at gmail.com> wrote:
> On Sunday 24 May 2009, Emdek wrote:
>> On 24-05-2009 16:22:48 Marco Martin <notmart at gmail.com> wrote:
>> > On 5/20/09, L Pierre <pierrelud at yahoo.com> wrote:
>> >> Hi,
>> >> The context menus was as result of a right mouse click on the middle
>> >> box in
>> >> the picture (see attach). I used a class as subclass of
>> >> Plasma::TextEdit -
>> >> "PlasmaTextEdit : public Plasma::TextEdit"
>> >> Is there something I can do to prevent this? (see attach)
>> >> Does anyone have an idea why this is happening?
>> > unfortunately yes.
>> > the context menu is embedded into scene as well as the parent widget
>> > and is something we can't do much about it (until there will be some
>> > kind of support in qt to not embed children or -certain- children)
>> > what you can do is to set a pretty high zvalue of the widget that has
>> > the context menu
>> I don't know, but maybe flag that I've found could help (if set for
> yeah, indeed,
> but the prolem is that with standard qwidgets you would have to dig in
> structure, i.e accessing somehow the popup menu of a combobox or a text
> and set the flag on that, you can iterate trough children of a qobject
> well, not sooo pretty :p
Right... So we probably need to wait ages for Qt 4.6...
More information about the Plasma-devel