ColumnTableModel
Qt Base Class: QAbstractTableModel
Signature: QAbstractTableModel(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ColumnItemModelMixin prettyqt.itemmodels.columnitemmodel |
||
AbstractTableModel prettyqt.core.abstracttablemodel |
Subclasses
Class | Module | Description |
---|---|---|
LogRecordModel | prettyqt.itemmodels.logrecordmodel | |
ActionsModel | prettyqt.itemmodels.actionsmodel | |
StorageInfoModel | prettyqt.itemmodels.storageinfomodel | |
ShortcutsModel | prettyqt.itemmodels.shortcutsmodel |
⋔ Inheritance diagram
graph TD
1473245684144["itemmodels.ColumnTableModel"]
1473245682192["itemmodels.ColumnItemModelMixin"]
140713234304496["builtins.object"]
1473299901888["core.AbstractTableModel"]
1473299900912["core.AbstractTableModelMixin"]
1473299890176["core.AbstractItemModelMixin"]
1473299815024["core.ObjectMixin"]
1473289054032["QtCore.QAbstractTableModel"]
1473289050128["QtCore.QAbstractItemModel"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473245682192 --> 1473245684144
140713234304496 --> 1473245682192
1473299901888 --> 1473245684144
1473299900912 --> 1473299901888
1473299890176 --> 1473299900912
1473299815024 --> 1473299890176
140713234304496 --> 1473299815024
1473289054032 --> 1473299901888
1473289050128 --> 1473289054032
1473288842240 --> 1473289050128
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ColumnItemModelMixin
, AbstractTableModel
Source code in prettyqt\itemmodels\columnitemmodel.py
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
|
add(item: Any, position: int | None = None)
add_items(items: Iterable[Any], position: int | None = None)
Append a list of items to the list.
Source code in prettyqt\itemmodels\columnitemmodel.py
sort(ncol: int, order: int)
Sort table by given column number.
Source code in prettyqt\itemmodels\columnitemmodel.py
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString |