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
bool altHeader
 
bool autoHideFooter
 
int autoHideFooterDelay
 
int autoHideFooterMargins
 
bool autoHideHeader
 
int autoHideHeaderDelay
 
int autoHideHeaderMargins
 
int bottomMargin
 
alias content
 
Flickable flickable
 
bool floatingFooter
 
bool floatingHeader
 
alias footBar
 
Item footer
 
alias footerColumn
 
alias footerContainer
 
int footerPositioning
 
alias headBar
 
Item header
 
int headerColorSet
 
alias headerColumn
 
alias headerContainer
 
int headerPositioning
 
alias internalHeight
 
int leftMargin
 
int margins
 
alias pageContent
 
int rightMargin
 
bool showTitle
 
string title
 
int topMargin
 

Signals

void accepted (var date)
 
- Signals inherited from Page
void goBackTriggered ()
 
void goForwardTriggered ()
 

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()
}
}
}
string title

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 Apr 27 2024 22:12:33 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.