From 6317041a4165233310f008f95ad94388fc3fc7f5 Mon Sep 17 00:00:00 2001 From: Otmane Lahlou <otmane.lahlou@c-s.fr> Date: Fri, 22 Jun 2012 18:32:01 +0200 Subject: [PATCH] ENH: add shown method --- Code/Visualization/otbPackedWidgetManager.cxx | 7 +++++++ Code/Visualization/otbPackedWidgetManager.h | 1 + 2 files changed, 8 insertions(+) diff --git a/Code/Visualization/otbPackedWidgetManager.cxx b/Code/Visualization/otbPackedWidgetManager.cxx index da7220ef3f..88d62f45d4 100644 --- a/Code/Visualization/otbPackedWidgetManager.cxx +++ b/Code/Visualization/otbPackedWidgetManager.cxx @@ -157,4 +157,11 @@ PackedWidgetManager m_PackedWidget->m_ZoomGroup->label(label); } +int +PackedWidgetManager +::Shown() +{ + m_PackedWidget->m_Window->shown(); +} + } diff --git a/Code/Visualization/otbPackedWidgetManager.h b/Code/Visualization/otbPackedWidgetManager.h index 33b795f2ff..4900fa9779 100644 --- a/Code/Visualization/otbPackedWidgetManager.h +++ b/Code/Visualization/otbPackedWidgetManager.h @@ -63,6 +63,7 @@ public: virtual void SetLabelScrollWidget(const char * label); virtual void SetLabelFullWidget(const char * label); virtual void SetLabelZoomWidget(const char * label); + virtual int Shown(); protected: /** Constructor */ -- GitLab