Skip to content
Snippets Groups Projects
Commit efd7d9a5 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

TimeSeries/Histogram control panels put plot-specific settings into

their own group
parent 94f5f898
No related branches found
No related tags found
No related merge requests found
......@@ -213,8 +213,11 @@ labels = TypeDict({
'PlotPanel.xlabel' : 'X',
'PlotPanel.ylabel' : 'Y',
'TimeSeriesControlPanel.currentSettings' : 'Settings for current '
'voxel time course',
'HistogramControlPanel.histSettings' : 'Histogram plot settings',
'TimeSeriesControlPanel.tsSettings' : 'Time series plot settings',
'TimeSeriesControlPanel.currentSettings' : 'Settings for current '
'voxel time course',
'TimeSeriesControlPanel.currentFEATSettings' : 'FEAT settings for '
'selected overlay ({})',
......
......@@ -38,10 +38,14 @@ class HistogramControlPanel(fslpanel.FSLViewPanel):
'grid',
'autoScale']
self.__widgets.AddGroup(
'histSettings', strings.labels[self, 'histSettings'])
for prop in histProps:
self.__widgets.AddWidget(
props.makeWidget(self.__widgets, hsPanel, prop),
displayName=strings.properties[hsPanel, prop])
displayName=strings.properties[hsPanel, prop],
groupName='histSettings')
self.__widgets.AddGroup(
'plotSettings',
......
......@@ -38,10 +38,15 @@ class TimeSeriesControlPanel(fslpanel.FSLViewPanel):
'grid',
'autoScale']
self.__widgets.AddGroup(
'tsSettings',
strings.labels[self, 'tsSettings'])
for prop in tsProps:
self.__widgets.AddWidget(
props.makeWidget(self.__widgets, tsPanel, prop),
displayName=strings.properties[tsPanel, prop])
displayName=strings.properties[tsPanel, prop],
groupName='tsSettings')
self.__widgets.AddGroup(
'plotSettings',
......
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