def __init__(self, gw, dataitem, cellspec={}, default_open=None, **opts): browsers.GriddedPlugin.__init__(self, gw, dataitem, cellspec=cellspec) self._wedit = TDLEditor(self.wparent()) self.set_widgets(self.wtop(), dataitem.caption, icon=self.icon()) if dataitem.data is not None: self.set_data(dataitem) QObject.connect(self.wtop(), PYSIGNAL("fontChanged()"), self.wtop().adjust_editor_font)