QLinearGradient

class PyQt5.QtGui.QLinearGradient

C++ documentation