コード例 #1
0
 def carregarDisciplinas(self):
     disc = Disciplina()
     prof = Professor()
     self.listDisc = disc.listaDb()
     self.listDiscBox = []
     for i in self.listDisc:
         prof.carregar(i[1])
         self.listDiscBox += [str(i[0]) + ' - ' + str(prof.getNome())]
     self.listaDisciplinasTodas.Set(self.listDiscBox)
コード例 #2
0
 def carregarDisciplinas(self):
     disc = Disciplina()
     prof = Professor()
     self.listDisc = disc.listaDb()
     self.listDiscBox = []
     for i in self.listDisc:
         prof.carregar(i[1])
         self.listDiscBox += [str(i[0]) + ' - ' + str(prof.getNome())]
     self.listaDisciplinasTodas.Set(self.listDiscBox)
コード例 #3
0
 def carregarDisc(self):
     disc = Disciplina()
     prof = Professor()
     self.listDisc = disc.listaDb()
     listDiscBox = []
     self.listDiscId = []
     for i in self.listDisc:
         prof.carregar(i[1])
         listDiscBox += [str(i[0]) + ' - ' + str(prof.getNome())]
     self.discListBox.Set(listDiscBox)