DataFrameWidget
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| TranslateMixin cutepandas.utils.i18n Keeps an optional `translate` callable; `_tr(text)` applies it. |
||
| MainWindow prettyqt.widgets.mainwindow Main application window. |
â‹” Inheritance diagram¶
graph TD
3681781620["dataframewidget.DataFrameWidget"]
3771062457["i18n.TranslateMixin"]
2751680898["builtins.object"]
2142163847["widgets.MainWindow"]
829357528["widgets.WidgetMixin"]
3227531497["core.ObjectMixin"]
625385617["gui.PaintDeviceMixin"]
989100551["QtWidgets.QMainWindow"]
1348938779["QtWidgets.QWidget"]
13951691["QtCore.QObject"]
395147830["sip.wrapper"]
46922758["sip.simplewrapper"]
2007623938["QtGui.QPaintDevice"]
3771062457 --> 3681781620
2751680898 --> 3771062457
2142163847 --> 3681781620
829357528 --> 2142163847
3227531497 --> 829357528
2751680898 --> 3227531497
625385617 --> 829357528
2751680898 --> 625385617
989100551 --> 2142163847
1348938779 --> 989100551
13951691 --> 1348938779
395147830 --> 13951691
46922758 --> 395147830
2751680898 --> 46922758
2007623938 --> 1348938779
46922758 --> 2007623938
🛈 DocStrings¶
Bases: TranslateMixin, MainWindow
Viewer plus docks: index levels, columns, categories, column profile, attrs.
Shows pandas, pyarrow and polars frames. For pandas frames the column and category lists edit the frame (rename, dtype, reorder, ...); for other backends they are read-only and the index list stays empty.
Dock titles and the labels of the panels go through translate (str -> str);
set_translate() / retranslate() switch the language at runtime.
Source code in src/cutepandas/pandaswidgets/dataframewidget.py
19 20 21 22 23 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 136 137 138 139 140 141 142 143 144 145 | |
retranslate
¶
Re-show dock titles and panel labels with the current translate.