Skip to content
Snippets Groups Projects
Commit d5269de5 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: add methods for changing the label of each group

parent 5f68d2cc
No related branches found
No related tags found
No related merge requests found
......@@ -157,6 +157,20 @@ PackedWidgetManager
m_PackedWidget->m_ZoomGroup->label(label);
}
void
PackedWidgetManager
::SetLabelHistogramWidget(const char * label)
{
m_PackedWidget->m_HistogramsGroup->label(label);
}
void
PackedWidgetManager
::SetLabelPixelDescriptionWidget(const char * label)
{
m_PackedWidget->m_PixelDescriptionGroup->label(label);
}
int
PackedWidgetManager
::Shown()
......
......@@ -63,6 +63,8 @@ public:
virtual void SetLabelScrollWidget(const char * label);
virtual void SetLabelFullWidget(const char * label);
virtual void SetLabelZoomWidget(const char * label);
virtual void SetLabelHistogramWidget(const char * label);
virtual void SetLabelPixelDescriptionWidget(const char * label);
virtual int Shown();
virtual void SetResizable(bool resize);
......
......@@ -185,6 +185,20 @@ SplittedWidgetManager
m_SplittedWidget->m_ZoomGroup->label(label);
}
void
SplittedWidgetManager
::SetLabelHistogramWidget(const char * label)
{
m_SplittedWidget->m_HistogramsGroup->label(label);
}
void
SplittedWidgetManager
::SetLabelPixelDescriptionWidget(const char * label)
{
m_SplittedWidget->m_PixelDescriptionGroup->label(label);
}
int
SplittedWidgetManager
::ZoomWidgetShown()
......@@ -199,6 +213,7 @@ SplittedWidgetManager
return m_SplittedWidget->m_FullGroup->shown();
}
void
SplittedWidgetManager
::SetResizable(bool resize)
......
......@@ -61,6 +61,8 @@ public:
virtual void SetLabelScrollWidget(const char * label);
virtual void SetLabelFullWidget(const char * label);
virtual void SetLabelZoomWidget(const char * label);
virtual void SetLabelHistogramWidget(const char * label);
virtual void SetLabelPixelDescriptionWidget(const char * label);
virtual int ZoomWidgetShown();
virtual int FullWidgetShown();
virtual void SetResizable(bool resize);
......
......@@ -62,6 +62,8 @@ public:
virtual void SetLabelScrollWidget(const char * label) = 0;
virtual void SetLabelFullWidget(const char * label) = 0;
virtual void SetLabelZoomWidget(const char * label) = 0;
virtual void SetLabelHistogramWidget(const char * label) = 0;
virtual void SetLabelPixelDescriptionWidget(const char * label) = 0;
virtual void SetResizable(bool resize) = 0;
protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment