Version: 2.1dev (using KDE 3.5.4, Gentoo) Compiler: Target: x86_64-pc-linux-gnu OS: Linux (x86_64) release 2.6.18-rc4-no1 there's a red and a green arrow, symboling up and download. Would sure be cool to have them reflect current traffic situation, i.e. desaturate or highlight each of them if traffic is low/high... useless but candy, cheers and thx for a great tool ;)
That would be cool, we will see if we have the time to do this.
Created attachment 17979 [details] add speed bar
hi this patch add 2 small vertical bar on the tray icon green one for download and red one for upload
The bars are not really that clear to see.
enlarging the bars when bandwidth usage grow you can't see the icon. A solution should be make the bars transparent but i don't know how do this
Created attachment 17995 [details] snapshot
It covers KT icon and it doesn't look good to me although it's kinda usefull since I'm getting a good bandwidth overview in systray without opening KT. My idea was to make these bars transparent too, but I'm not sure if this is easily done with Qt3. We should check out how amaroK does icon animations.
Created attachment 17997 [details] speed bar now bars are transparent copy in apps/ktorrent/ png files
It looks better. I would just add one small thing: since many people have smaller upload capacity than download, I'll add 'bandwidth' setting for upload too. That way if I have, for example, 100KB/s download and 10KB/s upload bars would show equal heights when reaching maximum capacities. I would also make those bars a bit more transparent and much less wide so they don't cover KT icon too much (only images need to be changed for this so don't worry about it, I'm going to do it).
thanks for the suggestion i will add upload bandwidth setting
Created attachment 18001 [details] speed bar added upload bandwidth setting
It works great. I've done some tweaking (you'll kill me): - I made KT tray icon 2 pixels smaller in width (squeezed it actually) - Squeezed speedbars too so they are 1px in width and placed download bar to the left and upload to the right. This way everything is clearly visible and icon is not covered. What do you think?
Created attachment 18002 [details] KTorrent system tray icon snapshot. Snapshot
i like it. I think that is the better solution, perhaps 2px in width is more visible
Created attachment 18003 [details] KTorrent system tray icon snapshot. Maybe something like this? Note that this is without modifying KTorrents tray icon. Seems pretty fine to me...
Great. I think that now is perfect
Hey that looks pretty cool to me aswell will recompile in a minute.. I had animating the saturation/hue of the color of the arrows and/or the size of each arrow in mind when I posted, though... maybe someone can come up with useful code..^^
SVN commit 592422 by ivasic: Systray now reflects current bandwidth usage. Big thanks to Diego R. Brogna <dierbro@gmail.com> for providing this patch. BUG:133873 M +1 -1 Makefile.am M +470 -329 generalpref.ui AM hi22-app-ktdownloadbar.png AM hi22-app-ktuploadbar.png M +1 -1 ktorrent.cpp M +16 -0 ktorrent.kcfg M +6 -0 pref.cpp M +27 -1 trayicon.cpp M +9 -1 trayicon.h