码迷,mamicode.com
首页 > 其他好文 > 详细

下拉框QComboBox相关函数

时间:2015-07-15 16:34:41      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:

QComboBox

addItem (self, QString text, QVariant userData = QVariant())
addItem (self, QIcon icon, QString text, QVariant userData = QVariant())
addItems (self, QStringList texts)
clear (self)
int count (self)
int currentIndex (self)
QString currentText (self)
int findText (self, QString text, Qt.MatchFlags flags = Qt.MatchExactly|Qt.MatchCaseSensitive)
insertItem (self, int index, QString text, QVariant userData = QVariant())
insertItem (self, int index, QIcon icon, QString text, QVariant userData = QVariant())
insertItems (self, int index, QStringList texts)
QString itemText (self, int index)
removeItem (self, int index)
setCurrentIndex (self, int index)
setItemText (self, int index, QString text)

下拉框QComboBox相关函数

标签:

原文地址:http://www.cnblogs.com/hushaojun/p/4648632.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!