jfjoch_viewer: Update status bar from JFJochAzintImageView
This commit is contained in:
@@ -116,6 +116,10 @@ JFJochViewerSidePanel::JFJochViewerSidePanel(QWidget *parent) : QWidget(parent)
|
||||
|
||||
connect(this, &JFJochViewerSidePanel::imageLoaded,
|
||||
chart, &JFJochViewerSidePanelChart::loadImage);
|
||||
connect(chart, &JFJochViewerSidePanelChart::writeStatusBar,
|
||||
[&] (QString string, int timeout_ms) {
|
||||
emit writeStatusBar(string, timeout_ms);
|
||||
});
|
||||
|
||||
layout->addWidget(new TitleLabel("ROI", this));
|
||||
|
||||
@@ -317,3 +321,7 @@ void JFJochViewerSidePanel::SetROIBox(QRect box) {
|
||||
void JFJochViewerSidePanel::SetROICircle(double x, double y, double radius) {
|
||||
roi->SetROICircle(x, y, radius);
|
||||
}
|
||||
|
||||
void JFJochViewerSidePanel::setColorMap(int color_map) {
|
||||
chart->setColorMap(color_map);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user