// -*- C++ -*-
/**
* \file QLImage.h
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Angus Leeming, a.leeming@ic.ac.uk
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author Angus Leeming
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
*/
#ifndef QLIMAGE_H
#endif
#include "graphics/GraphicsImage.h"
-
+
#include <qpixmap.h>
-
+
namespace grfx {
-class QLImage : public Image
-{
+class QLImage : public Image {
public:
/// Access to this class is through this static method.
static ImagePtr newImage();
/// Create a copy
virtual Image * clone() const;
- /// FIXME
- virtual Pixmap getPixmap() const;
-
QPixmap const & qpixmap() const { return xformed_pixmap_; }
/// Get the image width
/// Get the image height
virtual unsigned int getHeight() const;
- /**
+ // FIXME
+ virtual bool isDrawable() const { return true; }
+
+ /**
* Load the image file into memory.
* The process is asynchronous, so this method starts the loading.
* When finished, the Image::finishedLoading signal is emitted.
/// Scale the image using params.
virtual void scale(Params const & params);
-
private:
/// Access to the class is through newImage() and clone.
QLImage();