YearView
YearView Class Reference
Inheritance diagram for YearView:
Properties | |
date | currentDate |
date | firstDayOfMonth |
alias | gridView |
bool | initialMonth |
bool | isLarge |
bool | isTiny |
date | selectedDate |
date | startDate |
string | title |
int | year |
Signals | |
void | monthClicked (var date) |
Public Member Functions | |
void | nextDate () |
void | previousDate () |
void | resetDate () |
Detailed Description
A browsing view of the calendar organized by years.
Maui.ApplicationWindow
{
id: root
title: _view.title
Maui.Page
{
anchors.fill: parent
Maui.Controls.showCSD: true
title: root.title
MC.YearView
{
id: _view
anchors.fill: parent
onSelectedDateChanged: root.title = selectedDate.toString()
onMonthClicked: (month) => console.log("Month Clicked, ", month)
}
}
}
Definition at line 41 of file YearView.qml.
Property Documentation
◆ currentDate
|
read |
- Remarks
- This property is read-only
Definition at line 51 of file YearView.qml.
◆ firstDayOfMonth
|
read |
Definition at line 59 of file YearView.qml.
◆ gridView
|
read |
- Remarks
- This property is read-only
Definition at line 82 of file YearView.qml.
◆ initialMonth
|
read |
Definition at line 67 of file YearView.qml.
◆ isLarge
|
read |
- Remarks
- This property is read-only
Definition at line 72 of file YearView.qml.
◆ isTiny
|
read |
- Remarks
- This property is read-only
Definition at line 77 of file YearView.qml.
◆ selectedDate
|
read |
Definition at line 46 of file YearView.qml.
◆ startDate
|
read |
Definition at line 55 of file YearView.qml.
◆ title
|
read |
- Remarks
- This property is read-only
Definition at line 87 of file YearView.qml.
◆ year
|
read |
Definition at line 63 of file YearView.qml.
Member Function Documentation
◆ monthClicked
|
signal |
- Parameters
-
date
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
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.