用户可借助该项目开发界面组件,它是dtkwidget的全新替代品,基于qtdeclarative开发,涵盖现有QML组件,添加DTK友好视觉效果与配色,具备原生Qt/Qml代码风格、适配传统Qml的API及统一主题样式。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago | ||
| 3 years ago |
dtkdeclarative
dtkdeclarative is a widget development toolkit based on QtQuick/QtQml, which is a brand new substitute for dtkwidget. dtkdeclarative is developed based on qtdeclarative. It covers all existing QML widgets and adds plenty of DTK friendly visual effects and color schemes. Compared to dtkwidget. It has:
- A primitive Qt and Qml code style
- Adapted APIs with traditional Qml
- Simple and quick development interfaces
- Unified widget theme style
- Abundant effects and colors
Document
Dependencies
- qml-module-qtquick-shapes
- qml-module-qtquick-layouts
Build dependencies
- qtdeclarative5-dev
- qtbase5-dev-tools,
- qtquickcontrols2-5-dev
- libdtkgui-dev
- libdtkcore-dev
- qtdeclarative5-private-dev
- qtbase5-private-dev
Build from source
- Please make sure that all dependencies are installed
- Get source and build
$ git clone https://github.com/linuxdeepin/dtkdeclarative.git
$ cmake -Bbuild -GNinja
$ cmake --build build
- Install
$ sudo cmake --install build
Getting help
- Please feel free to report issues if you encounter any problem
- Deepin Community for generic discussion and help.
Getting Involved
Any usage issues can ask for help via
- Telegram group
- Matrix
- IRC (libera.chat)
- Forum
- WiKi If you find a definite bug, you can raise it by way of an issue and we will fix it as soon as possible. If you have some development skills, you are welcome to submit a PR.
License
dtkdeclarative is licensed under the LGPL-3.0-or-later
TODO
- Add plugins.qmltypes, support code completion
- Support Vulkan