QLISTBOX
int QListBox::currentItem () const
Returns the current highlighted item. See the "currentItem" property for details.
void QListBox::setCurrentItem ( int index ) [virtual]
Sets the current highlighted item to index. See the "currentItem" property for details.
QString QListBox::currentText () const
Returns the text of the current item. See the "currentText" property for details.
QString QListBox::text ( int index ) const
Returns the text at position index, or QString::null if there is no text at that position.
阅读(2931) | 评论(0) | 转发(0) |