All Projects → mohammadhasanzadeh → yacalendar

mohammadhasanzadeh / yacalendar

Licence: MIT License
Yet another calendar component for Qt Quick Controls 2

Programming Languages

QML
638 projects
C++
36643 projects - #6 most used programming language
javascript
184084 projects - #8 most used programming language
QMake
1090 projects

Projects that are alternatives of or similar to yacalendar

Autoannotationtool
A label tool aim to reduce semantic segmentation label time, rectangle and polygon annotation is supported
Stars: ✭ 113 (+391.3%)
Mutual labels:  qt, qml, qtquick
Taoquick
a cool QtQuick/qml component library and demo(一套酷炫的QtQuick/Qml基础库和示例)
Stars: ✭ 481 (+1991.3%)
Mutual labels:  qt, qml, qtquick
QDashBoard
Sample dashboard developed with QML. Login, plots and several screens.
Stars: ✭ 34 (+47.83%)
Mutual labels:  qt, qml, qtquick
Spix
UI test automation library for QtQuick/QML Apps
Stars: ✭ 48 (+108.7%)
Mutual labels:  qt, qml, qtquick
Awesome Qt Qml
A curated list of awesome Qt and QML libraries, resources, projects, and shiny things.
Stars: ✭ 1,118 (+4760.87%)
Mutual labels:  qt, qml, qtquick
Osgqtquick
Intergation OpenSceneGraph to Qt Quick
Stars: ✭ 53 (+130.43%)
Mutual labels:  qt, qml, qtquick
Scihubeva
A Cross Platform Sci-Hub GUI Application
Stars: ✭ 683 (+2869.57%)
Mutual labels:  qt, qml, qtquick
Qaterial
🧩 Collection of Material Components based on QtQuickControls2.
Stars: ✭ 110 (+378.26%)
Mutual labels:  qt, qml, qtquick
Qml Box2d
Box2D QML plugin
Stars: ✭ 223 (+869.57%)
Mutual labels:  qt, qml, qtquick
qt-quick-responsive-helper
A simple toolbar for QtQuick based applications, to let developers test different resolutions and dpi settings easily. It was made to be integrated with minimal effort (only one QML file), and to be configurable for your specific usage.
Stars: ✭ 26 (+13.04%)
Mutual labels:  qml, qtquick
vatsinator-legacy
An open-source Vatsim monitor
Stars: ✭ 12 (-47.83%)
Mutual labels:  qml, qtquick
qml-oled-renderer
Renders QML applications to an SSD1309 OLED screen
Stars: ✭ 21 (-8.7%)
Mutual labels:  qml, qtquick
TreeEdit
Qml TreeEdit with Controls2 (Qml树结构编辑器,使用Controls2实现)
Stars: ✭ 50 (+117.39%)
Mutual labels:  qml, qtquick
QaterialGallery
🖼️ Qaterial Library Showcase.
Stars: ✭ 85 (+269.57%)
Mutual labels:  qml, qtquick
terminal
🚀 Terminal
Stars: ✭ 28 (+21.74%)
Mutual labels:  qml, qtquick
Project-Template
A template for modern C++ projects with useful features for developing cross-platform products.
Stars: ✭ 44 (+91.3%)
Mutual labels:  qml, qtquick
g-timetracker
Global Time Tracker
Stars: ✭ 20 (-13.04%)
Mutual labels:  qml, qtquick
Qt3D-learn
Qt3D-learn
Stars: ✭ 36 (+56.52%)
Mutual labels:  qml, qtquick
QtMobileApp
This repository contains basic template for Qt for mobile app development using QML and C++ as backend to access RESTful API's
Stars: ✭ 16 (-30.43%)
Mutual labels:  qml, qtquick
python-qt-live-coding
Live coding environment for Python, Qt and QML.
Stars: ✭ 35 (+52.17%)
Mutual labels:  qml, qtquick

YaCalendar

Yet another calendar component for Qt Quick Controls 2

Some easy to use and Qt.labs.calendar like components for use the QCalendar API in Qt Quick Controls 2

Screenshots:

Gregorian Jalali Gregorian range selection Jalali range selection
YearMonth Selection

Requirements:

Qt >= 5.14

Add to project:

Add yacalendar.pri to your .pro file:

include(Path/to/yacalendar.pri)

And then register the QML types with calling the register_calendar function in the main.cpp, like the below:

yacalendar::register_calendar();

Ready to use components:

Some components created for ease of use in applications:

  • CalendarDialog
  • RangeCalendarDialog
  • YearMonthDialog

Basic Components:

Also you can create your custom calendar with the following components:

  • CalendarSystem
  • CalendarModel
  • MonthGrid
  • RangeModel
  • GridCombobox

Usage:

CalendarDialog
{
    id: gregorian_calendar
    locale: Qt.locale("en_US")

    model: CalendarModel {
        from: new Date(2000, 1, 1)
        to: new Date(2020, 12, 1)
    }

    system: CalendarSystem {
        type: CalendarSystem.Gregorian
        locale: gregorian_calendar.locale
    }

    onFinished:
    {
        if (result === CalendarDialog.Accepted)
            console.log(`${selected_date.year}-${selected_date.month}-${selected_date.day}`);
    }
}

for other usage and date conversion see the examples directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].