4.20. Rule widget class

The Rule class inherits QFrame Qt class.

The only purpose of the Rule class is to draw a horizontal separation line in a window.

Widget's attributes

This attribute holds the rule style. Possible values are :
  • plain : draws a plain line without any 3D effect.
  • raised : draws a 3D raised line.
  • sunken : draws a 3D sunken line. This is the default.