def __init__(self, parent, history_filename, profile=False): ShellBaseWidget.__init__(self, parent, history_filename, profile) TracebackLinksMixin.__init__(self) InspectObjectMixin.__init__(self) # Local shortcuts self.shortcuts = self.create_shortcuts()
def __init__(self, parent=None): QTextEdit.__init__(self, parent) BaseEditMixin.__init__(self) TracebackLinksMixin.__init__(self) InspectObjectMixin.__init__(self) self.found_results = [] self.calltip_widget = CallTipWidget(self, hide_timer_on=True) # To not use Spyder calltips obtained through the monitor self.calltips = False
def __init__(self, parent, history_filename, profile=False): ShellBaseWidget.__init__(self, parent, history_filename, profile) TracebackLinksMixin.__init__(self) InspectObjectMixin.__init__(self) # Local shortcuts self.inspectsc = QShortcut(QKeySequence("Ctrl+I"), self, self.inspect_current_object) self.inspectsc.setContext(Qt.WidgetWithChildrenShortcut)