Trashcan (QML)
Recently
I developed trashcan which is available at kde-workspace
,branch:heenamahour/gsoc .
(not yet merged yet).
(not yet merged yet).
I have implemented a pop up menu having open and
empty option .Just like the c++ plasmoid it
can also be opened by left click on it .To confirm to empty the trash
can on using Empty Trash from the pop up menu
,I have used a QueryDialog.
It
also displays the total number of items in trash
using DirModel(plasma-mobile).It
is resizable .Also
,I have added form factor in it.
On Trash can settings
, config plugin is
added using X-Plasma-ConfigPlugins .I
have removed the background by set.background hints(0).
I hope you will check it out ! :)
Maybe remove the number of items when trash is empty.
ReplyDeleteAlso it might make sense to only show number of items in trash when you hover mouse over it (at least for some form factors).
Left align looks bad in this example. Also I don't need to know how many elements I've got in the trashcan. It would be way more interesting to have couple states of being full.
ReplyDeleteLet say:
<10MB of junk - icon with only little paper
10-100MB - more papers in the trashcan, maybe with pencil
100-1000MB - big pile of papers sticking out from the trashcan
>1000MB (or close to the trash limit) - "mountain" of papers and papers around trashcan like this: http://timemanagementninja.com/wp-content/uploads/2011/05/Overflowing-Trash-Can.jpg
And that would be cool and useful.
>Left align looks bad in this example.
DeleteAligned to center ,you can pull it out :-)
>Also I don't need to know how many elements I've got in the trashcan.
Well, the number of items in trashcan is required .It is because it saves user's time to open the trashcan and count items(especially when count is large !).So ,its efficient way ;)
>It would be way more interesting to have couple states of being full.
I don't find it is required ,as in c++ plasmoid.
Thank you
Hi, thanks for your effort!
ReplyDelete> And that would be cool and useful.
Anonymous, -usefull- really!?
It would mean that an icon artist spend time making different states for the trash icon - what a waste of time!
How about that,
When trash is empty it should display "Empty", When only one, "One item",n-->,"N items" Just like the C++ trash
can, can we have it please? Thanks!
Yeah, because developer's time to code this and write a blog entry is not waste of time? What's the use of displaying number of items? I don't care how many files is inside of trashcan, I do care about how much space on HDD it's holding.
DeleteAnd for thousands of icons in oxygen style I think someone would step up and tweak two icons more. Especially it didn't change since 4.0 release. That's one waste of time per 5-6years.
Really dude! And this http://timemanagementninja.com/wp-content/uploads/2011/05/Overflowing-Trash-Can.jpg
Deletewill tell you that trash is talking more than say 60% of your hard drive - what a joke!
I think the idea with the different icons is pretty good.
DeleteAnd Ubiman: I don't like your tone!
Another anonymous
@Ubiman : >When trash is empty it should display "Empty", When only one, "One item",n-->,"N items" Just like the C++ trash can, can we have it please? Thanks!
DeleteYou can pull it now,I have modified the text and tooltip .Welcome!
@ Heena Mahour Thank you're awesome! :)
ReplyDelete@ Anonymous dude I didnt mean to offend you, I was just proposing my idea, ok maybe I was over-expressive, but you seem to be over-reactive..hmmm
No problem at all! :)
DeleteGood work :)
ReplyDeleteThank you ! :-)
Delete