Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/02/2011, 22:03
Avatar de razpeitia
razpeitia
Moderador
 
Fecha de Ingreso: marzo-2005
Ubicación: Monterrey, México
Mensajes: 7.321
Antigüedad: 19 años, 1 mes
Puntos: 1360
Respuesta: TreeView wn Pyqt =)

Claro aquí un ejemplo:
Código Python:
Ver original
  1. import sys
  2. from PyQt4 import QtCore, QtGui
  3.  
  4.  
  5. if __name__ == "__main__":
  6.     app = QtGui.QApplication(sys.argv)
  7.    
  8.     model = QtGui.QDirModel()
  9.     tree = QtGui.QTreeView()
  10.     tree.setModel(model)
  11.    
  12.     tree.setWindowTitle(tree.tr("Dir View"))
  13.     tree.resize(640, 480)
  14.     tree.show()
  15.    
  16.     sys.exit(app.exec_())