code: def items(self):
          
          output = []
          for i in xrange(self.layout().count()):
              item = self.layout().itemAt(i)
              try:
                  widget = item.widget()
              except AttributeError:
                  break
  
              if isinstance(widget, XViewPanelItem):
                  output.append(widget)
              else:
                  break
          return output
docs: Returns a list of all the items associated with this panel.
  
          :return     [<XViewPanelItem>, ..]