title: Getting all items of QComboBox - PyQt4 (Python)
body: <p>I have A LOT of <code>QComboBoxes</code>, and at a certain point, I need to fetch every item of a particular <code>QComboBox</code> to iterate through.<br>
  Although I could just have a list of items that correspond to the items in the <code>QComboBox</code>, I'd rather get them straight from the widget itself (there are a huge amount of <code>QComboBoxes</code> with many items each).</p>
  
  <p>Is there any functions / methods that will do this for me?<br>
  (Eg:  </p>
  
  <pre><code> QComboBoxName.allItems()
  </code></pre>
  
  <p>)<br>
  I've looked through the class reference but couldn't find anything relevant.</p>
  
  <p>I've thought of a few messy methods, but I don't like them.<br>
  (Like iterating through the <code>QComboBox</code> by changing the index and getting the item, etc).</p>
  
  <hr>
  
  <p>Python 2.7.1<br>
  IDLE 1.8<br>
  Windows 7<br>
  PyQt4  </p>