Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2015-03-15 Thread Robert Iakobashvili
On Thu, Feb 19, 2015 at 3:03 PM, Sorvig Morten wrote: > >> On 18 Feb 2015, at 10:59, Robert Iakobashvili wrote: >> >> What about support for @3x? >> Is it inside or is it planned? > > I’ve started implementing @3x support here: > > https://codereview.qt-project.org/106717 > https://codereview.qt-

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2015-02-19 Thread Robert Iakobashvili
On Thu, Feb 19, 2015 at 3:03 PM, Sorvig Morten wrote: > >> On 18 Feb 2015, at 10:59, Robert Iakobashvili wrote: >> >> What about support for @3x? >> Is it inside or is it planned? > > I’ve started implementing @3x support here: > > https://codereview.qt-project.org/106717 > https://codereview.qt-

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2015-02-19 Thread Sorvig Morten
> On 18 Feb 2015, at 10:59, Robert Iakobashvili wrote: > > What about support for @3x? > Is it inside or is it planned? I’ve started implementing @3x support here: https://codereview.qt-project.org/106717 https://codereview.qt-project.org/106705 There’s some refactoring work to be done as wel

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2015-02-18 Thread Robert Iakobashvili
On Wed, Oct 8, 2014 at 2:56 PM, Ziller Eike wrote: > On Oct 8, 2014, at 1:36 PM, Thiago A. Corrêa wrote: >> On Wed, Oct 8, 2014 at 5:10 AM, Ziller Eike >> wrote: >>> >>> QIcon does automatic loading of @2x images afair. QPixmap and QImage only >>> set the devicePixelRatio corresponding to the

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Thiago A . Corrêa
On Wed, Oct 8, 2014 at 9:12 AM, Morten Johan Sørvig wrote: >> >> This behavior isn't documented in QIcon[1]. Shouldn't it use >> QFileSelector[2] instead now? Since it's undocumented, couldn't this >> be changed before 6.0? > > The problem with QFileSelector is that it lives in QtCore and that the

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Morten Johan Sørvig
> On 08 Oct 2014, at 13:36, Thiago A. Corrêa wrote: > > Hi, > > On Wed, Oct 8, 2014 at 5:10 AM, Ziller Eike > wrote: >> >> QIcon does automatic loading of @2x images afair. QPixmap and QImage only >> set the devicePixelRatio corresponding to the file name automatically, but >> you have to d

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Ziller Eike
On Oct 8, 2014, at 1:36 PM, Thiago A. Corrêa wrote: > Hi, > > On Wed, Oct 8, 2014 at 5:10 AM, Ziller Eike > wrote: >> >> QIcon does automatic loading of @2x images afair. QPixmap and QImage only >> set the devicePixelRatio corresponding to the file name automatically, but >> you have to def

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Thiago A . Corrêa
Hi, On Wed, Oct 8, 2014 at 5:10 AM, Ziller Eike wrote: > > QIcon does automatic loading of @2x images afair. QPixmap and QImage only set > the devicePixelRatio corresponding to the file name automatically, but you > have to define yourself if you want to load a @2x or not. > This behavior isn'

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Robert Iakobashvili
On Wed, Oct 8, 2014 at 11:10 AM, Ziller Eike wrote: > > On Oct 8, 2014, at 9:18 AM, Robert Iakobashvili wrote: > >> On Wed, Oct 8, 2014 at 10:03 AM, Ziller Eike >> wrote: >>> >>> On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili wrote: >>> Gentlemen, If images are placed to resource fil

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Ziller Eike
On Oct 8, 2014, at 9:18 AM, Robert Iakobashvili wrote: > On Wed, Oct 8, 2014 at 10:03 AM, Ziller Eike > wrote: >> >> On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili wrote: >> >>> Gentlemen, >>> If images are placed to resource file, >>> is there any option for an automatic management >>> of

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Robert Iakobashvili
On Wed, Oct 8, 2014 at 10:03 AM, Ziller Eike wrote: > > On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili wrote: > >> Gentlemen, >> If images are placed to resource file, >> is there any option for an automatic management >> of using either Retina or non-Retina images >> using Apple's naming conven

Re: [Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-08 Thread Ziller Eike
On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili wrote: > Gentlemen, > If images are placed to resource file, > is there any option for an automatic management > of using either Retina or non-Retina images > using Apple's naming convention or the manual > management is the only option like for Ma

[Development] Qt for iOS: Management Retina vs Non-Retina Images

2014-10-06 Thread Robert Iakobashvili
Gentlemen, If images are placed to resource file, is there any option for an automatic management of using either Retina or non-Retina images using Apple's naming convention or the manual management is the only option like for Mac OS X? Here's an example of what Qt developers are doing: http://qt-