BaseIPythonWidget
Qt Base Class: QWidget
Signature: QWidget(self, parent: Optional[PySide6.QtWidgets.QWidget] = None, f: PySide6.QtCore.Qt.WindowType = Default(Qt.WindowFlags)) -> None
Base classes
Name | Children | Inherits |
---|---|---|
RichJupyterWidget qtconsole.rich_jupyter_widget An JupyterWidget that supports rich text, including lists, images, and |
||
WidgetMixin prettyqt.widgets.widget |
Subclasses
Class | Module | Description |
---|---|---|
InProcessIPythonWidget | prettyqt.ipython.inprocessipythonwidget | Convenience class for a live IPython console widget. |
OutOfProcessIPythonWidget | prettyqt.ipython.outofprocessipythonwidget | Convenience class for a live IPython console widget running out-of-process. |
⋔ Inheritance diagram
graph TD
1473572106368["ipython.BaseIPythonWidget"]
1473572135648["rich_jupyter_widget.RichJupyterWidget"]
1473572112224["rich_jupyter_widget.RichIPythonWidget"]
1473572108320["jupyter_widget.JupyterWidget"]
1473572131744["jupyter_widget.IPythonWidget"]
1473572128816["frontend_widget.FrontendWidget"]
1473572122960["history_console_widget.HistoryConsoleWidget"]
1473572121008["console_widget.ConsoleWidget"]
1473572116128["util.NewBase"]
1473369459712["configurable.LoggingConfigurable"]
1473369470448["configurable.Configurable"]
1473369367968["traitlets.HasTraits"]
1473369366992["traitlets.HasDescriptors"]
140713234304496["builtins.object"]
1473572123936["util.SuperQClass"]
1473290849680["QtWidgets.QWidget"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473300082368["QtGui.QPaintDevice"]
1473572040000["base_frontend_mixin.BaseFrontendMixin"]
1473293688240["widgets.WidgetMixin"]
1473299815024["core.ObjectMixin"]
1473245548480["gui.PaintDeviceMixin"]
1473572135648 --> 1473572106368
1473572112224 --> 1473572135648
1473572108320 --> 1473572112224
1473572131744 --> 1473572108320
1473572128816 --> 1473572131744
1473572122960 --> 1473572128816
1473572121008 --> 1473572122960
1473572116128 --> 1473572121008
1473369459712 --> 1473572116128
1473369470448 --> 1473369459712
1473369367968 --> 1473369470448
1473369366992 --> 1473369367968
140713234304496 --> 1473369366992
1473572123936 --> 1473572116128
1473290849680 --> 1473572123936
1473288842240 --> 1473290849680
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
1473300082368 --> 1473290849680
1473291690208 --> 1473300082368
1473572040000 --> 1473572128816
140713234304496 --> 1473572040000
1473293688240 --> 1473572106368
1473299815024 --> 1473293688240
140713234304496 --> 1473299815024
1473245548480 --> 1473293688240
140713234304496 --> 1473245548480
🛈 DocStrings
Bases: RichJupyterWidget
, WidgetMixin
Convenience class for a live IPython console widget running out-of-process.
Source code in prettyqt\ipython\baseipythonwidget.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
|
adjust_style_to_palette()
Adjust coloring of the terminal to current palette.
buffer() -> str
clear()
execute(source: str | None = None, hidden: bool = False, interactive: bool = False)
Execute a command in the frame of the console widget.
Source code in prettyqt\ipython\baseipythonwidget.py
get_selected_text() -> str
print_text(text: str, before_prompt: bool = False)
set_buffer(code: str) -> None
Set code string to Jupyter QtConsole buffer.
Source code in prettyqt\ipython\baseipythonwidget.py
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
modal |
bool | |
windowModality |
Qt::WindowModality | |
enabled |
bool | |
geometry |
QRect | |
frameGeometry |
QRect | |
normalGeometry |
QRect | |
x |
int | |
y |
int | |
pos |
QPoint | |
frameSize |
QSize | |
size |
QSize | |
width |
int | |
height |
int | |
rect |
QRect | |
childrenRect |
QRect | |
childrenRegion |
QRegion | |
sizePolicy |
QSizePolicy | |
minimumSize |
QSize | |
maximumSize |
QSize | |
minimumWidth |
int | |
minimumHeight |
int | |
maximumWidth |
int | |
maximumHeight |
int | |
sizeIncrement |
QSize | |
baseSize |
QSize | |
palette |
QPalette | |
font |
QFont | |
cursor |
QCursor | |
mouseTracking |
bool | |
tabletTracking |
bool | |
isActiveWindow |
bool | |
focusPolicy |
Qt::FocusPolicy | |
focus |
bool | |
contextMenuPolicy |
Qt::ContextMenuPolicy | |
updatesEnabled |
bool | |
visible |
bool | |
minimized |
bool | |
maximized |
bool | |
fullScreen |
bool | |
sizeHint |
QSize | |
minimumSizeHint |
QSize | |
acceptDrops |
bool | |
windowTitle |
QString | |
windowIcon |
QIcon | |
windowIconText |
QString | |
windowOpacity |
double | |
windowModified |
bool | |
toolTip |
QString | |
toolTipDuration |
int | |
statusTip |
QString | |
whatsThis |
QString | |
accessibleName |
QString | |
accessibleDescription |
QString | |
layoutDirection |
Qt::LayoutDirection | |
autoFillBackground |
bool | |
styleSheet |
QString | |
locale |
QLocale | |
windowFilePath |
QString | |
inputMethodHints |
QFlags |
|
completion_mode |
QString | Completion mode for the widget |