QtMvvm  1.1.0
A mvvm oriented library for Qt, to create Projects for Widgets and Quick in parallel
Properties | List of all members
de::skycoder42::QtMvvm::Quick::DateEdit Class Reference

A edit view to edit dates by using a calendar. More...

+ Inheritance diagram for de::skycoder42::QtMvvm::Quick::DateEdit:

Properties

date firstDate
 The smallest possible date the user can select. More...
 
date lastDate
 The highest possible date the user can select. More...
 
date date
 The date currently displayed and edited. More...
 

Detailed Description

A edit view to edit dates by using a calendar.

Since
1.1

You can use this edit if you want to let the user select a date. You can use the properties to control wich tumblers are shown and which format they use.

Note
This edit currently uses Qt.labs.calendar - an experimental module, and thus might not always function perfectly or break after Qt updates

Definition at line 18 of file DateEdit.qml.

Property Documentation

◆ date

date de::skycoder42::QtMvvm::Quick::DateEdit::date

The date currently displayed and edited.

Default: new Date()

Note
Only the date-componente of the date object is used.
Accessors
MEMBERdate
NOTIFYdateChanged()

Definition at line 55 of file DateEdit.qml.

◆ firstDate

date de::skycoder42::QtMvvm::Quick::DateEdit::firstDate

The smallest possible date the user can select.

Default: new Date(1970, 0, 1)

Note
Only the date-componente of the date object is used.
Accessors
MEMBERfirstDate
NOTIFYfirstDateChanged()

Definition at line 31 of file DateEdit.qml.

◆ lastDate

date de::skycoder42::QtMvvm::Quick::DateEdit::lastDate

The highest possible date the user can select.

Default: new Date(9999, 11, 31)

Note
Only the date-componente of the date object is used.
Accessors
MEMBERlastDate
NOTIFYlastDateChanged()

Definition at line 43 of file DateEdit.qml.


The documentation for this class was generated from the following file: