If I declare a pointer to a QImage I can do this:
//and later..
QImage *myImage;
//and later..
myImage = new QImage(800,800,QImage::Format_ARGB32)
To copy to clipboard, switch view to plain text mode
And if I declare a QImage with the default constructor, it will give me a null QImage and I can do this:
//and later
myImage.load(file);
QImage myImage;
//and later
myImage.load(file);
To copy to clipboard, switch view to plain text mode
Is there any way to declare a QImage and later set it up as 800,800,QImage::Format_ARGB32 ?
Bookmarks