User Tools

Site Tools


DzDateTimeEdit

Script wrapper for QDateTimeEdit.

More...

Inherits :

Inherited By : DzDateEdit and DzTimeEdit

Properties

Constructors

DAZ Script
DzDateTimeEdit ( DzWidget parent )

Signals

voidvalueChanged ( DateTime dateTime )

Detailed Description

Provides a combination date and time editor.

Properties


Date : date

Holds the date represented by the widget.


Date : dateMax

Holds the maximum date value for the widget.


Date : dateMin

Holds the minimum date value for the widget.


DateTime : dateTime

Holds the date and time represented by the widget.


String : displayFormat

TODO: Add description.


Date : time

Holds the time represented by the widget.


Date : timeMax

Holds the maximum time value for the widget.


Date : timeMin

Holds the minimum time value for the widget.


String : dateSeparator

Deprecated

Exists only to keep old code from crashing. Do not use in new code. This is always an empty string.


String : timeSeparator

Deprecated

Exists only to keep old code from crashing. Do not use in new code. This is always an empty string.

Constructors


DzDateTimeEdit( DzWidget parent )

Creates a date time edit widget as a child of the given parent widget.

Parameter(s):

  • parent - The widget parent for the date time edit.

Signals


void : valueChanged( DateTime dateTime )

Signature:“valueChanged(const QDateTime&)”

Emitted when the date/time in the widget has changed, passes the new date/time.