[Development] Window{} API for QML

Alan Alpert alan.alpert at nokia.com
Mon Nov 21 08:31:30 CET 2011


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 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 Screen stuff that is highly related).
> > 
> > Window{ //Not inheriting QQuickItem, creates a new top level window.
> > 
> >     property int x
> >     property int y
> >     property int width
> >     property int height
> >     property bool visible
> >     property Orientation requestedOrientation // { Portrait, Landscape, Š
> >     }
> > 
> > }
> 
> http://codereview.qt-project.org/#change,9258 in qtdeclarative and
Whoops, that should be http://codereview.qt-project.org/#change,9352 in 
qtdeclarative.

-- 
Alan Alpert
Senior Engineer
Nokia, Qt Development Frameworks



More information about the Development mailing list