def __init__(self, parent): self._init_ctrls(parent) self.retcode= False self.Edo = None LlenaAyuda(self, u'DlgLocalidad') if cnf.OSlinux: module2.choiceFix(self, __name__)
def __init__(self, parent): self._init_ctrls(parent) LlenaNombres(self) GenericPermissions() self.nombreValido = re.compile('[a-z][a-z0-9]*') self.passValida = re.compile('[a-z][a-z0-9]*', re.IGNORECASE) if cnf.OSlinux: module2.choiceFix(self, __name__)
def __init__(self, parent, ObjetoQuery): self._init_ctrls(parent) self.MakeModal(True) self.FN.Layout() self.ObjetoQuery = ObjetoQuery self.condiciones=ObjetoQuery.MisCondiciones for i in self.condiciones: self.listConds.Append(str(i)) self.ListaDeCampos= [(i, i[2] ) for i in ObjetoQuery.campos] LlenaCtrl3(self.ctrlCampo, [(i, i[2] ) for i in ObjetoQuery.campos]) L.OperadorO = FiltroO() L.OperadorY = FiltroY() LlenaAyuda(self, u'frameBusqueda') if cnf.OSlinux: module2.choiceFix(self, __name__)
def __init__(self, parent): #------------------------------------------------------------------------------- self._init_ctrls(parent) viewers = [(OpenBrowser,'Navegador'),(OpenWord,'Word'),(OpenExcel,'Excel'), (OpenOpenWriter,'OpenOffice writer'), (OpenOpenCalc,'OpenOffice calc') ] LlenaCtrl3(self.comboBoxAbrircon, viewers, selected=OpenBrowser) self.comboBoxAbrircon.SetSelection(1) self.view = OpenBrowser self.filename='salida' self.textCtrlFilename.SetValue(self.filename) nombre = 'bin%sdoc.gif'%status.slash self.printconfigCaso=None self.printconfigCasoVisible=None self.printconfigPersona=None if (status.filtroCaso and status.filtroCaso.FiltroActivo() ) or \ (status.filtroPersona and status.filtroPersona.FiltroActivo('Persona')): self.chkAplicarseleccion.SetValue(True) self.chkAplicarseleccion.Show() self.lblAplicarseleccion.Show() else: self.chkAplicarseleccion.SetValue(False) self.chkAplicarseleccion.Show(False) self.lblAplicarseleccion.Show(False) self.LoadDataPrintCfg() CtrlSelect(self.choicePrintCfg,status.Reporte_con_todos_los_campos) LlenaAyuda(self, u'frameRep5') CamposSololectura(self, camposEntidad['reportes'], CanEdit(status.casoActual)) # se cancelan las opciones de impresion LimpiarOpciones(self) # if cnf.OSlinux: module2.choiceFix(self, __name__)
def __init__(self, parent): self._init_ctrls(parent) self.guardar = False LlenaAyuda(self, u'Direcciones') if cnf.OSlinux: module2.choiceFix(self, __name__)
def __init__(self, parent): self._init_ctrls(parent) LoadData(self) if cnf.OSlinux: module2.choiceFix(self, __name__)