Home · All Classes · Modules

QTimeEdit Class Reference
[QtGui module]

The QTimeEdit class provides a widget for editing times based on the QDateTimeEdit widget. More...

Inherits QDateTimeEdit.

Methods


Detailed Description

The QTimeEdit class provides a widget for editing times based on the QDateTimeEdit widget.

Many of the properties and functions provided by QTimeEdit are implemented in QDateTimeEdit. The following properties are most relevant to users of this class:

Screenshot of a Windows XP style time editing widget A time editing widget shown in the Windows XP widget style.
Screenshot of a Macintosh style time editing widget A time editing widget shown in the Macintosh widget style.
Screenshot of a Plastique style time editing widget A time editing widget shown in the Plastique widget style.

Method Documentation

QTimeEdit.__init__ (self, QWidget parent = None)

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

Constructs an empty time editor with a parent.

QTimeEdit.__init__ (self, QTime time, QWidget parent = None)

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

Constructs an empty time editor with a parent. The time is set to time.


PyQt 4.11.4 for X11Copyright © Riverbank Computing Ltd and The Qt Company 2015Qt 4.8.7