DatePicker

Search for usage in LXR

Inheritance diagram for DatePicker:

Properties

date selectedDate
 
int selectedDay
 
int selectedMonth
 
int selectedYear
 
date startDate
 
- Properties inherited from Page
alias configFile
 
alias engine
 
alias showUploadAction
 

Signals

void accepted (var date)
 

Public Member Functions

void updateSelectedDate (day, month, year)
 
- Public Member Functions inherited from Page
void showEntryDetails (providerId, entryId)
 

Detailed Description

A control for quickly picking a date in the format of year, month and day number.

Maui.ApplicationWindow
{
id: root
Maui.Page
{
anchors.fill: parent
Maui.Controls.showCSD: true
title: root.title
MC.DatePicker
{
id: _datePicker
height: 300
width: 300
anchors.centerIn: parent
onAccepted: (date) => root.title = date.toLocaleString()
}
}
}

Definition at line 36 of file DatePicker.qml.

Property Documentation

◆ selectedDate

date DatePicker::selectedDate
read

Definition at line 58 of file DatePicker.qml.

◆ selectedDay

int DatePicker::selectedDay
read

Definition at line 54 of file DatePicker.qml.

◆ selectedMonth

int DatePicker::selectedMonth
read

Definition at line 46 of file DatePicker.qml.

◆ selectedYear

int DatePicker::selectedYear
read

Definition at line 50 of file DatePicker.qml.

◆ startDate

date DatePicker::startDate
read
Remarks
This property is read-only

Definition at line 42 of file DatePicker.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:08:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.