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
listTAction actions
 
Flickable flickable
 
Item globalToolBarItem
 
int globalToolBarStyle
 
PActionIconGroup icon
 
bool isCurrentPage
 
alias overlay
 
var progress
 
Component titleDelegate
 

Signals

void accepted (var date)
 
- Signals inherited from Page
void backRequested (var event)
 

Public Member Functions

void updateSelectedDate (day, month, year)
 

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 Sat Dec 21 2024 17:02:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.