Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
4.8.0, 5.10.0 RC
-
None
-
This seems applicable to all environments
Description
https://doc.qt.io/qt-5/qt.html#PenStyle-enum
Re-Opened:
Qt's PenStyle provides options for drawing types as expressed in the documentation. Specifically, Qt::DotLine is of interest. The actual style is more akin to non-dots and rather dashes--very small rectangles (squared edges rather than round edges). If it is desired to draw a line made of filled, rounded circles/dots, the PenStyle Qt::RoundCap is supplied, and yet it would seem a truly circular form is unavailable while only providing 'rounded-off' rectangular shapes.
As per Lars' comment to the first version of this issue, Qt::RoundCap is suggested to achieve true circular form, and yet it is not achieved. That is, the resulting form is elliptical in nature without an equal radius to provide a true circle. Size 0 width will default into 1px size, and anything above that seems to provide elongated ellipses rather than true circles, as if the shape is actually a rectangle with the addition of rounded-off edges. Again, as a question: how can a line be made of true circular dots? And if this can't be done, it would seem there should be a simple way to do so while using a line with a certain penstyle.
Any feedback much appreciated