enum QRubberBand::Shape
Constant Value Description
QRubberBand::Line 0 A QRubberBand can represent a vertical or horizontal line. Geometry is still given in rect() and the line will fill the given geometry on most styles.
QRubberBand::Rectangle 1 A QRubberBand can represent a rectangle. Some styles will interpret this as a filled (often semi-transparent) rectangle, or a rectangular outline.