EditWidgetABC

class qte.EditWidgetABC

Define the API of a standard editing widget.

EditWidgetABC subclasses support a specific set of types, defined by thier types class method. They may also handle and return None, which usually indicates an invalid value. It is up to the subclass implementation to deal with type checking and conversions.

Members

Inherits

The metaclass inherits from the following. EditWidgetABC itself only inherits from object.

Abstract Class Methods

EditWidgetABC.types()

Return a list of types supported by the widget.

Abstract Methods

EditWidgetABC.getValue()

Return the value of the widget. This is similar to PySide.QtGui.QLineEdit.text.

EditWidgetABC.setValue(value)

Set the value of the widget. This is similar to PySide.QtGui.QLineEdit.setText.

Methods

EditWidgetABC.emitValueChanged()

Called by subclasses to raise the valueChanged signal.

Abstract Signals

EditWidgetABC.valueChanged(object)

Project Versions

Table Of Contents

Previous topic

Document

Next topic

FloatDelegate

This Page