MCPcopy Create free account
hub / github.com/KDE/labplot / setImage

Method setImage

src/backend/datapicker/DatapickerImage.cpp:315–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313// -> storing qimage is important because otherwise if undo and path is anymore valid image is anymore available
314
315void DatapickerImage::setImage(const QString& fileName, bool embedded) {
316 return setImage(QImage(), fileName, embedded);
317}
318
319void DatapickerImage::setImage(const QImage& image, const QString& filename, bool embedded) {
320 Q_D(DatapickerImage);

Callers 8

fileNameChangedMethod · 0.80
exportToFileMethod · 0.80
exportToClipboardMethod · 0.80
keyPressEventMethod · 0.80
finalizeMethod · 0.80
datapickerDateTimeMethod · 0.80

Calls 1

QImageClass · 0.70