def __init__(self, app, parent, doc): KTextBrowser.__init__(self, parent) self.setMimeSourceFactory(MimeSources()) self.app = app self.db = app.db self.doc = doc(self.app) self.setNotifyClick(True)
def __init__(self, parent=None): KTextBrowser.__init__(self, parent, None, True) self.setTextFormat(Qt.RichText) self.setFont(QFont("Sans", 9)) def runAction(url): from lilykde import actions actions.runAction(url) QObject.connect(self, SIGNAL("urlClick(const QString&)"), runAction)
def __init__(self, parent, name='BaseLogBrowser'): KTextBrowser.__init__(self, parent, name) self.setTextFormat(self.LogText) self.timer = QTimer(self) self.connect(self.timer, SIGNAL('timeout()'), self.update_logtext) self.resume_logging()
def __init__(self, parent, docobject): KTextBrowser.__init__(self, parent) self.setMimeSourceFactory() self.app = get_application_pointer() self.doc = docobject(self.app) self.setNotifyClick(True)
def __init__(self, parent, docobject): KTextBrowser.__init__(self, parent) self.setMimeSourceFactory() self.app = get_application_pointer() self.doc = docobject(self.app) self.setNotifyClick(True)
def __init__(self, parent, name='InfoBrowser'): KTextBrowser.__init__(self, parent, name) self._init_common() self.setNotifyClick(True) self.dialog_parent = self
def __init__(self, parent, name='BaseLogBrowser'): KTextBrowser.__init__(self, parent, name) self.setTextFormat(self.LogText) self.timer = QTimer(self) self.connect(self.timer, SIGNAL('timeout()'), self.update_logtext) self.resume_logging()