def styleHint(self, style_hint, style_option: QStyleOption = None, widget=None, return_data=None) -> int: """TODO""" return QProxyStyle.styleHint(self, style_hint, style_option, widget, return_data)
def styleHint(self, hint, option: QStyleOption = 0, widget: QWidget = 0, returnData: QStyleHintReturn = 0) -> int: if hint in { QStyle.SH_UnderlineShortcut, QStyle.SH_DialogButtons_DefaultButton, QStyle.SH_DialogButtonBox_ButtonsHaveIcons }: return 0 return QProxyStyle.styleHint(self, hint, option, widget, returnData)
def styleHint(self, hint, option=None, widget=None, returnData=None): if hint == QProxyStyle.SH_TextControl_FocusIndicatorTextCharFormat: return False return QProxyStyle.styleHint(self, hint, option, widget, returnData)
def styleHint(self, hint, option=None, widget=None, returnData=None): if isinstance(widget, InstantTooltipButton ) and hint == QStyle.SH_ToolTip_WakeUpDelay: return 0 return QProxyStyle.styleHint(self, hint, option, widget, returnData)