MonthView

Search for usage in LXR

Inheritance diagram for MonthView:

Properties

date currentDate
 
bool dragDropEnabled
 
var filter
 
date firstDayOfMonth
 
bool initialMonth
 
alias interactive
 
bool isLarge
 
bool isTiny
 
alias model
 
int month
 
var openOccurrence
 
date selectedDate
 
date startDate
 
string title
 
int year
 

Signals

void dateClicked (var date)
 
void dateDoubleClicked (var date)
 
void dateRightClicked (var date)
 

Public Member Functions

void addMonthsToDate (date, days)
 
void nextDate ()
 
void previousDate ()
 
void resetDate ()
 
void setToDate (date, isInitialMonth=true)
 

Detailed Description

A view for browsing the calendar months and its days.

MonthView control with different sizes
Maui.Page
{
anchors.fill: parent
Maui.Controls.showCSD: true
title: _monthsView.title
headBar.rightContent: Maui.ToolActions
{
checkable: false
{
icon.name: "go-previous"
onTriggered: _monthsView.previousDate()
}
{
icon.name: "go-next"
onTriggered: _monthsView.nextDate()
}
}
MC.MonthView
{
id: _monthsView
anchors.fill: parent
}
}
string title
Definition MonthView.qml:63

Definition at line 51 of file MonthView.qml.

Property Documentation

◆ currentDate

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

Definition at line 58 of file MonthView.qml.

◆ dragDropEnabled

bool MonthView::dragDropEnabled
read

Definition at line 114 of file MonthView.qml.

◆ filter

var MonthView::filter
read

Definition at line 71 of file MonthView.qml.

◆ firstDayOfMonth

date MonthView::firstDayOfMonth
read

Definition at line 84 of file MonthView.qml.

◆ initialMonth

bool MonthView::initialMonth
read

Definition at line 96 of file MonthView.qml.

◆ interactive

alias MonthView::interactive
read

Definition at line 118 of file MonthView.qml.

◆ isLarge

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

Definition at line 101 of file MonthView.qml.

◆ isTiny

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

Definition at line 106 of file MonthView.qml.

◆ model

alias MonthView::model
read
Remarks
This property is read-only

Definition at line 76 of file MonthView.qml.

◆ month

int MonthView::month
read

Definition at line 88 of file MonthView.qml.

◆ openOccurrence

var MonthView::openOccurrence
read

Definition at line 67 of file MonthView.qml.

◆ selectedDate

date MonthView::selectedDate
read

Definition at line 110 of file MonthView.qml.

◆ startDate

date MonthView::startDate
read

Definition at line 80 of file MonthView.qml.

◆ title

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

Definition at line 63 of file MonthView.qml.

◆ year

int MonthView::year
read

Definition at line 92 of file MonthView.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 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.