Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi all,
I wonder what to do to define a continuous line using QPen::setDashPattern.
I tried (1,0) without success.
Is this feasible???
Thanks a lot!
Why use a dash pattern when you want a solid line? Just use QPen(Qt::SolidLine).
Hi, I agree. But in an API, I want to allow users to use setDashPattern. And I would like to be able to go back to a solid line. Hence, having a combination for this is useful.
It would avoid me to add another method like setSolid.
Cheers.