I agree that it's not possible to describe everything down to the very basic things in docs but there are still things that should be described. I can give you another example: Z value of an item. There is a good description in setZValue method. It misses only one aspect: negative Z values and their meaning.Data type 'qreal' supposes that the value can be negative, zero and positive. But this description doesn't mentions negative values at all. Would top-level item with negative Z value be drawn above background layer or beneath it? Would child item with negative Z value still be drawn above its parent or it will be drawn behind it? Yes, I can guess and can experiment - but it should be described in docs. And BTW there are no mention about minimum and maximum limits of Z values acceptable by GV system. By default I assume they are equal to limits of 'qreal' data type ('double' in terms of C/C++ programming languages for all platforms except for ARM) - is it correct?
Bookmarks