title: Extract the top corner position of QToolButton Widget
body: <p>I am trying to extract the cordinates of a toolbutton. So when there is a popup it always starts from the top left corner of the widget. I am doing something like this</p>
  
  <pre><code>menu_something-&gt;popup(mapToGlobal(ui.toolButton-&gt;pos()));
  </code></pre>
  
  <p>However the menu shows up no where close to the toolButton. Any suggestions ?</p>