title: How to get a current Item's info from QtGui.QListWidget?
body: <p>Created a QtGui.QListWidget list widget:</p>
  
  <pre><code>myListWidget = QtGui.QListWidget()
  </code></pre>
  
  <p>Populated this ListWidget with QListWidgetItem list items:</p>
  
  <pre><code>for word in ['cat', 'dog', 'bird']:
      list_item = QtGui.QListWidgetItem(word, myListWidget)
  </code></pre>
  
  <p>Now connect a function on list_item's left click:</p>
  
  <pre><code>def print_info():
      print myListWidget.currentItem().text()
  
  
  myListWidget.currentItemChanged.connect(print_info)
  </code></pre>
  
  <p>As you see from my code all I am getting on a left click is a list_item's label name. But aside from a label name I would like to get a list_item's index number (order number as it is displayed in ListWidget). I would like to get as much info on left-clicked list_item as possible. I looked at dir(my_list_item). But I can't anything useful there ( other than already used my_list_item.text() method which returns a list_item's label name). Thanks in advance!</p>