36 |
for range in self.clinfo.ranges: |
for range in self.clinfo.ranges: |
37 |
self.tdata.append([range[2], '%s-%s' % range[0], range[1]]) |
self.tdata.append([range[2], '%s-%s' % range[0], range[1]]) |
38 |
|
|
39 |
self.SetColLabelValue(1, "Data Values") |
self.SetColLabelValue(1, _("Data Values")) |
40 |
|
|
41 |
def GetNumberRows(self): |
def GetNumberRows(self): |
42 |
return len(self.tdata) |
return len(self.tdata) |
92 |
|
|
93 |
table = ClassTable(layer.classification) |
table = ClassTable(layer.classification) |
94 |
self.classTable.SetTable(table, true) |
self.classTable.SetTable(table, true) |
|
<<<<<<< classifier.py |
|
95 |
|
|
96 |
topBox.Add(self.classTable, 0, wxGROW, 0) |
topBox.Add(self.classTable, 0, wxGROW, 0) |
|
======= |
|
|
#table.SetNumberRows(10) |
|
|
#table.SetNumberCols(2) |
|
|
table.SetColLabelValue(0, _("Class")) |
|
|
table.SetColLabelValue(1, _("Value")) |
|
|
#self.classTable.SetColLabelValue(0, _("Class")) |
|
|
#self.classTable.SetColLabelValue(1, _("Value")) |
|
|
#self.classTable.SetCellValue(1, 1, _("Value")) |
|
|
|
|
|
tableBox.Add(self.classTable, 0, wxALL, 4) |
|
|
|
|
|
topBox.Add(self.classTable, 0, 0) |
|
|
>>>>>>> 1.2 |
|
97 |
|
|
98 |
# |
# |
99 |
# Control buttons: |
# Control buttons: |