On Sun, Jan 15, 2012 at 4:35 PM, Mark <mark...@gmail.com> wrote:
> On Sun, Jan 15, 2012 at 4:23 PM, todd rme <toddrme2...@gmail.com> wrote:
>>
>> On Sun, Jan 15, 2012 at 3:47 PM, Mark <mark...@gmail.com> wrote:
>> > On Sun, Jan 15, 2012 at 3:36 PM, todd rme <toddrme2...@gmail.com> wrote:
>> >>
>> >> On Sat, Jan 14, 2012 at 4:21 PM, Mark <mark...@gmail.com> wrote:
>> >> > My goal with the breadcrumbbar is to make it work exactly like the
>> >> > bar
>> >> > in
>> >> > Dolphin. Only then written in QML and with fancy animations and that
>> >> > is
>> >> > working really well at the moment ^_^
>> >>
>> >> Nice!  Will it support things like drag-and-drop, middle click, and
>> >> the scroll wheel?
>> >>
>> >> -Todd
>> >
>> >
>> > Hi Todd,
>> >
>> > - drag-and-drop : nope, but what do you even mean by that?
>>
>> Depends on what you intend to use it for.  For instance in Dolphin you
>> can drop files on an entry in the breadcrumb bar to move or copy a
>> file to that directory.  A breadcrumb bar in a file manager plasmoid
>> could use it for a similar purpose.  If there is any case where you
>> need to move things around within the tree structure you are using the
>> breadcrumb bar to navigate then this will be very helpful.
>>
> That... is deep integration (or use of) KIO .. I certainly do want to add
> that in, but i don't really know how easy/hard it is.
>
>>
>> > - middle click, it should do what exactly?
>>
>> Depends on what it is being used for.  For instance in dolphin it open
>> the folder in a new tab.  If there are either tabs in the plasmoid or
>> the nodes of the breadcrumb tree can be opened in an external
>> application, then middle click would be helpful for those purposes.
>> It could also be used to trigger a popup, for instance showing a
>> preview of the contents of that node without moving to it.
>>
> Well, that really depends.. Remember, this is just a breadcrumbbar with no
> "file manager" around it.. Just the bar. What i can do is emit a signal that
> a middle click is done on some button. Someone else that wants to use this
> for tabbed based purposes can then use it to open a new tab. Does that sound
> oke for you?

Yes, that is what I was trying to say for both cases.  Just add the
basic hooks for middle click detection or generic object drag and
drop, and whoever is designing the plasmoid can use them for whatever
he/she thinks is appropriate, or just not use them at all.

-Todd
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to