Re: [Development] Window{} API for QML

2011-11-21 Thread Adriano Rezende
2011/11/21 Alan Alpert alan.alp...@nokia.com: On Mon, 21 Nov 2011 17:26:44 ext Alan Alpert wrote: On Tue, 15 Nov 2011 19:24:50 ext Alan Alpert wrote: Window{ //Not inheriting QQuickItem, creates a new top level window.     property int x     property int y     property int width    

Re: [Development] Window{} API for QML

2011-11-21 Thread Alan Alpert
On Mon, 21 Nov 2011 23:49:27 you wrote: Mandag 21. november 2011 17.31.30 skrev ext Alan Alpert: On Mon, 21 Nov 2011 17:26:44 ext Alan Alpert wrote: On Tue, 15 Nov 2011 19:24:50 ext Alan Alpert wrote: If we mostly agree, then that's a good starting point. I'll start prototyping a

Re: [Development] Window{} API for QML

2011-11-21 Thread Adriano Rezende
2011/11/21 Alan Alpert alan.alp...@nokia.com: On Tue, 22 Nov 2011 00:50:28 you wrote: 2011/11/21 Alan Alpert alan.alp...@nokia.com: On Mon, 21 Nov 2011 17:26:44 ext Alan Alpert wrote: On Tue, 15 Nov 2011 19:24:50 ext Alan Alpert wrote: Window{ //Not inheriting QQuickItem, creates a new

Re: [Development] Window{} API for QML

2011-11-21 Thread Adriano Rezende
IOW, something like: import QtQuick 2.0 // or QtQuick.UI 2.0 (if it makes sense) Window { } - Adriano 2011/11/21 Adriano Rezende adriano.reze...@openbossa.org: 2011/11/21 Alan Alpert alan.alp...@nokia.com: On Tue, 22 Nov 2011 00:50:28 you wrote: 2011/11/21 Alan Alpert

Re: [Development] Window{} API for QML

2011-11-21 Thread Alan Alpert
On Tue, 22 Nov 2011 09:10:14 ext Adriano Rezende wrote: 2011/11/21 Alan Alpert alan.alp...@nokia.com: On Tue, 22 Nov 2011 00:50:28 you wrote: 2011/11/21 Alan Alpert alan.alp...@nokia.com: On Mon, 21 Nov 2011 17:26:44 ext Alan Alpert wrote: On Tue, 15 Nov 2011 19:24:50 ext Alan Alpert

Re: [Development] Window{} API for QML

2011-11-20 Thread Alan Alpert
On Tue, 15 Nov 2011 19:30:59 you wrote: On 15/11/11 10.24, ext Alan Alpert alan.alp...@nokia.com wrote: On Fri, 11 Nov 2011 15:58:56 ext Alan Alpert wrote: On Thu, 10 Nov 2011 18:29:58 Knoll Lars (Nokia-MP-Qt/Oslo) wrote: On 11/10/11 1:32 AM, Alan Alpert alan.alp...@nokia.com wrote: On

Re: [Development] Window{} API for QML

2011-11-20 Thread Alan Alpert
On Tue, 15 Nov 2011 19:24:50 ext Alan Alpert wrote: If we mostly agree, then that's a good starting point. I'll start prototyping a Window{} with the following minimal API in a QtQuick.Window import (unless someone has a better idea for the name, as this import could also contain the exposed

Re: [Development] Window{} API for QML

2011-11-15 Thread Alan Alpert
On Fri, 11 Nov 2011 15:58:56 ext Alan Alpert wrote: On Thu, 10 Nov 2011 18:29:58 Knoll Lars (Nokia-MP-Qt/Oslo) wrote: On 11/10/11 1:32 AM, Alan Alpert alan.alp...@nokia.com wrote: On Wed, 9 Nov 2011 06:43:34 Knoll Lars (Nokia-MP-Qt/Oslo) wrote: I agree with most of the things in this

Re: [Development] Window{} API for QML

2011-11-15 Thread kenneth.r.christiansen
On 15/11/11 10.24, ext Alan Alpert alan.alp...@nokia.com wrote: On Fri, 11 Nov 2011 15:58:56 ext Alan Alpert wrote: On Thu, 10 Nov 2011 18:29:58 Knoll Lars (Nokia-MP-Qt/Oslo) wrote: On 11/10/11 1:32 AM, Alan Alpert alan.alp...@nokia.com wrote: On Wed, 9 Nov 2011 06:43:34 Knoll Lars

Re: [Development] Window{} API for QML

2011-11-11 Thread Adriano Rezende
On Fri, Nov 11, 2011 at 2:45 AM, Alan Alpert alan.alp...@nokia.com wrote: On Fri, 11 Nov 2011 05:01:32 ext Adriano Rezende wrote: I think the Window element should not inherit from QQuickItem, since it's not an element in the render tree; it's basically a window representation that is not

Re: [Development] Window{} API for QML

2011-11-10 Thread lars.knoll
On 11/10/11 1:32 AM, Alan Alpert alan.alp...@nokia.com wrote: On Wed, 9 Nov 2011 06:43:34 Knoll Lars (Nokia-MP-Qt/Oslo) wrote: I agree with most of the things in this thread, but not everything. Here's my thoughts: We need a Window {} element to create surfaces on a physical screen. This

Re: [Development] Window{} API for QML

2011-11-10 Thread Adriano Rezende
On Mon, Nov 7, 2011 at 5:32 AM, Alan Alpert alan.alp...@nokia.com wrote: Given that there can be Desktop Components providing the full API for desktop windows (and this is being discussed on the qt-components ML already), I propose the following minimal Window{} API for QML core (i.e. inside

Re: [Development] Window{} API for QML

2011-11-10 Thread Alan Alpert
On Fri, 11 Nov 2011 05:01:32 ext Adriano Rezende wrote: On Mon, Nov 7, 2011 at 5:32 AM, Alan Alpert alan.alp...@nokia.com wrote: Given that there can be Desktop Components providing the full API for desktop windows (and this is being discussed on the qt-components ML already), I propose the

Re: [Development] Window{} API for QML

2011-11-10 Thread Alan Alpert
On Thu, 10 Nov 2011 18:29:58 Knoll Lars (Nokia-MP-Qt/Oslo) wrote: On 11/10/11 1:32 AM, Alan Alpert alan.alp...@nokia.com wrote: On Wed, 9 Nov 2011 06:43:34 Knoll Lars (Nokia-MP-Qt/Oslo) wrote: I agree with most of the things in this thread, but not everything. Here's my thoughts:

Re: [Development] Window{} API for QML

2011-11-09 Thread Alan Alpert
On Wed, 9 Nov 2011 06:43:34 Knoll Lars (Nokia-MP-Qt/Oslo) wrote: I agree with most of the things in this thread, but not everything. Here's my thoughts: We need a Window {} element to create surfaces on a physical screen. This Window object should IMO be more or less a direct representation

[Development] Window{} API for QML

2011-11-07 Thread Alan Alpert
Samuel's mail about exposing QScreen API mentions that a Window element might be useful to have in QML, and I concur. One area where you cannot really avoid splitting your UI across multiple windows is for multiple screens (e.g. an external display), and without a basic window abstraction in

Re: [Development] Window{} API for QML

2011-11-07 Thread Charley Bay
Reading Alan's post a couple times, I *think* this summarizes to: (a)- A new Window{} element is being proposed for QML that is different from the current QML components. Specifically, the new Window{} is a top-level concept, where you could have more-than-one, such as one for each monitor.

Re: [Development] Window{} API for QML

2011-11-07 Thread Alan Alpert
On Tue, 8 Nov 2011 05:45:01 ext Charley Bay wrote: Reading Alan's post a couple times, I *think* this summarizes to: (a)- A new Window{} element is being proposed for QML that is different from the current QML components. Specifically, the new Window{} is a top-level concept, where you