def __init__(self, parent, nombre, datos): ElementoWidgetOpciones.__init__(self) QHGroupBox.__init__(self, parent, "Texto") self.setTitle(nombre) self.nombre = nombre from Driza.iuqt3.widgetsqt import WidgetListaComboBoxVars self.variables = WidgetListaComboBoxVars(self, datos, factores=False) #Por defecto sin factores
def __init__(self, parent, nombre, texto): ElementoWidgetOpciones.__init__(self) QHGroupBox.__init__(self, parent, "Texto") self.setTitle(nombre) self.label = QLabel(texto, self)