No subject
Thu Mar 8 10:26:06 GMT 2007
direction and 0->255 in the y/s direction. If I understand the basic
KXYSelector, these are independent of the actual physical
dimensions of the selector, the same as a progress bar indicates
0->100% if it's 100 pixels wide or 1000 pixels wide.
If you read back xValue() and yValue() (inherited from KXYSelector),
you should get the (h. s) values directly - KColorDialog doesn't
appear to do any other scaling or transformation with the values.
The mouse coordinates would give you the location in
two-dimensional physical space, not (h, s) space (although you
could scale the mouse coordinates, which appears to be what
selectors do).
Jim
More information about the PyQt
mailing list