I need to convert a QMouseEvent to MOUSEINPUT. MOUSEINPUT has so many flags like MOUSEEVENTF_LEFTDOWN, MOUSEEVENTF_LEFTUP but QMouseEvent has very limited number of actions. do there is any existing solution ? If I need to wrte it by myself how can I cover the g开发者_开发问答aps ?
QT covers all cases of mouse using, but it splitted them to different variables instead of  MOUSEINPUT.
for example,
MOUSEEVENTF_LEFTDOWN would be 
QMouseEvent with type = QEvent::MouseButtonPress , button = Qt::LeftButton.
and so on.
The only win events not covered by qt are strange events MOUSEEVENTF_XDOWN and MOUSEEVENTF_XUP
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论