I try to change the line item tickness but the only option i found was to change the pen's item width.

when i change the pen width, i see the line length that changes in my scene, but it mantains the same QGraphicsLineItem::length();

How can i change its tickness without change the pen's width????