Home · All Classes · Modules

QStringListModel Class Reference
[QtGui module]

Inherits QAbstractListModel.

Inherited by QHelpIndexModel.

Methods


Detailed Description


Method Documentation

QStringListModel.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QStringListModel.__init__ (self, QStringList, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QVariant QStringListModel.data (self, QModelIndex, int)

Qt.ItemFlags QStringListModel.flags (self, QModelIndex)

bool QStringListModel.insertRows (self, int, int, QModelIndex parent = QModelIndex())

bool QStringListModel.removeRows (self, int, int, QModelIndex parent = QModelIndex())

int QStringListModel.rowCount (self, QModelIndex parent = QModelIndex())

bool QStringListModel.setData (self, QModelIndex, QVariant, int role = Qt.EditRole)

QStringListModel.setStringList (self, QStringList)

QStringListModel.sort (self, int, Qt.SortOrder order = Qt.AscendingOrder)

QStringList QStringListModel.stringList (self)

Qt.DropActions QStringListModel.supportedDropActions (self)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0