163 |
163 |
164 self.SetSizer(main_sizer) |
164 self.SetSizer(main_sizer) |
165 |
165 |
166 self.Table = ActionTable(self, [], GetActionTableColnames()) |
166 self.Table = ActionTable(self, [], GetActionTableColnames()) |
167 typelist = GetTypeList() |
167 typelist = GetTypeList() |
168 self.TypeList = ",".join(map(_,typelist)) |
168 self.TypeList = ",".join(map(_, typelist)) |
169 self.TranslateType = dict([(_(value), value) for value in typelist]) |
169 self.TranslateType = dict([(_(value), value) for value in typelist]) |
170 self.ColSizes = [60, 90, 130, 200, 50] |
170 self.ColSizes = [60, 90, 130, 200, 50] |
171 self.ColAlignements = [wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT] |
171 self.ColAlignements = [wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT, wx.ALIGN_LEFT] |
172 |
172 |
173 self.ActionsGrid.SetTable(self.Table) |
173 self.ActionsGrid.SetTable(self.Table) |