GithubHelp home page GithubHelp logo

dtkdeclarative's Introduction

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:

  1. A primitive Qt and Qml code style
  2. Adapted APIs with traditional Qml
  3. Simple and quick development interfaces
  4. Unified widget theme style
  5. Abundant effects and colors

中文介绍

Document

dtkdeclarative 中文文档

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

  1. Please make sure that all dependencies are installed
  2. Get source and build
$ git clone https://github.com/linuxdeepin/dtkdeclarative.git
$ cmake -Bbuild -GNinja
$ cmake --build build
  1. 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

License

dtkdeclarative is licensed under the LGPL-3.0-or-later

TODO

  1. Add plugins.qmltypes, support code completion
  2. Support Vulkan

dtkdeclarative's People

Contributors

18202781743 avatar zccrs avatar lbwtw avatar feiwang1119 avatar asterwyx avatar deepin-ci-robot avatar xzl01 avatar kegechen avatar decodetalkers avatar deepin-bot[bot] avatar mhduiy avatar xionglinlin avatar wineee avatar hillwoodroc avatar blumia avatar tsic404 avatar felixonmars avatar lepoii avatar robertkill avatar cccccccb avatar groveer avatar ice909 avatar

Stargazers

hemmingway avatar MOZGIII avatar Joel Clay avatar PLCreed avatar little_sheepycn avatar  avatar RubbishZhYic avatar kangert avatar Jackson Hu avatar  avatar  avatar Xiao YaoBing avatar Oromion avatar gnuhub avatar gfdgd xi avatar  avatar  avatar Jeyrce avatar  avatar

Watchers

James Cloos avatar Hualet Wang avatar  avatar toberyan avatar  avatar  avatar

dtkdeclarative's Issues

关于-弹窗样式问题

UI还原问题:

目前的样式布局不对

期望实现:

所有应用应该是有统一的关于弹窗的样式

image

bugs under treeland env

Tasks

使用 ColorSelector.xxx 获取颜色时报告属性未定义

这是一个不稳定重现问题。当在一个 ListView 的 Delegate 中使用 Button 控件时(必要条件,这会影响创建控件的时机),BoxPanel.qml 中有可能会无法通过 ColorSelector 获取颜色。另外,使用 ColorSelector.hovered: xxx.xxx ? true : xxxx.xxx : undefined 类似的方式为 ColorSelector 的某个属性绑定一个表达式(而不是直接绑定一个属性)可能是必要条件之一。

DCI图标调整,删除类型概念,新增图层和颜色类型概念

  • dtkgui中DDciicon调整,删除Type,增加颜色类别: 前景色、背景色、高亮色或者高亮前景色
  • dtkgui中增加图层绘制的实现,根据图层顺序进行绘制,上层图层覆盖下层图层,图层前景使用指定的颜色类别
  • qml中修改DCI图标文件的实现

ColorSelector优化

整理接口代码,优化使用方式,将传统的以Palette为主体的使用方式修改为以Property为主体。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.