javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h
changeset 61 bf7ee68962da
parent 48 e0d6e9bd3ca7
child 80 d6dafc5d983f
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h	Tue Jul 06 14:10:26 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/graphics.h	Wed Aug 18 09:43:15 2010 +0300
@@ -1675,6 +1675,13 @@
     static Image* createImage(const QImage& aImage);
 
     /**
+     * Create image from a QPixmap.
+     * 
+     * @param aImage The source QPixmap
+     */
+    static Image* createImage(const QPixmap& aPixmap);
+
+    /**
      * Creates an image based on the given ARGB data array.
      * @param aRgbData ARGB data array. One pixel is specified as 0xAARRGGBB.
      * @param aWidth Image width