标签:qt4 提示框 article sni div com irb data- lin
from PyQt4 import QtGui,QtCore str = QtCore.QStringList(['a','air','airbus'])#预先设置字典 lineEdit = QtGui.QLineEdit() lineEdit.setCompleter(QtGui.QCompleter(str)) #将字典加入到lineEdit中这样仅仅须要在lineEdit中输入‘a’,就会有下拉提示框出现了
标签:qt4 提示框 article sni div com irb data- lin
原文地址:http://www.cnblogs.com/brucemengbm/p/7071613.html