{"id":22920775,"url":"https://github.com/eddytheco/esterv.customcontrols.datetimepickers","last_synced_at":"2026-02-21T14:34:11.840Z","repository":{"id":210182498,"uuid":"724282512","full_name":"EddyTheCo/Esterv.CustomControls.DateTimePickers","owner":"EddyTheCo","description":"Date Time Pickers in QML","archived":false,"fork":false,"pushed_at":"2024-10-13T11:16:45.000Z","size":245,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-14T07:16:51.172Z","etag":null,"topics":["cmake","datetimepicker","qml","qml-module","qt6"],"latest_commit_sha":null,"homepage":"https://eddytheco.github.io/Esterv.CustomControls.DateTimePickers/","language":"QML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EddyTheCo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-27T19:08:43.000Z","updated_at":"2024-08-10T08:20:45.000Z","dependencies_parsed_at":"2023-12-08T10:32:24.183Z","dependency_job_id":"5830e40b-8372-47c5-8d98-b50a371f0fdf","html_url":"https://github.com/EddyTheCo/Esterv.CustomControls.DateTimePickers","commit_stats":null,"previous_names":["eddytheco/datetimepickers","eddytheco/esterv.customcontrols.datetimepickers"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddyTheCo%2FEsterv.CustomControls.DateTimePickers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddyTheCo%2FEsterv.CustomControls.DateTimePickers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddyTheCo%2FEsterv.CustomControls.DateTimePickers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddyTheCo%2FEsterv.CustomControls.DateTimePickers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EddyTheCo","download_url":"https://codeload.github.com/EddyTheCo/Esterv.CustomControls.DateTimePickers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237616464,"owners_count":19339344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","datetimepicker","qml","qml-module","qt6"],"created_at":"2024-12-14T07:16:56.995Z","updated_at":"2026-02-21T14:34:11.812Z","avatar_url":"https://github.com/EddyTheCo.png","language":"QML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Esterv.CustomControls.DateTimePickers\n\n[TOC]\n\nThis repo creates a QML module with custom types for date and  time selection.\nIdeally, the types should look like [these](https://mui.com/x/react-date-pickers/date-time-picker/).\n\nThe types should be style-independent, but the colors used rely on the [EstervDesigns](https://github.com/EddyTheCo/Esterv.Designs)\nSimple style. \nIf you want to change the colors in your top QML file you can do\n```\nimport Esterv.Styles.Simple\n...\n\nComponent.onCompleted:\n{\nStyle.frontColor1= (Style.theme)?LightThemeColor:DarkThemeColor//Like control.palette.text\n\nStyle.frontColor2= ...\nStyle.frontColor3= ...\n\nStyle.backColor1= ...\nStyle.backColor2= ...\nStyle.backColor3= ...\n}\n\n``` \n\n## Configure, build, test, package ...\n \nThe project uses [CMake presets](https://cmake.org/cmake/help/latest/manual/cmake-presets.7.html) as a way to share CMake configurations.\nRefer to [cmake](https://cmake.org/cmake/help/latest/manual/cmake.1.html), [ctest](https://cmake.org/cmake/help/latest/manual/ctest.1.html) and [cpack](https://cmake.org/cmake/help/latest/manual/cpack.1.html) documentation for more information on the use of presets.\n\n\n## Using the module in your CMake project\n\nJust add to your project CMakeLists.txt\n\n```\nFetchContent_Declare(\n        EstervDTPickers\n        GIT_REPOSITORY https://github.com/EddyTheCo/Esterv.CustomControls.DateTimePickers.git\n\tGIT_TAG vMAJOR.MINOR.PATCH\n\tFIND_PACKAGE_ARGS MAJOR.MINOR COMPONENTS DTPickers CONFIG\n    )\nFetchContent_MakeAvailable(EstervDTPickers)\ntarget_link_libraries(\u003ctarget\u003e \u003cPRIVATE|PUBLIC|INTERFACE\u003e Esterv::DTPickers) \n```\nIf want to use the QML module also add\n```\ntarget_link_libraries(\u003ctarget\u003e \u003cPRIVATE|PUBLIC|INTERFACE\u003e $\u003c$\u003cSTREQUAL:$\u003cTARGET_PROPERTY:Esterv::DTPickers,TYPE\u003e,STATIC_LIBRARY\u003e:Esterv::DTPickersplugin\u003e)\n```\n\nThen you have to add to your [QML IMPORT PATH](https://doc.qt.io/qt-6/qtqml-syntax-imports.html) the `qrc:/esterVtech.com/imports` path.\nFor that one could add this to the  main function:\n\n```\nQQmlApplicationEngine engine;\nengine.addImportPath(\"qrc:/esterVtech.com/imports\");\n```\n\n## Examples\n\nThe [examples](examples) folder shows the use of the different custom types provided by the QML module.\n\nOne can also play with the types [here](https://eddytheco.github.io/qmlonline/?example_url=dtpickers)\n\n\n## API reference\n\nYou can read the [API reference](https://eddytheco.github.io/Esterv.CustomControls.DateTimePickers/), or generate it yourself like\n```\ncmake --workflow --preset default-documentation\n```\n\n## Contributing\n\nWe appreciate any contribution!\n\n\nYou can open an issue or request a feature.\nYou can open a PR to the `develop` branch and the CI/CD will take care of the rest.\nMake sure to acknowledge your work, and ideas when contributing.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddytheco%2Festerv.customcontrols.datetimepickers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddytheco%2Festerv.customcontrols.datetimepickers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddytheco%2Festerv.customcontrols.datetimepickers/lists"}