登录 注册
当前位置:主页 > 资源下载 > 31 > KDDockWidgets-master.zip下载

KDDockWidgets-master.zip下载

  • 更新:2024-10-06 18:04:44
  • 大小:3.26MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:C++ - 后端
  • 格式:ZIP

资源介绍

一个qt第三方库,可以实现dock窗口 KDDockWidgets is an effort by KDAB to provide an advanced docking system for Qt. Throughout the years KDAB has contributed and funded QDockWidget development. Sadly, this wasn’t without pain: each change took many days to implement and an equal amount of time to fix regressions. QDockWidget mixes GUI code with logic/state in a spaghetti manner, making it very hard to move forward. In hindsight, what caused this complexity was the combinatorial explosion of options it supports (which seem unneeded to me, as most people just want to use all the features). That, times 3 platforms, which have different nuances, times 2, since code behaves drastically different if you have animations enabled or not. KDDockWidgets was born from my need to preserve sanity after having worked in two projects that needed extensive customization. One where we tried to work directly upstream but the regression rate ended up being too much. And another one where I took the route of using private API, fake mouse events and event filters, which seemed like a good idea at first, but ended up being a world of pain. Furthermore, our customers were getting more creative with their requests, so it was clear we needed a better docking framework.