Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread jagernicolas
Hi, I may have found a trick in my head using a window behind my QMainWindow... I have to check that... regards, Nicolas ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread jagernicolas
Hi, On 2015-11-11 12:39, Thiago Macieira wrote: > On Wednesday 11 November 2015 11:59:05 jagernico...@legtux.org wrote: Hi, > > On 2015-11-11 11:54, Thiago Macieira wrote: You can use the DWM/Aero > interface because you'll only use it on Windows. > On Linux, the behaviour is different

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Thiago Macieira
On Wednesday 11 November 2015 12:09:47 Scott Aron Bloom wrote: > 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? It's a borderless

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Thiago Macieira
On Wednesday 11 November 2015 10:42:01 jagernico...@legtux.org wrote: > Hi, > > On 2015-11-11 10:17, Sze Howe Koh wrote: > > This feature is called "Aero Snap". It's designed with bordered > > windows in mind, but I think hacks exist that emulate it in borderless > > windows. > > > > A quick

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Thiago Macieira
On Wednesday 11 November 2015 11:14:40 Matthew Woehlke wrote: > Does your application have a menu bar? Why not add your widgets to the > menu bar area? Note that widgets on the menu bar are not supported on systems that have external menu bars (OS X, Unity). -- Thiago Macieira -

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread jagernicolas
Hi, On 2015-11-11 07:09, Scott Aron Bloom wrote: > 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 actually, we

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread jagernicolas
Hi, On 2015-11-11 10:17, Sze Howe Koh wrote: > This feature is called "Aero Snap". It's designed with bordered > windows in mind, but I think hacks exist that emulate it in borderless > windows. > > A quick search on Google for "borderless Aero Snap" yielded >

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Scott Aron Bloom
; Date: 11/10/2015 20:51 (GMT-08:00) To: Qt Interest <interest@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/2

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Matthew Woehlke
On 2015-11-10 16:57, Nicolas Jäger wrote: > 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

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Sze Howe Koh
Hi Nicolas, On 11 November 2015 at 05:57, 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 >

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Matthew Woehlke
On 2015-11-11 10:15, jagernico...@legtux.org wrote: > actually, we want to put some widgets in the window bar. For doing this, > I`m using a borderless qtmainwindow and using the toolbar as window bar. Do you really *need* to do that? Besides all the headaches you are going to have reimplementing

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Thiago Macieira
On Wednesday 11 November 2015 13:09:00 jagernico...@legtux.org wrote: > Hi, > > On 2015-11-11 12:39, Thiago Macieira wrote: > > On Wednesday 11 November 2015 11:59:05 jagernico...@legtux.org wrote: Hi, > > > > On 2015-11-11 11:54, Thiago Macieira wrote: You can use the DWM/Aero > > interface

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Nicolas Jäger
Hi, Thiago Macieira : > I'm not. This would apply if you were using any other toolkit: you have the > Qt > code that runs on Linux. Why are you writing *another* application you'll > have > to maintain when you already have a working one? > I think it's for

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-11 Thread Scott Aron Bloom
-Original Message- From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Nicolas Jäger Sent: Wednesday, November 11, 2015 12:18 PM To: interest@qt-project.org Subject: Re: [Interest] emulate windows 10 behaviour on a QT window Hi, Thiago Macieira <thiago.ma

[Interest] emulate windows 10 behaviour on a QT window

2015-11-10 Thread Nicolas Jäger
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

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-10 Thread Nicolas Jäger
hi, Constantin Makshin wrote : > I don't think you can do much more than maximizing your window when its > Y coordinate becomes less than a certain [small] value. I thought about what you said, there is some problem/limitation with that, because windows 10 does some visual

Re: [Interest] emulate windows 10 behaviour on a QT window

2015-11-10 Thread Andrew Knight
Hi Nicolas, The simple answer is to use Qt for Windows Runtime. Then you get the Windows 10 top bar behavior for free. Of course, that means you won't have access to certain APIs which you would have on Classic Windows Desktop, but maybe that won't be an issue for you. I would suggest