Re: [Interest] Row(Layout), use spacing as resize handle. How to do that?

2014-03-03 Thread Saether Jan-Arve
> -Original Message- > From: Mark Gaiser [mailto:mark...@gmail.com] > Sent: 3. mars 2014 13:10 > To: Saether Jan-Arve > Cc: Qt Interest > Subject: Re: [Interest] Row(Layout), use spacing as resize handle. How > to do that? > On Mon, Mar 3, 2014 at 12:53 PM, Saether Jan-Arve arve.saet...@d

Re: [Interest] QIcon/QFile file extension matching

2014-03-03 Thread Jonathan Greig
Loading pixmaps into QIcon without an extension worked gloriously in Qt4.6 and in Qt4.7 it changed and required that you supply the extension. I have no idea why it was changed but it definitely changed between those two versions. On Tue, Mar 4, 2014 at 12:41 AM, Damian Ivanov wrote: > Hi all, >

[Interest] QIcon/QFile file extension matching

2014-03-03 Thread Damian Ivanov
Hi all, Is there a simple way to accept any file extension I try QString fileNameString = "/usr/share/pixmaps/"+df.iconName()+".png"; QFile fileName(fileNameString); if (fileName.exists()) return QIcon(fileNameString); and do this check for every extension, what I'd

Re: [Interest] qt-android: How to make QML application scaled on high DPI screen automatically

2014-03-03 Thread Yang Fan
Thanks for your reply. I think this information should be shared with Qt developers, and I noticed the bug you mentioned was closed with no comment, I feel confused. On Tue, Mar 4, 2014 at 10:46 AM, Daiwei Li wrote: > Hi Yang and all, > > I'm curious about how to scale for high DPI on Android a

Re: [Interest] qt-android: How to make QML application scaled on high DPI screen automatically

2014-03-03 Thread Daiwei Li
Hi Yang and all, I'm curious about how to scale for high DPI on Android as well, so I did some reading of the Qt source today. On iOS and OSX, scaling is handled by implementing devicePixelRatio() in the respective QPlatformWindow implementations. On Android, the equivalent concept seems to be "d

[Interest] question about the Window.data: property

2014-03-03 Thread Alan Ezust
I am confused about the Qt 5.2.1 API docs for the "data" property of Window. It says this: "The data property allows you to freely mix visual children, resources and other Windows in a Window. If you assign another Window to the data list, the nested window will become "transient for" the outer Wi

[Interest] Drag and drop with QWebView regression

2014-03-03 Thread Phil Hannent
Good afternoon, We have noticed that it is no longer possible to drag images from a QWebView into a QGraphicsScene since updating to Qt 5.2.0. I noticed someone else has the same issue: http://qt-project.org/forums/viewthread/32163 Is there a known bug for this or should I open one? Regards Phi

Re: [Interest] Row(Layout), use spacing as resize handle. How to do that?

2014-03-03 Thread Mark Gaiser
On Mon, Mar 3, 2014 at 12:53 PM, Saether Jan-Arve wrote: > > >> -Original Message- >> From: Mark Gaiser [mailto:mark...@gmail.com] >> >> Now i've actually tested the SplitView :) And it behaves differently >> compared to RowLayout. In a bad way. >> In a row layout something like: >> >>

Re: [Interest] Row(Layout), use spacing as resize handle. How to do that?

2014-03-03 Thread Saether Jan-Arve
> -Original Message- > From: Mark Gaiser [mailto:mark...@gmail.com] > > Now i've actually tested the SplitView :) And it behaves differently > compared to RowLayout. In a bad way. > In a row layout something like: > > RowLayout { > anchord.fill: parent >