QStyleOptionTitleBar

class PyQt5.QtWidgets.QStyleOptionTitleBar

C++ documentation