Package pytsonui :: Module console :: Class PythonConsole
[hide private]
[frames] | no frames]

Class PythonConsole

source code

PythonQt.QtGui.QPlainTextEdit --+
                                |
                   object --+   |
                            |   |
          pytson.Translatable --+
                                |
                               PythonConsole

Instance Methods [hide private]
 
__init__(self, tabcomplete=True, spaces=True, tabwidth=2, font=defaultFont(), bgcolor=Qt.black, textcolor=Qt.white, width=800, height=600, startup="", silentStartup=False, parent=None, catchstd=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_resetStdout(self) source code
 
setFont(self, f) source code
 
prompt(self) source code
 
promptLength(self) source code
 
writePrompt(self, newline) source code
 
promptCursor(self) source code
 
keyPressEvent(self, e) source code
 
mousePressEvent(self, e) source code
 
mouseReleaseEvent(self, e) source code
 
doKeyboardInterrupt(self) source code
 
doEndFile(self) source code
 
currentLine(self) source code
 
removeCurrentLine(self) source code
 
addHistory(self, cmd) source code
 
doHistoryUp(self) source code
 
doHistoryDown(self) source code
 
doTab(self) source code
 
doUntab(self) source code
 
appendLine(self, text) source code
 
runCommand(self, cmd, silent) source code
 
doExecuteCommand(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from pytson.Translatable (private): _tr

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, tabcomplete=True, spaces=True, tabwidth=2, font=defaultFont(), bgcolor=Qt.black, textcolor=Qt.white, width=800, height=600, startup="", silentStartup=False, parent=None, catchstd=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)