Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
src_gui_widgets_qcalendarwidget.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
//! [0]
5
QCalendarWidget
*
calendar
;
6
calendar->setGridVisible(
true
);
7
//! [0]
8
9
10
//! [1]
11
QCalendarWidget
*
calendar
;
12
calendar->setGridVisible(
true
);
13
calendar->setMinimumDate(QDate(2006, 6, 19));
14
//! [1]
15
16
17
//! [2]
18
QCalendarWidget
*
calendar
;
19
calendar->setGridVisible(
true
);
20
calendar->setMaximumDate(QDate(2006, 7, 3));
21
//! [2]
22
23
24
//! [3]
25
QCalendarWidget
*
calendar
;
26
27
calendar->setDateRange(min, max);
28
//! [3]
29
30
31
//! [4]
32
QCalendarWidget
*
calendar
;
33
34
calendar->setMinimumDate(min);
35
calendar->setMaximumDate(max);
36
//! [4]
37
38
39
//! [5]
40
QCalendarWidget
*
calendar
;
41
calendar->setGridVisible(
true
);
42
//! [5]
calendar
QCalendarWidget * calendar
[0]
Definition
src_gui_widgets_qcalendarwidget.cpp:5
qtbase
src
widgets
doc
snippets
code
src_gui_widgets_qcalendarwidget.cpp
Generated on
for Qt by
1.18.0