[Interest] emulate windows 10 behaviour on a QT window

Scott Aron Bloom scott at towel42.com
Wed Nov 11 13:09:47 CET 2015


my question would be this.   as I run Qt 5 and Windows 10 currently,  I get that behavior today for free..

why are you trying to redo what the windows manager does for you already?

what is broken?


~~Scott


-------- Original message --------
From: Constantin Makshin <cmakshin at gmail.com>
Date: 11/10/2015 20:51 (GMT-08:00)
To: Qt Interest <interest at qt-project.org>
Subject: Re: [Interest] emulate windows 10 behaviour on a QT window

I don't think you can do much more than maximizing your window when its
Y coordinate becomes less than a certain [small] value.

On 11/11/2015 12:57 AM, Nicolas Jäger wrote:
> Hi,
> I have to use QT5 on windows 10 (both are not my choice...), I wrote an ui with QT, I have a
> borderless window and I use a widget to make the window bar. I can move the window around the
> screen by clicking and holding the mouse button on that widget.
>
> Now, somebody asks me to emulate the same behaviour like usual windows do on MS Window 10, e.g.
> when you got close of the top of the desktop, the window does an animation to fullscreen it.
>
> I don't know how to do that, I'm not even sure I can do it. But I try to figure if there is a way
> to do it with QT or if I can send some microsoft windows 10 event to force the behaviour.
>
> I never wrote something for window neither for QT before, so it's quiet a challenge for me.
>
> ps: not sure if the word emulate is a good choice
>
> regards,
> Nicolas Jäger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151111/cf0c5ed8/attachment.html>


More information about the Interest mailing list