330 lines
17 KiB
Python
330 lines
17 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
###########################################################################
|
|
## Python code generated with wxFormBuilder (version Jun 17 2015)
|
|
## http://www.wxformbuilder.org/
|
|
##
|
|
## PLEASE DO "NOT" EDIT THIS FILE!
|
|
###########################################################################
|
|
|
|
import wx
|
|
import wx.xrc
|
|
import wx.aui
|
|
|
|
###########################################################################
|
|
## Class BaseGUI
|
|
###########################################################################
|
|
|
|
class BaseGUI ( wx.Frame ):
|
|
|
|
def __init__( self, parent ):
|
|
wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.Size( 1700,1060 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL, name = u"Maloja Online Analysis" )
|
|
|
|
self.SetSizeHintsSz( wx.Size( 1700,-1 ), wx.DefaultSize )
|
|
self.m_mgr = wx.aui.AuiManager()
|
|
self.m_mgr.SetManagedWindow( self )
|
|
self.m_mgr.SetFlags(wx.aui.AUI_MGR_DEFAULT|wx.aui.AUI_MGR_LIVE_RESIZE)
|
|
|
|
self.m_statusBar1 = self.CreateStatusBar( 1, 0, wx.ID_ANY )
|
|
self.configuration_window = wx.ScrolledWindow( self, wx.ID_ANY, wx.DefaultPosition, wx.Size( 750,-1 ), wx.HSCROLL|wx.VSCROLL )
|
|
self.configuration_window.SetScrollRate( 5, 5 )
|
|
self.configuration_window.SetMinSize( wx.Size( 750,-1 ) )
|
|
|
|
self.m_mgr.AddPane( self.configuration_window, wx.aui.AuiPaneInfo() .Left() .Caption( u"Configuration window" ).CloseButton( False ).MaximizeButton( True ).MinimizeButton( True ).PinButton( True ).Gripper().Dock().Resizable().FloatingSize( wx.Size( 750,347 ) ).DockFixed( True ).BottomDockable( False ).TopDockable( False ).LeftDockable( False ).RightDockable( False ).Floatable( False ).MinSize( wx.Size( 750,300 ) ).Layer( 1 ) )
|
|
|
|
configuration_window_fgSizer = wx.FlexGridSizer( 12, 1, 10, 20 )
|
|
configuration_window_fgSizer.SetFlexibleDirection( wx.BOTH )
|
|
configuration_window_fgSizer.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_ALL )
|
|
|
|
self.configuration_window_title = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Detectors", wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTRE )
|
|
self.configuration_window_title.Wrap( -1 )
|
|
self.configuration_window_title.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
|
|
self.configuration_window_title.SetMinSize( wx.Size( 250,-1 ) )
|
|
|
|
configuration_window_fgSizer.Add( self.configuration_window_title, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALL|wx.EXPAND, 10 )
|
|
|
|
gSizer2 = wx.FlexGridSizer( 0, 3, 0, 0 )## Changed from gridsizer to flexgridsizer...
|
|
|
|
self.main_detector_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Main detector", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.main_detector_text.Wrap( -1 )
|
|
gSizer2.Add( self.main_detector_text, 0, wx.ALL, 5 )
|
|
|
|
main_detector_comboBoxChoices = []
|
|
self.main_detector_comboBox = wx.ComboBox( self.configuration_window, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, main_detector_comboBoxChoices, 0 )
|
|
self.main_detector_comboBox.SetToolTipString( u"Main signal" )
|
|
|
|
gSizer2.Add( self.main_detector_comboBox, 0, wx.ALL, 5 )
|
|
|
|
self.m_radioBtn1 = wx.RadioButton( self.configuration_window, wx.ID_ANY, u"RadioBtn", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.m_radioBtn1.Hide()
|
|
|
|
gSizer2.Add( self.m_radioBtn1, 0, wx.ALL, 5 )
|
|
|
|
self.I0_detector_text1 = wx.StaticText( self.configuration_window, wx.ID_ANY, u"I0 Detector 1", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.I0_detector_text1.Wrap( -1 )
|
|
gSizer2.Add( self.I0_detector_text1, 0, wx.ALL, 5 )
|
|
|
|
I01comboBoxChoices = []
|
|
self.I01comboBox = wx.ComboBox( self.configuration_window, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, I01comboBoxChoices, 0 )
|
|
self.I01comboBox.SetToolTip( u"Spectrum or detector for I0 normalization and filtering" )
|
|
|
|
gSizer2.Add( self.I01comboBox, 0, wx.ALL, 5 )
|
|
|
|
self.norm_I01_radio = wx.RadioButton( self.configuration_window, wx.ID_ANY, u"Normalize", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.norm_I01_radio.SetToolTip( u"Check if you want to normalize to this I0" )
|
|
|
|
gSizer2.Add( self.norm_I01_radio, 0, wx.ALL, 5 )
|
|
|
|
self.I0_detector_text2 = wx.StaticText( self.configuration_window, wx.ID_ANY, u"I0 Detector 2", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.I0_detector_text2.Wrap( -1 )
|
|
gSizer2.Add( self.I0_detector_text2, 0, wx.ALL, 5 )
|
|
|
|
I0combobox2Choices = []
|
|
self.I0combobox2 = wx.ComboBox( self.configuration_window, wx.ID_ANY, u"Combo!", wx.DefaultPosition, wx.DefaultSize, I0combobox2Choices, 0 )
|
|
self.I0combobox2.SetToolTip( u"Spectrum or detector for I0 normalization and filtering" )
|
|
|
|
gSizer2.Add( self.I0combobox2, 0, wx.ALL, 5 )
|
|
|
|
self.norm_I02_radio = wx.RadioButton( self.configuration_window, wx.ID_ANY, u"Normalize", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
gSizer2.Add( self.norm_I02_radio, 0, wx.ALL, 5 )
|
|
|
|
self.timing_scan_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Scaning variable (stage, chicane...)", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.timing_scan_text.Wrap( -1 )
|
|
gSizer2.Add( self.timing_scan_text, 0, wx.ALL, 5 )
|
|
|
|
timing_scanableChoices = []
|
|
self.timing_scanable = wx.ComboBox( self.configuration_window, wx.ID_ANY, u"Combo!", wx.DefaultPosition, wx.DefaultSize, timing_scanableChoices, 0 )
|
|
self.timing_scanable.SetToolTip( u"Variable you want to sort against" )
|
|
|
|
gSizer2.Add( self.timing_scanable, 0, wx.ALL, 5 )
|
|
|
|
self.scannable_unit_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"unit", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.scannable_unit_text.Wrap( -1 )
|
|
self.scannable_unit_text.SetToolTipString( u"Unit of the scan variable" )
|
|
|
|
gSizer2.Add( self.scannable_unit_text, 0, wx.ALL, 5 )
|
|
|
|
self.scannable_step_min = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Scannable threshold", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.scannable_step_min.Wrap( -1 )
|
|
gSizer2.Add( self.scannable_step_min, 0, wx.ALL, 5 )
|
|
|
|
self.scannable_threshold_txtctrl = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"0.1", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.scannable_threshold_txtctrl.SetToolTipString( u"Threshold value to consider a new step in the analysis. Ex. delay stage in mm use ~0.003mm, or current in chicane use 0.2 Amps" )
|
|
|
|
gSizer2.Add( self.scannable_threshold_txtctrl, 0, wx.ALL, 5 )
|
|
|
|
|
|
configuration_window_fgSizer.Add( gSizer2, 0, wx.ALIGN_LEFT, 5 )
|
|
|
|
self.m_staticline3 = wx.StaticLine( self.configuration_window, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
|
|
configuration_window_fgSizer.Add( self.m_staticline3, 1, wx.EXPAND |wx.ALL, 5 )
|
|
|
|
self.time_tool_configuration_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Timing Configuration", wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTRE|wx.ST_NO_AUTORESIZE )
|
|
self.time_tool_configuration_text.Wrap( -1 )
|
|
self.time_tool_configuration_text.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
|
|
self.time_tool_configuration_text.SetMinSize( wx.Size( 250,-1 ) )
|
|
|
|
configuration_window_fgSizer.Add( self.time_tool_configuration_text, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALL|wx.EXPAND, 5 )
|
|
|
|
gSizer6 = wx.GridSizer( 0, 2, 0, 0 )
|
|
|
|
self.time_tool_detector_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Time tool camera", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.time_tool_detector_text.Wrap( -1 )
|
|
gSizer6.Add( self.time_tool_detector_text, 0, wx.ALL, 5 )
|
|
|
|
time_tool_camera_comboBoxChoices = []
|
|
self.time_tool_camera_comboBox = wx.ComboBox( self.configuration_window, wx.ID_ANY, u"Combo!", wx.DefaultPosition, wx.DefaultSize, time_tool_camera_comboBoxChoices, 0 )
|
|
self.time_tool_camera_comboBox.SetToolTipString( u"Typically the PATT pco camera." )
|
|
|
|
gSizer6.Add( self.time_tool_camera_comboBox, 0, wx.ALL, 5 )
|
|
|
|
self.time_window_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Timing acceptable window in fs", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.time_window_text.Wrap( -1 )
|
|
gSizer6.Add( self.time_window_text, 0, wx.ALL, 5 )
|
|
|
|
self.time_jitter_window = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"20", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.time_jitter_window.SetMaxLength( 100 )
|
|
self.time_jitter_window.SetToolTipString( u"The scripts takes a mean of the first 100 shots of time tool transients and finds the mean of T0. What window in fs is acceptable to plot." )
|
|
|
|
gSizer6.Add( self.time_jitter_window, 0, wx.ALL, 5 )
|
|
|
|
self.smoothing_factor_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Smooth fac. (SavGol filt. poly=2)", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.smoothing_factor_text.Wrap( -1 )
|
|
gSizer6.Add( self.smoothing_factor_text, 0, wx.ALL, 5 )
|
|
|
|
self.smoothing_factor = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"17", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.smoothing_factor.SetToolTipString( u"Filter on the time tool transients. Look at the TT transients and decide if you need more." )
|
|
|
|
gSizer6.Add( self.smoothing_factor, 0, wx.ALL, 5 )
|
|
|
|
self.time_tool_correction_checkbox = wx.CheckBox( self.configuration_window, wx.ID_ANY, u"Enable time tool correction", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.time_tool_correction_checkbox.SetToolTipString( u"Enable time tool analysis. Without this, no smoothing, edge fitting and time tool traces are plotted." )
|
|
|
|
gSizer6.Add( self.time_tool_correction_checkbox, 0, wx.ALL, 5 )
|
|
|
|
|
|
configuration_window_fgSizer.Add( gSizer6, 1, wx.EXPAND, 5 )
|
|
|
|
self.m_staticline31 = wx.StaticLine( self.configuration_window, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
|
|
configuration_window_fgSizer.Add( self.m_staticline31, 0, wx.EXPAND |wx.ALL, 5 )
|
|
|
|
self.gui_scan_histogram_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Histogram based on scan", wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTRE|wx.ST_NO_AUTORESIZE )
|
|
self.gui_scan_histogram_text.Wrap( -1 )
|
|
self.gui_scan_histogram_text.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
|
|
self.gui_scan_histogram_text.SetMinSize( wx.Size( 250,-1 ) )
|
|
|
|
configuration_window_fgSizer.Add( self.gui_scan_histogram_text, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALL|wx.EXPAND, 5 )
|
|
|
|
|
|
gSizer4 = wx.FlexGridSizer( 0, 4, 0, 0 )
|
|
|
|
self.scan_start_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Scan start", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.scan_start_text.Wrap( -1 )
|
|
gSizer4.Add( self.scan_start_text, 0, wx.ALL, 5 )
|
|
|
|
self.scan_start_hist = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"-1", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
gSizer4.Add( self.scan_start_hist, 0, wx.ALL, 5 )
|
|
|
|
self.scan_end_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Scan end", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.scan_end_text.Wrap( -1 )
|
|
gSizer4.Add( self.scan_end_text, 0, wx.ALL, 5 )
|
|
|
|
self.scan_end_hist = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"3", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
gSizer4.Add( self.scan_end_hist, 0, wx.ALL, 5 )
|
|
|
|
self.time_step_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"step", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.time_step_text.Wrap( -1 )
|
|
gSizer4.Add( self.time_step_text, 0, wx.ALL, 5 )
|
|
|
|
self.time_step_hist = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"0.1", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
gSizer4.Add( self.time_step_hist, 0, wx.ALL, 5 )
|
|
|
|
|
|
self.histogram_checkbox_text = wx.CheckBox( self.configuration_window, wx.ID_ANY, u"Enable histogram", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
gSizer4.Add( self.histogram_checkbox_text, 0, wx.ALL, 5 )
|
|
|
|
self.histogram_background_checkbox_text = wx.CheckBox( self.configuration_window, wx.ID_ANY, u"Subtract background", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
gSizer4.Add( self.histogram_background_checkbox_text, 0, wx.ALL, 5 )
|
|
|
|
|
|
self.scan_bkg_start_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Background start", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.scan_bkg_start_text.Wrap( -1 )
|
|
gSizer4.Add( self.scan_bkg_start_text, 0, wx.ALL, 5 )
|
|
self.scan_bkg_start = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"-1", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
gSizer4.Add( self.scan_bkg_start, 0, wx.ALL, 5 )
|
|
|
|
self.scan_bkg_end_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Background end", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.scan_bkg_end_text.Wrap( -1 )
|
|
gSizer4.Add( self.scan_bkg_end_text, 0, wx.ALL, 5 )
|
|
self.scan_bkg_end = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"0", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
gSizer4.Add( self.scan_bkg_end, 0, wx.ALL, 5 )
|
|
|
|
|
|
|
|
|
|
configuration_window_fgSizer.Add( gSizer4, 1, wx.EXPAND, 5 )
|
|
|
|
self.m_staticline311 = wx.StaticLine( self.configuration_window, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
|
|
configuration_window_fgSizer.Add( self.m_staticline311, 0, wx.EXPAND |wx.ALL, 5 )
|
|
|
|
self.acquisition_configuration_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Acquisition Configuration", wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_CENTRE )
|
|
self.acquisition_configuration_text.Wrap( -1 )
|
|
self.acquisition_configuration_text.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
|
|
self.acquisition_configuration_text.SetMinSize( wx.Size( 250,-1 ) )
|
|
|
|
configuration_window_fgSizer.Add( self.acquisition_configuration_text, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALL|wx.EXPAND, 5 )
|
|
|
|
bSizer71 = wx.BoxSizer( wx.VERTICAL )
|
|
|
|
gSizer1 = wx.GridSizer( 0, 2, 0, 0 )
|
|
|
|
self.shots_to_process_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"No. shots/update", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.shots_to_process_text.Wrap( -1 )
|
|
gSizer1.Add( self.shots_to_process_text, 0, wx.ALL, 5 )
|
|
|
|
self.nshots = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"10", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.nshots.SetMaxLength( 4 )
|
|
gSizer1.Add( self.nshots, 0, wx.ALL, 5 )
|
|
|
|
self.queue_length_text = wx.StaticText( self.configuration_window, wx.ID_ANY, u"Queue Length", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.queue_length_text.Wrap( -1 )
|
|
gSizer1.Add( self.queue_length_text, 0, wx.ALL, 5 )
|
|
|
|
self.queue_length = wx.TextCtrl( self.configuration_window, wx.ID_ANY, u"80", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.queue_length.SetMaxLength( 4 )
|
|
gSizer1.Add( self.queue_length, 0, wx.ALL, 5 )
|
|
|
|
|
|
bSizer71.Add( gSizer1, 1, wx.EXPAND, 5 )
|
|
|
|
bSizer112 = wx.BoxSizer( wx.VERTICAL )
|
|
|
|
self.update_btn = wx.Button( self.configuration_window, wx.ID_ANY, u"Configure/Update", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.update_btn.SetMinSize( wx.Size( 250,-1 ) )
|
|
|
|
bSizer112.Add( self.update_btn, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALL, 5 )
|
|
|
|
self.pause_btn = wx.Button( self.configuration_window, wx.ID_ANY, u"Pause", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.pause_btn.SetMinSize( wx.Size( 250,-1 ) )
|
|
|
|
bSizer112.Add( self.pause_btn, 0, wx.ALIGN_CENTER_HORIZONTAL|wx.ALL, 5 )
|
|
|
|
self.start_btn = wx.Button( self.configuration_window, wx.ID_ANY, u"Start Analysis", wx.DefaultPosition, wx.DefaultSize, 0 )
|
|
self.start_btn.SetMinSize( wx.Size( 250,-1 ) )
|
|
|
|
bSizer112.Add( self.start_btn, 0, wx.ALIGN_CENTER|wx.ALL, 5 )
|
|
|
|
|
|
bSizer71.Add( bSizer112, 1, wx.EXPAND, 5 )
|
|
|
|
|
|
configuration_window_fgSizer.Add( bSizer71, 1, wx.EXPAND, 5 )
|
|
|
|
|
|
self.configuration_window.SetSizer( configuration_window_fgSizer )
|
|
self.configuration_window.Layout()
|
|
self.m_scrolledWindow4 = wx.ScrolledWindow( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.HSCROLL|wx.VSCROLL )
|
|
self.m_scrolledWindow4.SetScrollRate( 5, 5 )
|
|
self.m_mgr.AddPane( self.m_scrolledWindow4, wx.aui.AuiPaneInfo() .Left() .CloseButton( False ).MaximizeButton( True ).MinimizeButton( True ).PinButton( True ).Gripper().Dock().Resizable().FloatingSize( wx.DefaultSize ).MinSize( wx.Size( 1500,-1 ) ) )
|
|
|
|
|
|
|
|
self.visualizationSizer = wx.GridSizer(2,0,0,0)
|
|
|
|
|
|
self.configSizer = wx.FlexGridSizer( 4, 4, 0, 0 )
|
|
self.configSizer.SetFlexibleDirection( wx.BOTH )
|
|
self.configSizer.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
|
|
|
|
self.visualizationSizer.Add(self.configSizer)
|
|
|
|
self.processingSizer = wx.FlexGridSizer( 4, 4, 0, 0 )
|
|
self.processingSizer.SetFlexibleDirection( wx.BOTH )
|
|
self.processingSizer.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
|
|
|
|
self.visualizationSizer.Add(self.processingSizer)
|
|
|
|
self.m_scrolledWindow4.SetSizer( self.visualizationSizer )
|
|
self.m_scrolledWindow4.Layout()
|
|
self.visualizationSizer.Fit( self.m_scrolledWindow4 )
|
|
self.m_scrolledWindow4.Layout()
|
|
|
|
|
|
# self.fgSizer2 = wx.FlexGridSizer( 4, 4, 0, 0 )
|
|
# self.fgSizer2.SetFlexibleDirection( wx.BOTH )
|
|
# self.fgSizer2.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
|
|
|
|
|
|
# self.m_scrolledWindow4.SetSizer( self.fgSizer2 )
|
|
# self.m_scrolledWindow4.Layout()
|
|
# self.fgSizer2.Fit( self.m_scrolledWindow4 )
|
|
|
|
self.m_mgr.Update()
|
|
self.Centre( wx.BOTH )
|
|
|
|
def __del__( self ):
|
|
self.m_mgr.UnInit()
|
|
|
|
|
|
|