[Qt-interest] QMenu does not respond to mouse click

Andreas Pakulat apaku at gmx.de
Thu May 12 11:38:57 CEST 2011


On 12.05.11 10:38:58, Andreas Pakulat wrote:
> On 12.05.11 09:29:20, Matthias Pospiech wrote:
> > We have a rather simple application which has two menu entries:
> > (File) (Configuration)
> > 
> > The menu is only accessible with the mouse over  the 'n' of 'Configuration'.
> 
> Sounds like a widget is placed at the top-left corner of your
> mainwindow. That one would cover the menu on its own width producing the
> symptoms you see.

PS: One way to get such a widget is by creating it as a direct child of
the mainwindow and then never putting it into a layout thats under the
central widget (which would re-parent the widget).

Andreas
 



More information about the Qt-interest-old mailing list