self.label_4 = QtGui.QLabel(self.centralwidget)
self.label_4.setGeometry(QtCore.QRect(390, 470, 231, 20))
self.label_4.setObjectName(_fromUtf8("label_4"))
self.lineEdit_5 = QtGui.QLineEdit(self.centralwidget)
self.lineEdit_5.setGeometry(QtCore.QRect(650, 470, 113, 24))
self.lineEdit_5.setObjectName(_fromUtf8("lineEdit_5"))
self.listView = QtGui.QListView(self.centralwidget)
self.listView.setGeometry(QtCore.QRect(20, 50, 256, 471))
self.listView.setObjectName(_fromUtf8("listView"))
我设法用数据填充listView。但是,我不知道如何获取用户选择及其索引。 因此,我的具体问题是: