[Interest] popup() method for window instead of menu

Harish Surana surana4u at gmail.com
Wed Dec 4 17:45:14 CET 2013


You will need to play with Qt::WindowFlags. There is one example in qt
installation folder "examples\widgets\windowflags" to better understand all
these flags.


On Wed, Dec 4, 2013 at 9:05 AM, Damian Ivanov <damianatorrpm at gmail.com>wrote:

> Hi all,
>
> I did not find it but I thought I ask on this list if someone knows
> for it's existence.
> For a Menu { id: myMenu } I can call it like a contextMenu by calling
> it via myMenu.popup()
> and it will popup at current mouse position and if clicked outside of
> the myMenu it is automatically hidden again. Now I want to have that
> behavior for a Window { }.
> Is there some known extension to you?
>
>  I came across
> https://github.com/mauios/hawaii-shell/tree/dev/src/client/windowtypes
>  but this is wayland only.
>
> Thanks in advance.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131204/b772fbd4/attachment.html>


More information about the Interest mailing list