当前位置:网站首页>66.qt quick-qml自定义日历组件(支持竖屏和横屏)
66.qt quick-qml自定义日历组件(支持竖屏和横屏)
2022-07-02 03:58:00 【诺谦】
从GitHub - papyros/qml-material: Material Design implemented in QtQuick移植下来的,凑合用.
截图如下所示(已上传专栏群):
效果如下所示:
1.Calendar介绍
属于import QtQuick.Controls 1.x模块,所以使用时,需要引用下别名模块
Properties:
- dayOfWeekFormat : int,一周中各天的显示格式(在页眉中)。Locale.ShortFormat是默认的推荐格式
- frameVisible : bool, 该属性设置日历周围框架的可见性。
- locale : var,此属性控制日历用来显示自身的区域设置。默认值相当于Qt.locale().也可以强制设置地区
- maximumDate : date,可以设置的最大时间范围
- minimumDate : date,可以设置的最小时间范围
边栏推荐
- Blue Bridge Cup single chip microcomputer sixth temperature recorder
- Jetpack's livedata extension mediatorlivedata
- JVM knowledge points
- SQL Yiwen get window function
- 树莓派GPIO引脚控制红绿灯与轰鸣器
- Vite: scaffold assembly
- Pandora IOT development board learning (RT thread) - Experiment 1 LED flashing experiment (learning notes)
- Déchirure à la main - tri
- 【leetcode】74. Search 2D matrix
- Visual slam Lecture 3 -- Lie groups and Lie Algebras
猜你喜欢
Introduction to Robotics II. Forward kinematics, MDH method
"No war on the Western Front" we just began to love life, but we had to shoot at everything
Opencv learning example code 3.2.4 LUT
[designmode] Prototype Pattern
0 foundation how to learn automated testing? Follow these seven steps step by step and you will succeed
集成底座方案演示说明
SQL Yiwen get window function
The first game of the 11th provincial single chip microcomputer competition of the Blue Bridge Cup
The 9th Blue Bridge Cup single chip microcomputer provincial competition
[untitled]
随机推荐
SQL Yiwen get window function
Oracle 查看被锁的表和解锁
【leetcode】74. Search 2D matrix
The first game of the 12th Blue Bridge Cup single chip microcomputer provincial competition
Hands on deep learning (II) -- multi layer perceptron
Pandora IOT development board learning (HAL Library) - Experiment 2 buzzer experiment (learning notes)
Vite: configure IP access
In wechat applet, the externally introduced JS is used in xwml for judgment and calculation
Déchirure à la main - tri
Sorted out an ECS summer money saving secret, this time @ old users come and take it away
JVM知识点
MD5 of Oracle
软件测试人的第一个实战项目:web端(视频教程+文档+用例库)
The second game of the 11th provincial single chip microcomputer competition of the Blue Bridge Cup
蓝桥杯单片机省赛第八届
BiShe cinema ticket purchasing system based on SSM
Raspberry pie GPIO pin controls traffic light and buzzer
The 6th Blue Bridge Cup single chip microcomputer provincial competition
蓝桥杯单片机省赛第十一届
XSS prevention