jfjoch_viewer: Merging simple and diffraction images - work in progress
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <QScrollBar>
|
||||
#include <QMenu>
|
||||
#include <cmath>
|
||||
#include <QMouseEvent>
|
||||
|
||||
// Constructor
|
||||
JFJochDiffractionImage::JFJochDiffractionImage(QWidget *parent) : JFJochImage(parent) {}
|
||||
@@ -483,12 +484,6 @@ void JFJochDiffractionImage::updateOverlay() {
|
||||
}
|
||||
}
|
||||
|
||||
void JFJochDiffractionImage::resizeEvent(QResizeEvent *event) {
|
||||
// Call the base class implementation first
|
||||
QGraphicsView::resizeEvent(event);
|
||||
updateOverlay();
|
||||
}
|
||||
|
||||
void JFJochDiffractionImage::Redraw() {
|
||||
if (!image) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user