[PATCH] Add image thumbnail when drag-and-dropping images.

Leo Savernik l.savernik at aon.at
Mon Jan 3 15:08:50 GMT 2005


Am Montag, 3. Januar 2005 01:30 schrieb Michael Pyne:
> On Sunday 02 January 2005 03:12 pm, Leo Savernik wrote:
> > Am Sonntag, 2. Januar 2005 20:00 schrieb Michael Pyne:
> > > The patch I'm including has the Q_WS_X11 change, and the maximum size
> > > is now 128x96.  It looks real bad on my monitor any lower.  If it's
> > > still too big I
> >
> > I think that's acceptable.
> >
> > Are there any provisions for turning the feature off? A hidden config
> > option would suffice.
>
> No provisions as yet, but I can add an option.  What KConfig file is used
> for khtml?

Don't bother. Add the option to khtml_settings.{cc,h}.
>
> > Btw, it would be kool to have the dragged image half transparent (it's
> > probably only possible with X.org, isn't it?)
>
> Yes, this would be like, beyond kick ass.  I *think* it's only possible
> with COMPOSITE, but I dunno, because XFree 4.3's XCURSOR support supported
> translucent cursors, so there may be a way to do it with XCURSOR.  I don't
> think Qt supports it natively though, so I'm not sure how we could work
> around that.

Yeah. You could read the current cursor from the XCURSOR interface (is that 
possible?), then add the scaled image with translucency, then apply it. It's 
certainly hacky, but it would quite make an impression even for older X 
versions.

>
> Regards,
>  - Michael Pyne

mfg
 Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050103/04eba465/attachment.sig>


More information about the kfm-devel mailing list