[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-devel
Subject: Re: Drag-n-drop image files (QT)
From: Martin Vermeer <martin.vermeer () hut ! fi>
Date: 2005-01-28 15:02:03
Message-ID: 1106924522.12250.13.camel () geo9 ! hut ! fi
[Download RAW message or body]
On Fri, 2005-01-28 at 15:44, Jean-Marc Lasgouttes wrote:
> >>>>> "Angus" == Angus Leeming <leeming@lyx.org> writes:
>
> Angus> Jean-Marc Lasgouttes wrote:
> >> It seems sufficiently simple to be acceptable. I think we should
> >> work on the 1.4.0 integration first, though.
> >>
> >> One thing that I would like to see is using methods from the
> >> graphics loader used for deciding whether the file is OK instead of
> >> QImageIO::imageFormat. This is Angus' word, of course.
>
> Angus> You mean that the patch should use the graphics loader to
> Angus> ascertain whether the image is "loadable"? Well, that would
> Angus> definitely be better than using the Qt stuff.
>
> do we have the necessary infrastructure in place (we do not handle
> mime types, do we?).
>
>
> Angus> LyX has converters after all. However, I think that we should
> Angus> allow the user to DND anything. If we can't convert then that
> Angus> will come up when conversion is initiated, as now.
>
> But we need two different lfuns for LyX files and graphics, so we need
> some kind of test.
>
> Also, the semantics of dropping a LyX file is opening it (vs inserting
> it in current document). This is not the same as the semantics of
> dropping an image. Isn't this a problem UI-wise?
>
> >> I guess this could be used for external inset too.
>
> Angus> DND? Definitely. But that would require an extra dialog to
> Angus> enable LyX to ascertain whether the file is to become a
> Angus> graphics, external or include inset.
Can't you drop the file on the appropriate inset *inside* the lyx view?
- Martin
> OK, forget about it :)
>
> JMarc
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic