Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyWidget.cpp @ 1112:d33ae2b0db9d
less logs + allow changing the size of the RadiographyLayer (to replace a low res image by a high res image)
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 04 Nov 2019 12:46:53 +0100 |
parents | be9c1530d40a |
children | 383aa2a7d426 4663f158c748 |
comparison
equal
deleted
inserted
replaced
1094:dead648f8ff1 | 1112:d33ae2b0db9d |
---|---|
238 } | 238 } |
239 | 239 |
240 | 240 |
241 void RadiographyWidget::OnGeometryChanged(const RadiographyScene::GeometryChangedMessage& message) | 241 void RadiographyWidget::OnGeometryChanged(const RadiographyScene::GeometryChangedMessage& message) |
242 { | 242 { |
243 LOG(INFO) << "Scene geometry has changed"; | 243 // LOG(INFO) << "Scene geometry has changed"; |
244 | |
245 FitContent(); | 244 FitContent(); |
246 } | 245 } |
247 | 246 |
248 | 247 |
249 void RadiographyWidget::OnContentChanged(const RadiographyScene::ContentChangedMessage& message) | 248 void RadiographyWidget::OnContentChanged(const RadiographyScene::ContentChangedMessage& message) |
250 { | 249 { |
251 LOG(INFO) << "Scene content has changed"; | 250 // LOG(INFO) << "Scene content has changed"; |
252 NotifyContentChanged(); | 251 NotifyContentChanged(); |
253 } | 252 } |
254 | 253 |
255 | 254 |
256 void RadiographyWidget::SetInvert(bool invert) | 255 void RadiographyWidget::SetInvert(bool invert) |