def __init__(self, *args, **kwargs):
super(Panel, self).__init__(*args, **kwargs)
nb = wx.Notebook(self)
self.version_panel = _LASSectionPanel(nb)
self.well_panel = _LASSectionPanel(nb)
self.curve_panel = _LASSectionPanel(nb)
self.parameter_panel = _LASSectionPanel(nb)
other_panel = wx.Panel(nb)
self.other_textctrl = wx.TextCtrl(other_panel, -1,
style=wx.TE_MULTILINE)
box = wx.BoxSizer()
box.Add(self.other_textctrl, 1, wx.EXPAND)
other_panel.SetSizer(box)
nb.AddPage(self.version_panel, "~VERSION INFORMATION")
nb.AddPage(self.well_panel, "~WELL INFORMATION")
nb.AddPage(self.curve_panel, "~CURVE INFORMATION")
nb.AddPage(self.parameter_panel, "~PARAMETER INFORMATION")
nb.AddPage(other_panel, "~OTHER INFORMATION")
sizer = wx.BoxSizer()
sizer.Add(nb, 1, wx.EXPAND)
self.SetSizer(sizer)
评论列表
文章目录