DateTimeDelegate

class qte.DateTimeDelegate(parent, fmt=None, usetime=False)

A delegate for datetime values.

Parameters:
  • fmt – A format string for display as used by strftime. If it is omitted then the system default is used.
  • usetime – A boolean specifying whether the time is managed by the delegate. If True, then the delegate uses datetime. If false, it uses date.

Members

Inherits

Re-implemented Methods

DateTimeDelegate.getWidget(parent, option, index)

Return a DateEdit, or DateTimeEdit if usetime is True.

DateTimeDelegate.displayText(value, locale)

Project Versions

Table Of Contents

Previous topic

DateEdit

Next topic

DateTimeEdit

This Page