QStyle is an abstract base class that is responsible for the look and feel of the GUI.
Qt has a set of classes subclassed from QStyle
that represent native GUI styles for platforms that Qt supports.
Qt's widgets use QStyle
to perform their drawing. Note that when subclassing, a developer should use QCommonStyle
rather than QStyle
as a base class.
The official documentation can be found here for Qt 4 and here for Qt 5.