When I use QPixmap::scroll() it does not take the devicePixelRatio() of
the pixmap into account, so the passed values need to be scaled
beforehand. However, there is no QPixmap::scroll() overload that takes
floating point arguments. It only takes integers. So when scaling the
passed values by t
>On 19/12/2018 11:09, Tom Isaacson wrote:
>> Is it possible to use QMetaEnum::keyCount() to initialise an array?
>> Something like:
>>
>> const QMetaEnum metaEnum = QMetaEnum::fromType();
>> int MyArray[metaEnum.keyCount()];
>>
>> It seems like Q_ENUM declares functions with Q_DECL_CON