Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WidgetViewport.cpp @ 330:7a364e44fbb4 am-2
renamed SetDefaultView in FitContent
author | am@osimis.io |
---|---|
date | Wed, 17 Oct 2018 12:45:52 +0200 |
parents | 8716176ff7f0 |
children | 557c8ff1db5c |
comparison
equal
deleted
inserted
replaced
329:b10dfdb96866 | 330:7a364e44fbb4 |
---|---|
34 backgroundChanged_(false) | 34 backgroundChanged_(false) |
35 { | 35 { |
36 } | 36 } |
37 | 37 |
38 | 38 |
39 void WidgetViewport::SetDefaultView() | 39 void WidgetViewport::FitContent() |
40 { | 40 { |
41 if (centralWidget_.get() != NULL) | 41 if (centralWidget_.get() != NULL) |
42 { | 42 { |
43 centralWidget_->SetDefaultView(); | 43 centralWidget_->FitContent(); |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
47 | 47 |
48 void WidgetViewport::SetStatusBar(IStatusBar& statusBar) | 48 void WidgetViewport::SetStatusBar(IStatusBar& statusBar) |