version 2.4.0
ImageView now optionally save QImage when setImage() piqt many stream operatorsand new helpers: * qSerialize * qDeserialize * piqSerialize * piqDeserialize
This commit is contained in:
@@ -33,7 +33,7 @@ public:
|
||||
ImageView(QWidget * parent = 0);
|
||||
~ImageView();
|
||||
|
||||
void setImage(const QImage & i);
|
||||
void setImage(const QImage & i, bool save = true);
|
||||
void setImage(const QByteArray & i);
|
||||
QByteArray image() const {return im_data;}
|
||||
QPixmap pixmap() const;
|
||||
|
||||
Reference in New Issue
Block a user