KDE 任务栏进度

编程入门 行业动态 更新时间:2024-10-28 14:35:30
本文介绍了KDE 任务栏进度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试使用 KDE 框架在等离子桌面的任务栏中显示进度.简而言之,它在复制文件时想做与 dolphin 相同的事情:

I am trying to show a progress in the taskbar of the plasma desktop using the KDE Frameworks. In short, it want to do the same thing as dolphin, when it copies files:

我有点卡住了,因为我什至不知道从哪里开始.我发现唯一可能有用的是 KStatusBarJobTracker,但我不知道怎么用.我找不到如何执行此操作的任何教程或示例.

I'm kinda stuck, because I don't even know where to get started. The only thing I found that could be useful is KStatusBarJobTracker, but I don't know how to use it. I could not find any tutorials or examples how to do this.

推荐答案

是的,事实证明您是对的,目前没有针对此的教程.然而,这个审查委员会的请求显示了它是如何在 KDevelop 中实现的,你应该可以通过它来解决它:) git.reviewboard.kde/r/127050/

Right, so as it turns out you are right, there is not currently a tutorial for this. This reviewboard request, however, shows how it was implemented in KDevelop, and it should be possible for you to work it out through that :) git.reviewboard.kde/r/127050/

ps:现在没有教程可能是您加入并提供帮助的好方法,为此编写一个小型的、自包含的教程......我相信会非常受欢迎:)

ps: that there is no tutorial now might be a nice way for you to hop in and help out, by writing a small, self contained tutorial for it... something i'm sure would be very much welcomed :)

更多推荐

KDE 任务栏进度

本文发布于:2023-11-09 03:02:06,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1571216.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:任务栏   进度   KDE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!