QPen Class | Qt
Setting a pen width with a negative value is not supported. See also setWidth() and widthF(). Qt::PenStyle QPen:: style const. Returns the pen style. See also setStyle() and Pen Style. void QPen:: swap (QPen other) Swaps pen other with this pen. This operation is very fast and never fails. This function was introduced in Qt int QPen ...