예제 #1
0
 def __init__(self, arg, dire):
     super(RegIns, self).__init__(arg)
     self.dir = dire
     self.db = conector.Conector(self.dir)
     self.msg = Mensage.Msg(self.dir)
     self.buscare = buscar.buscarEst(self, self.dir)
     with open('%s/css/stylesAsis.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.myLine()
     self.myButton()
     self.loadInstructor()
     self.position()
예제 #2
0
 def __init__(self, parent, dire):
     super(mesEstu, self).__init__(parent)
     self.dir = dire
     self.msg = Mensage.Msg(self.dir)
     self.db = conector.Conector(self.dir)
     self.buscare = buscar.buscarEst(self, self.dir)
     self.buscare.mostrar.clicked.connect(self.colocarEst)
     with open('%s/css/stylesAsis.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.texto()
     self.myLine()
     self.botones()
     self.position()
예제 #3
0
 def __init__(self, arg,dire):
     super(ClubExamen, self).__init__(arg)
     self.dir=dire
     self.nombreExamen=''
     with open('%s/css/stylesAsis.css'%self.dir) as f:
         self.setStyleSheet(f.read())
     self.setGeometry(0,0,1050,670)
     self.setWindowTitle("Lista de Estudiantes Para el Examen Club")
     self.buscare=buscar.buscarEst(self,self.dir)
     self.buscare.mostrar.clicked.connect(self.agregarLista)
     self.msg=Mensage.Msg(self.dir)
     self.db=conector.Conector(self.dir)
     self.myElemeto()
     self.myButon()
     self.position()
예제 #4
0
	def __init__(self,arg,dire):
		super(RegistraAsis, self).__init__(arg)
		self.diccionario={'Monday':'Lunes','Tuesday':'Martes','Wednesday':'Miercoles',
		'Thursday':'Jueves','Friday':'Viernes','Saturday':'Sabado','Sunday':'Domingo',
		'January':'Enero','February':'Febrero','March':'Marzo','April':'Abril','May':'Mayo',
		'June':'Junio','July':'Julio','August':'Agosto','September':'Septiembre',
		'October':'Octubre','November':'Noviembre','December':'Diciembre'}
		self.dir=dire
		self.msg=Mensage.Msg(self.dir)
		self.db=conector.Conector(self.dir)
		self.option=optionTabla.OptionTabla(self.dir)
		self.buscare=buscar.buscarEst(self,self.dir)
		self.buscare.mostrar.clicked.connect(self.actualiza)
		self.setGeometry(0,0,1050,670)
		self.setWindowTitle("Control de Asistencia")
		self.myLabel()
		self.myButton()
		with open('%s/css/stylesAsis.css'%self.dir) as f:
			self.setStyleSheet(f.read())
		self.position()
예제 #5
0
 def __init__(self, parent, dire, ide):
     super(formR, self).__init__(parent)
     self.persona = ide
     self.dir = dire
     self.dirBr = ""
     self.dirQr = ""
     self.dirFoto = ""
     self.db = conector.Conector(self.dir)
     self.msg = Mensage.Msg(self.dir)
     self.verf = verhoeff.verhoeff()
     self.b64 = Base64SIN.base64sin()
     with open('%s/css/stylesMenu.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.buscare = buscar.buscarEst(self, self.dir)
     #self.buscare.clicked.connect(self.actualizar)
     self.timer = QTimer(self)
     self.texto()
     self.inTex()
     self.botones()
     self.position()