Home · All Classes · Modules

QCompleter Class Reference
[QtGui module]

Inherits QObject.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QCompleter.CompletionMode

QCompleter.ModelSorting


Method Documentation

QCompleter.__init__ (self, QObject parent = None)

The parent argument

QCompleter.__init__ (self, QAbstractItemModel, QObject parent = None)

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

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

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

Qt.CaseSensitivity QCompleter.caseSensitivity (self)

QCompleter.complete (self, QRect rect = QRect())

This method is also a Qt slot with the C++ signature void complete(const QRect& = QRect()).

int QCompleter.completionColumn (self)

int QCompleter.completionCount (self)

CompletionMode QCompleter.completionMode (self)

QAbstractItemModel QCompleter.completionModel (self)

QString QCompleter.completionPrefix (self)

int QCompleter.completionRole (self)

QString QCompleter.currentCompletion (self)

QModelIndex QCompleter.currentIndex (self)

int QCompleter.currentRow (self)

bool QCompleter.event (self, QEvent)

bool QCompleter.eventFilter (self, QObject, QEvent)

int QCompleter.maxVisibleItems (self)

QAbstractItemModel QCompleter.model (self)

ModelSorting QCompleter.modelSorting (self)

QString QCompleter.pathFromIndex (self, QModelIndex)

QAbstractItemView QCompleter.popup (self)

QCompleter.setCaseSensitivity (self, Qt.CaseSensitivity)

QCompleter.setCompletionColumn (self, int)

QCompleter.setCompletionMode (self, CompletionMode)

QCompleter.setCompletionPrefix (self, QString)

This method is also a Qt slot with the C++ signature void setCompletionPrefix(const QString&).

QCompleter.setCompletionRole (self, int)

bool QCompleter.setCurrentRow (self, int)

QCompleter.setMaxVisibleItems (self, int)

QCompleter.setModel (self, QAbstractItemModel)

QCompleter.setModelSorting (self, ModelSorting)

QCompleter.setPopup (self, QAbstractItemView)

The QAbstractItemView argument has it's ownership transferred to Qt.

QCompleter.setWidget (self, QWidget)

The QWidget argument has it's ownership transferred to Qt.

QCompleter.setWrapAround (self, bool)

This method is also a Qt slot with the C++ signature void setWrapAround(bool).

QStringList QCompleter.splitPath (self, QString)

QWidget QCompleter.widget (self)

bool QCompleter.wrapAround (self)


Qt Signal Documentation

void activated (const QString&)

This is the default overload of this signal.

void activated (const QModelIndex&)

void highlighted (const QString&)

This is the default overload of this signal.

void highlighted (const QModelIndex&)


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