def __init__(self, *args, **kwargs):
super(Panel, self).__init__(*args, **kwargs)
self._OM = ObjectManager(self)
self.xselector = wx.Choice(self)
self.yselector = wx.Choice(self)
self.zselector = wx.Choice(self)
self.wselector = wx.Choice(self)
gridsizer = wx.FlexGridSizer(rows=4, cols=2, hgap=5, vgap=5)
gridsizer.Add(wx.StaticText(self, label="Eixo x: "), 0, wx.ALIGN_RIGHT)
gridsizer.Add(self.xselector, 1, wx.EXPAND)
gridsizer.Add(wx.StaticText(self, label="Eixo y: "), 0, wx.ALIGN_RIGHT)
gridsizer.Add(self.yselector, 1, wx.EXPAND)
gridsizer.Add(wx.StaticText(self, label="Barra de cor: "), 0, wx.ALIGN_RIGHT)
gridsizer.Add(self.zselector, 1, wx.EXPAND)
gridsizer.Add(wx.StaticText(self, label="Particionamento: "), 0, wx.ALIGN_RIGHT)
gridsizer.Add(self.wselector, 1, wx.EXPAND)
self.SetSizer(gridsizer)
self.xmap = []
self.ixmap = {}
self.ymap = []
self.iymap = {}
self.zmap = []
self.izmap = {}
self.wmap = []
self.iwmap = {}
self.welluid = None
评论列表
文章目录