title: PyQt QMenu dropdown direction
body: <p>I'm looking for a way to control the direction that sub-menus are opened from in a QMenu.  The default behavior is to open to the right, unless there isn't enough screen real estate, then open to the left.</p>
  
  <p>If you have a menu that's on the far right of the screen, (example: chrome's settings wrench),  if you have several nested menus, the default behavior causes them to ping back and forth between opening from the left and opening from the right, which is a maddening user experience .</p>
  
  <p>What I'd like is a way to tell QMenu to always open submenus to the LEFT; there is definitely not a direct control for this in QMenu, but Qt often has a lot of magical 'application' or 'global' settings for platform-specific behavior.  I was wondering if anyone knew!</p>
  
  <p>I have done this <a href="https://stackoverflow.com/questions/582491/set-dropdown-direction-in-winforms">before</a> in C# using ToolStripMenu, so I know that some toolkits have this ability.</p>