[Qt-qml] How use QDeclarativeExtensionPlugin trough QmlDesigner

2010-04-26 Thread Alain FLORET
Hi, I've created a QDeclarativeExtensionPlugin to declare some new Qml Type and i try to use it trough QmlDesigner but i don't know how to specify to qt-creator that use my plugin with import method without errors. I've also a qmldir with the "plugin [Path]" but perhaps i need to move the dll

[Qt-qml] 2d table view

2010-04-26 Thread Christian Kamm
Hi, I want to show a flickable tile-based map view. The GridView element seems not to be designed for for this usecase: it shows only one-dimensional models and, more importantly, adjusts the number of shown columns to fit the view width. If I put a Grid into a Flickable, performace goes down d

Re: [Qt-qml] How use QDeclarativeExtensionPlugin trough QmlDesigner

2010-04-26 Thread Kai Koehne
ext Alain FLORET wrote: > Hi, > > I've created a QDeclarativeExtensionPlugin to declare some new Qml Type > and i try to use it trough QmlDesigner but i don't know how to specify > to qt-creator that use my plugin with import method without errors. > I've also a qmldir with the "plugin [Path]

[Qt-qml] env variable expansion in import, useful for styles?

2010-04-26 Thread Matthias Ettrich
Hi, attached is a small patch which adds environment variable expansion to the import statement. Rationale: this might be useful to implement different (native) component styles. You could make a module: com.mycompany.qml-ui-components which contains a C++ plugin and a bunch of files, e.g. Bu

[Qt-qml] Specific corners' radius

2010-04-26 Thread Fábio Rehm
Hi guys, Is there a way to specify which corners have radius on Rectangles? Something similar to what we can do with CSS3 border-radius, some examples here: http://www.css3.info/preview/rounded-border/ I can mimic the first example but not the other four which specify (right / left) (top / bott

[Qt-qml] NetworkAccessManager

2010-04-26 Thread Jack Wootton
Hi, I'm trying to set some proxy settings for a QML application - it's not working as expected. I'm unsure the API is being used correctly, can someone check my code makes sense? There are 3 files: main.cpp, MyNetworkAccessManagerFactory.h and MyNetworkAccessManagerFactory.cpp I'm using qt 4.7 a

Re: [Qt-qml] NetworkAccessManager

2010-04-26 Thread Martin Jones
On Tue, 27 Apr 2010 01:18:56 am ext Jack Wootton wrote: > Hi, > > I'm trying to set some proxy settings for a QML application - it's not > working as expected. I'm unsure the API is being used correctly, can > someone check my code makes sense? There are 3 files: main.cpp, > MyNetworkAccessManage

Re: [Qt-qml] Specific corners' radius

2010-04-26 Thread michael.brasser
Hi, On 26/04/2010, at 11:50 PM, ext Fábio Rehm wrote: Is there a way to specify which corners have radius on Rectangles? Something similar to what we can do with CSS3 border-radius, some examples here: http://www.css3.info/preview/rounded-border/ I can mimic the first example but not the other

Re: [Qt-qml] env variable expansion in import, useful for styles?

2010-04-26 Thread warwick.allison
> ---Button.qml--- > import "$STYLE" > Button{} > Environment variables are notoriously cumbersome to set - especially hard if you want to set it for already-running processes! Note that you can achieve styling in multiple ways already, without th

Re: [Qt-qml] 2d table view

2010-04-26 Thread michael.brasser
Hi, On 26/04/2010, at 6:18 PM, ext Christian Kamm wrote: > I want to show a flickable tile-based map view. The GridView element seems > not > to be designed for for this usecase: it shows only one-dimensional models > and, > more importantly, adjusts the number of shown columns to fit the view