NAME

Qt::Gui::QListWidget

PUBLIC METHODS

QListWidget(QWidget * parent)
QListWidget(QWidget * parent = 0)
~QListWidget()
void addItem(const QString & label)
void addItem(QListWidgetItem * item)
void addItems(const QStringList & labels)
void clear()
void closePersistentEditor(QListWidgetItem * item)
int count()
QListWidgetItem * currentItem()
int currentRow()
void dropEvent(QDropEvent * event)
void editItem(QListWidgetItem * item)
QList<QListWidgetItem *> findItems(const QString & text, QFlags<Qt::MatchFlag> flags)
void insertItem(int row, QListWidgetItem * item)
void insertItem(int row, const QString & label)
void insertItems(int row, const QStringList & labels)
bool isItemHidden(const QListWidgetItem * item)
bool isItemSelected(const QListWidgetItem * item)
bool isSortingEnabled()
QListWidgetItem * item(int row)
QListWidgetItem * itemAt(const QPoint & p)
QListWidgetItem * itemAt(int x, int y)
QWidget * itemWidget(QListWidgetItem * item)
void openPersistentEditor(QListWidgetItem * item)
void removeItemWidget(QListWidgetItem * item)
int row(const QListWidgetItem * item)
void scrollToItem(const QListWidgetItem * item, QAbstractItemView::ScrollHint hint)
void scrollToItem(const QListWidgetItem * item, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible)
QList<QListWidgetItem *> selectedItems()
void setCurrentItem(QListWidgetItem * item)
void setCurrentItem(QListWidgetItem * item, QFlags<QItemSelectionModel::SelectionFlag> command)
void setCurrentRow(int row)
void setCurrentRow(int row, QFlags<QItemSelectionModel::SelectionFlag> command)
void setItemHidden(const QListWidgetItem * item, bool hide)
void setItemSelected(const QListWidgetItem * item, bool select)
void setItemWidget(QListWidgetItem * item, QWidget * widget)
void setSortingEnabled(bool enable)
void sortItems(Qt::SortOrder order)
void sortItems(Qt::SortOrder order = Qt::AscendingOrder)
QListWidgetItem * takeItem(int row)
QRect visualItemRect(const QListWidgetItem * item)

ENUM VALUES

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html