jfjoch_viewer: ROI can be configured more flexibly
This commit is contained in:
@@ -31,6 +31,14 @@ JFJochViewerSidePanel::JFJochViewerSidePanel(QWidget *parent) : QWidget(parent)
|
||||
layout->addWidget(roi);
|
||||
connect(this, &JFJochViewerSidePanel::imageLoaded, roi, &JFJochViewerImageROIStatistics::loadImage);
|
||||
|
||||
connect(roi, &JFJochViewerImageROIStatistics::ROIBoxConfigured, [this] (QRect box) {
|
||||
emit ROIBoxConfigured(box);
|
||||
});
|
||||
|
||||
connect(roi, &JFJochViewerImageROIStatistics::ROICircleConfigured, [this] (double x, double y, double radius) {
|
||||
emit ROICircleConfigured(x, y, radius);
|
||||
});
|
||||
|
||||
layout->addWidget(new TitleLabel("Image features", this));
|
||||
|
||||
auto spotToggleCheckBox = new QCheckBox("Show spots", this);
|
||||
|
||||
Reference in New Issue
Block a user