/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/classgen.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/classgen.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1566 by bh, Fri Aug 8 13:01:30 2003 UTC revision 2191 by jan, Thu Apr 22 15:45:01 2004 UTC
# Line 1  Line 1 
1  # Copyright (c) 2003 by Intevation GmbH  # Copyright (c) 2003, 2004 by Intevation GmbH
2  # Authors:  # Authors:
3  # Jonathan Coles <[email protected]>  # Jonathan Coles <[email protected]>
4  #  #
# Line 644  class GenUniquePanel(wxPanel): Line 644  class GenUniquePanel(wxPanel):
644          psizer = wxBoxSizer(wxVERTICAL)          psizer = wxBoxSizer(wxVERTICAL)
645          self.list_avail = wxListCtrl(self, -1,          self.list_avail = wxListCtrl(self, -1,
646                          style=wxLC_REPORT | wxLC_SINGLE_SEL)                          style=wxLC_REPORT | wxLC_SINGLE_SEL)
647          self.list_avail.InsertColumn(0, "Available")          self.list_avail.InsertColumn(0, _("Available"))
648          self.list_avail_data = []          self.list_avail_data = []
649          psizer.Add(self.list_avail, 1, wxGROW, 0)          psizer.Add(self.list_avail, 1, wxGROW, 0)
650    
# Line 684  class GenUniquePanel(wxPanel): Line 684  class GenUniquePanel(wxPanel):
684          psizer = wxBoxSizer(wxVERTICAL)          psizer = wxBoxSizer(wxVERTICAL)
685          self.list_use = wxListCtrl(self, -1,          self.list_use = wxListCtrl(self, -1,
686                          style=wxLC_REPORT | wxLC_SINGLE_SEL)                          style=wxLC_REPORT | wxLC_SINGLE_SEL)
687          self.list_use.InsertColumn(0, "Use")          self.list_use.InsertColumn(0, _("Use"))
688          self.list_use_data = []          self.list_use_data = []
689          psizer.Add(self.list_use, 1, wxGROW, 0)          psizer.Add(self.list_use, 1, wxGROW, 0)
690    
# Line 878  class GenQuantilesPanel(wxPanel): Line 878  class GenQuantilesPanel(wxPanel):
878                  # has been written to get all the values                  # has been written to get all the values
879                  #                  #
880                  for i in range(table.NumRows()):                  for i in range(table.NumRows()):
881                      _list.append(table.ReadValue(i, self.fieldName))                      _list.append(table.ReadValue(i, self.fieldName,
882                                                     row_is_ordinal = True))
883              finally:              finally:
884                  ThubanEndBusyCursor()                  ThubanEndBusyCursor()
885    

Legend:
Removed from v.1566  
changed lines
  Added in v.2191

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26