This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Link Icon

-4

Votes
3
7
Tags: plasma, applications, icons, action, qt, widget plasma, applications, icons, action, qt, widget plasma, applications, icons, action, qt, widget
(comma "," separated)
Lachu
Registered Member
Posts
864
Karma
1
OS

Link Icon

Sat Jan 23, 2010 12:31 pm
Actually many tools(like VirtualBox) don't allow to makes shortcuts providing some of function/action. I wish to had some think like that.

It's probably hard to realize, because QT parses arguments before we creating UI, so I think link shouldn't be normal text.

How it could work(programming; example only)?
Creating:
- Application creates link icon to action run Ubuntu Virtual Machine.
- Application save unique identifier to this widget
- User will drag this icon onto desktop
- Plasma will create icon with string --QT-action UniqueID
Usage:
- User click on icon creates by dragging link/action icon onto desktop
- Plasma/Klaucher starts VirtualBox
- QT parse argument --QT-action and store it
- Application recreates link icon with the same unique ID
- Application starts main loop
- QT didn't display any window
- We add new tray icon, providing access to hidden windows
- QT invokes signal telling user clicks on the icon


By user perspective:
- I just running VirtualBox
- I drag Ubuntu icon onto desktop

- I just click on the icon

It have also other enhancement. We can use it by mail client/program, IM Client, Feed Clients, etc. In feed client we can just drag refresh button everywhere!

It will provide better connection application with desktop. Actually programmer just forgot about this simple feature, like icons(we can't drag IM contact from list, can't drag new document button from list, etc. ).

There could be problem for actions like new or open, but there's only application programmers matter. Question is: when and which Window QT should display.


Lachu, proud to be a member of KDE forums since 2008-Nov.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]