title: Access values of dropActions in model (PySide/PyQt/Qt)
body: <p>In a QTableModel when I enter the following:</p>
  
  <pre><code>print model.supportedDropActions()
  </code></pre>
  
  <p>I just get:</p>
  
  <pre><code>&lt;PyQt4.QtCore.DropActions object at 0x00000000081172E8&gt;
  </code></pre>
  
  <p>How can I access an actual list of the supported drop actions from this object? At <a href="http://qt-project.org/doc/qt-4.8/qt.html#DropAction-enum" rel="nofollow noreferrer">the documentation</a>, it says, "The DropActions type is a typedef for QFlags. It stores an OR combination of DropAction values." </p>
  
  <p>Note I am doing this in Python (PySide).</p>
  
  <p><strong>Related posts:</strong></p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/26227885/drag-and-drop-rows-within-qtablewidget">Drag and drop rows within QTableWidget</a></li>
  </ul>