YearView

Search for usage in LXR

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)
}
}
}
string title
Definition YearView.qml:87

Definition at line 41 of file YearView.qml.

Property Documentation

◆ currentDate

date YearView::currentDate
read
Remarks
This property is read-only

Definition at line 51 of file YearView.qml.

◆ firstDayOfMonth

date YearView::firstDayOfMonth
read

Definition at line 59 of file YearView.qml.

◆ gridView

alias YearView::gridView
read
Remarks
This property is read-only

Definition at line 82 of file YearView.qml.

◆ initialMonth

bool YearView::initialMonth
read

Definition at line 67 of file YearView.qml.

◆ isLarge

bool YearView::isLarge
read
Remarks
This property is read-only

Definition at line 72 of file YearView.qml.

◆ isTiny

bool YearView::isTiny
read
Remarks
This property is read-only

Definition at line 77 of file YearView.qml.

◆ selectedDate

date YearView::selectedDate
read

Definition at line 46 of file YearView.qml.

◆ startDate

date YearView::startDate
read

Definition at line 55 of file YearView.qml.

◆ title

string YearView::title
read
Remarks
This property is read-only

Definition at line 87 of file YearView.qml.

◆ year

int YearView::year
read

Definition at line 63 of file YearView.qml.

Member Function Documentation

◆ monthClicked

void YearView::monthClicked ( var date)
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 Fri Dec 20 2024 11:47:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.