How to modify style hint without QProxyStyle?
问题 I use Python bindings of Qt (PySide or PyQt4). They don't have QProxyStyle . I want to change the value of a style hint. For example change the SH_Menu_SubMenuPopupDelay popup delay time of a submenu. In native C++ Qt I would use a QProxyStyle and override styleHint and filter for the style hint of interest and return the value I like. It's done here for example. But in the Python bindings I use QProxyStyle is not available. So how can a style hint of an existing style be modified there? 回答1: