lyse.__main__.TableView

class lyse.__main__.TableView(*args)[source]

Bases: QTableView

__init__(*args)[source]

Methods

__init__(*args)

acceptDrops(self)

accessibleDescription(self)

accessibleName(self)

actionEvent(self, a0)

actions(self)

activateWindow(self)

addAction(self, action)

addActions(self, actions)

addScrollBarWidget(self, widget, alignment)

adjustSize(self)

alternatingRowColors(self)

autoFillBackground(self)

autoScrollMargin(self)

backgroundRole(self)

baseSize(self)

blockSignals(self, b)

changeEvent(self, a0)

childAt(-> Optional[QWidget])

childEvent(self, a0)

children(self)

childrenRect(self)

childrenRegion(self)

clearFocus(self)

clearMask(self)

clearSelection(self)

clearSpans(self)

close(self)

closeEditor(self, editor, hint)

closeEvent(self, a0)

closePersistentEditor(self, index)

colorCount(self)

columnAt(self, x)

columnCountChanged(self, oldCount, newCount)

columnMoved(self, column, oldIndex, newIndex)

columnResized(self, column, oldWidth, newWidth)

columnSpan(self, row, column)

columnViewportPosition(self, column)

columnWidth(self, column)

commitData(self, editor)

connectNotify(self, signal)

contentsMargins(self)

contentsRect(self)

contextMenuEvent(self, a0)

contextMenuPolicy(self)

cornerWidget(self)

create(self[, window, initializeWindow, ...])

createWindowContainer(window[, parent, flags])

currentChanged(self, current, previous)

currentIndex(self)

cursor(self)

customEvent(self, a0)

dataChanged(self, topLeft, bottomRight[, roles])

defaultDropAction(self)

deleteLater(self)

depth(self)

destroy(self[, destroyWindow, destroySubWindows])

devType(self)

devicePixelRatio(self)

devicePixelRatioF(self)

devicePixelRatioFScale()

dirtyRegionOffset(self)

disconnect(-> bool)

disconnectNotify(self, signal)

dragDropMode(self)

dragDropOverwriteMode(self)

dragEnabled(self)

dragEnterEvent(self, e)

dragLeaveEvent(self, e)

dragMoveEvent(self, e)

drawFrame(self, a0)

dropEvent(self, e)

dropIndicatorPosition(self)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

edit()

editTriggers(self)

editorDestroyed(self, editor)

effectiveWinId(self)

ensurePolished(self)

enterEvent(self, a0)

event(self, event)

eventFilter(self, object, event)

executeDelayedItemsLayout(self)

find(a0)

findChild(-> QObjectT)

findChildren(...)

focusInEvent(self, e)

focusNextChild(self)

focusNextPrevChild(self, next)

focusOutEvent(self, e)

focusPolicy(self)

focusPreviousChild(self)

focusProxy(self)

focusWidget(self)

font(self)

fontInfo(self)

fontMetrics(self)

foregroundRole(self)

frameGeometry(self)

frameRect(self)

frameShadow(self)

frameShape(self)

frameSize(self)

frameStyle(self)

frameWidth(self)

geometry(self)

getContentsMargins(self)

grab(self[, rectangle])

grabGesture(self, type[, flags])

grabKeyboard(self)

grabMouse()

grabShortcut(self, key[, context])

graphicsEffect(self)

graphicsProxyWidget(self)

gridStyle(self)

hasAutoScroll(self)

hasFocus(self)

hasHeightForWidth(self)

hasMouseTracking(self)

hasTabletTracking(self)

height(self)

heightForWidth(self, a0)

heightMM(self)

hide(self)

hideColumn(self, column)

hideEvent(self, a0)

hideRow(self, row)

horizontalHeader(self)

horizontalOffset(self)

horizontalScrollBar(self)

horizontalScrollBarPolicy(self)

horizontalScrollMode(self)

horizontalScrollbarAction(self, action)

horizontalScrollbarValueChanged(self, value)

iconSize(self)

indexAt(self, p)

indexWidget(self, index)

inherits(self, classname)

initPainter(self, painter)

initStyleOption(self, option)

inputMethodEvent(self, event)

inputMethodHints(self)

inputMethodQuery(self, query)

insertAction(self, before, action)

insertActions(self, before, actions)

installEventFilter(self, a0)

isActiveWindow(self)

isAncestorOf(self, child)

isColumnHidden(self, column)

isCornerButtonEnabled(self)

isEnabled(self)

isEnabledTo(self, a0)

isFullScreen(self)

isHidden(self)

isIndexHidden(self, index)

isLeftToRight(self)

isMaximized(self)

isMinimized(self)

isModal(self)

isPersistentEditorOpen(self, index)

isRightToLeft(self)

isRowHidden(self, row)

isSignalConnected(self, signal)

isSortingEnabled(self)

isVisible(self)

isVisibleTo(self, a0)

isWidgetType(self)

isWindow(self)

isWindowModified(self)

isWindowType(self)

itemDelegate(-> Optional[QAbstractItemDelegate])

itemDelegateForColumn(self, column)

itemDelegateForRow(self, row)

keyPressEvent(self, e)

keyReleaseEvent(self, a0)

keyboardGrabber()

keyboardSearch(self, search)

killTimer(self, id)

layout(self)

layoutDirection(self)

leaveEvent(self, a0)

lineWidth(self)

locale(self)

logicalDpiX(self)

logicalDpiY(self)

lower(self)

mapFrom(self, a0, a1)

mapFromGlobal(self, a0)

mapFromParent(self, a0)

mapTo(self, a0, a1)

mapToGlobal(self, a0)

mapToParent(self, a0)

mask(self)

maximumHeight(self)

maximumSize(self)

maximumViewportSize(self)

maximumWidth(self)

metaObject(self)

metric(self, a0)

midLineWidth(self)

minimumHeight(self)

minimumSize(self)

minimumSizeHint(self)

minimumWidth(self)

model(self)

mouseDoubleClickEvent(self, e)

mouseGrabber()

mouseMoveEvent(self, e)

mousePressEvent(self, e)

mouseReleaseEvent(self, e)

move()

moveCursor(self, cursorAction, modifiers)

moveEvent(self, a0)

moveToThread(self, thread)

nativeEvent(self, eventType, message)

nativeParentWidget(self)

nextInFocusChain(self)

normalGeometry(self)

objectName(self)

openPersistentEditor(self, index)

overrideWindowFlags(self, type)

overrideWindowState(self, state)

paintEngine(self)

paintEvent(self, e)

paintingActive(self)

palette(self)

parent(self)

parentWidget(self)

physicalDpiX(self)

physicalDpiY(self)

pos(self)

previousInFocusChain(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

raise_(self)

receivers(self, signal)

rect(self)

releaseKeyboard(self)

releaseMouse(self)

releaseShortcut(self, id)

removeAction(self, action)

removeEventFilter(self, a0)

render(, sourceRegion, flags, ...)

repaint(-> None  -> None)

reset(self)

resetHorizontalScrollMode(self)

resetVerticalScrollMode(self)

resize()

resizeColumnToContents(self, column)

resizeColumnsToContents(self)

resizeEvent(self, e)

resizeRowToContents(self, row)

resizeRowsToContents(self)

restoreGeometry(self, geometry)

rootIndex(self)

rowAt(self, y)

rowCountChanged(self, oldCount, newCount)

rowHeight(self, row)

rowMoved(self, row, oldIndex, newIndex)

rowResized(self, row, oldHeight, newHeight)

rowSpan(self, row, column)

rowViewportPosition(self, row)

rowsAboutToBeRemoved(self, parent, start, end)

rowsInserted(self, parent, start, end)

saveGeometry(self)

scheduleDelayedItemsLayout(self)

screen(self)

scroll()

scrollBarWidgets(self, alignment)

scrollContentsBy(self, dx, dy)

scrollDirtyRegion(self, dx, dy)

scrollTo(self, index[, hint])

scrollToBottom(self)

scrollToTop(self)

selectAll(self)

selectColumn(self, column)

selectRow(self, row)

selectedIndexes(self)

selectionBehavior(self)

selectionChanged(self, selected, deselected)

selectionCommand(self, index[, event])

selectionMode(self)

selectionModel(self)

sender(self)

senderSignalIndex(self)

setAcceptDrops(self, on)

setAccessibleDescription(self, description)

setAccessibleName(self, name)

setAlternatingRowColors(self, enable)

setAttribute(self, attribute[, on])

setAutoFillBackground(self, enabled)

setAutoScroll(self, enable)

setAutoScrollMargin(self, margin)

setBackgroundRole(self, a0)

setBaseSize()

setColumnHidden(self, column, hide)

setColumnWidth(self, column, width)

setContentsMargins()

setContextMenuPolicy(self, policy)

setCornerButtonEnabled(self, enable)

setCornerWidget(self, widget)

setCurrentIndex(self, index)

setCursor(self, a0)

setDefaultDropAction(self, dropAction)

setDirtyRegion(self, region)

setDisabled(self, a0)

setDragDropMode(self, behavior)

setDragDropOverwriteMode(self, overwrite)

setDragEnabled(self, enable)

setDropIndicatorShown(self, enable)

setEditTriggers(self, triggers)

setEnabled(self, a0)

setFixedHeight(self, h)

setFixedSize()

setFixedWidth(self, w)

setFocus()

setFocusPolicy(self, policy)

setFocusProxy(self, a0)

setFont(self, a0)

setForegroundRole(self, a0)

setFrameRect(self, a0)

setFrameShadow(self, a0)

setFrameShape(self, a0)

setFrameStyle(self, a0)

setGeometry()

setGraphicsEffect(self, effect)

setGridStyle(self, style)

setHidden(self, hidden)

setHorizontalHeader(self, header)

setHorizontalScrollBar(self, scrollbar)

setHorizontalScrollBarPolicy(self, a0)

setHorizontalScrollMode(self, mode)

setIconSize(self, size)

setIndexWidget(self, index, widget)

setInputMethodHints(self, hints)

setItemDelegate(self, delegate)

setItemDelegateForColumn(self, column, delegate)

setItemDelegateForRow(self, row, delegate)

setLayout(self, a0)

setLayoutDirection(self, direction)

setLineWidth(self, a0)

setLocale(self, locale)

setMask()

setMaximumHeight(self, maxh)

setMaximumSize()

setMaximumWidth(self, maxw)

setMidLineWidth(self, a0)

setMinimumHeight(self, minh)

setMinimumSize()

setMinimumWidth(self, minw)

setModel(self, model)

setMouseTracking(self, enable)

setObjectName(self, name)

setPalette(self, a0)

setParent()

setProperty(self, name, value)

setRootIndex(self, index)

setRowHeight(self, row, height)

setRowHidden(self, row, hide)

setSelection(self, rect, command)

setSelectionBehavior(self, behavior)

setSelectionMode(self, mode)

setSelectionModel(self, selectionModel)

setShortcutAutoRepeat(self, id[, enabled])

setShortcutEnabled(self, id[, enabled])

setShowGrid(self, show)

setSizeAdjustPolicy(self, policy)

setSizeIncrement()

setSizePolicy()

setSortingEnabled(self, enable)

setSpan(self, row, column, rowSpan, columnSpan)

setState(self, state)

setStatusTip(self, a0)

setStyle(self, a0)

setStyleSheet(self, styleSheet)

setTabKeyNavigation(self, enable)

setTabOrder(a0, a1)

setTabletTracking(self, enable)

setTextElideMode(self, mode)

setToolTip(self, a0)

setToolTipDuration(self, msec)

setUpdatesEnabled(self, enable)

setVerticalHeader(self, header)

setVerticalScrollBar(self, scrollbar)

setVerticalScrollBarPolicy(self, a0)

setVerticalScrollMode(self, mode)

setViewport(self, widget)

setViewportMargins()

setVisible(self, visible)

setWhatsThis(self, a0)

setWindowFilePath(self, filePath)

setWindowFlag(self, a0[, on])

setWindowFlags(self, type)

setWindowIcon(self, icon)

setWindowIconText(self, a0)

setWindowModality(self, windowModality)

setWindowModified(self, a0)

setWindowOpacity(self, level)

setWindowRole(self, a0)

setWindowState(self, state)

setWindowTitle(self, a0)

setWordWrap(self, on)

setupViewport(self, viewport)

sharedPainter(self)

show(self)

showColumn(self, column)

showDropIndicator(self)

showEvent(self, a0)

showFullScreen(self)

showGrid(self)

showMaximized(self)

showMinimized(self)

showNormal(self)

showRow(self, row)

signalsBlocked(self)

size(self)

sizeAdjustPolicy(self)

sizeHint(self)

sizeHintForColumn(self, column)

sizeHintForIndex(self, index)

sizeHintForRow(self, row)

sizeIncrement(self)

sizePolicy(self)

sortByColumn(self, column, order)

stackUnder(self, a0)

startDrag(self, supportedActions)

startTimer(self, interval[, timerType])

state(self)

statusTip(self)

style(self)

styleSheet(self)

tabKeyNavigation(self)

tabletEvent(self, a0)

testAttribute(self, attribute)

textElideMode(self)

thread(self)

timerEvent(self, event)

toolTip(self)

toolTipDuration(self)

tr(self, sourceText[, disambiguation, n])

underMouse(self)

ungrabGesture(self, type)

unsetCursor(self)

unsetLayoutDirection(self)

unsetLocale(self)

update()

updateEditorData(self)

updateEditorGeometries(self)

updateGeometries(self)

updateGeometry(self)

updateMicroFocus(self)

updatesEnabled(self)

verticalHeader(self)

verticalOffset(self)

verticalScrollBar(self)

verticalScrollBarPolicy(self)

verticalScrollMode(self)

verticalScrollbarAction(self, action)

verticalScrollbarValueChanged(self, value)

viewOptions(self)

viewport(self)

viewportEvent(self, e)

viewportMargins(self)

viewportSizeHint(self)

visibleRegion(self)

visualRect(self, index)

visualRegionForSelection(self, selection)

whatsThis(self)

wheelEvent(self, a0)

width(self)

widthMM(self)

winId(self)

window(self)

windowFilePath(self)

windowFlags(self)

windowHandle(self)

windowIcon(self)

windowIconText(self)

windowModality(self)

windowOpacity(self)

windowRole(self)

windowState(self)

windowTitle(self)

windowType(self)

wordWrap(self)

x(self)

y(self)

Attributes

AboveItem

AdjustIgnored

AdjustToContents

AdjustToContentsOnFirstShow

AllEditTriggers

AnimatingState

AnyKeyPressed

BelowItem

Box

CollapsingState

ContiguousSelection

CurrentChanged

DoubleClicked

DragDrop

DragOnly

DragSelectingState

DraggingState

DrawChildren

DrawWindowBackground

DropOnly

EditKeyPressed

EditingState

EnsureVisible

ExpandingState

ExtendedSelection

HLine

IgnoreMask

InternalMove

MoveDown

MoveEnd

MoveHome

MoveLeft

MoveNext

MovePageDown

MovePageUp

MovePrevious

MoveRight

MoveUp

MultiSelection

NoDragDrop

NoEditTriggers

NoFrame

NoSelection

NoState

OnItem

OnViewport

Panel

PdmDepth

PdmDevicePixelRatio

PdmDevicePixelRatioScaled

PdmDpiX

PdmDpiY

PdmHeight

PdmHeightMM

PdmNumColors

PdmPhysicalDpiX

PdmPhysicalDpiY

PdmWidth

PdmWidthMM

Plain

PositionAtBottom

PositionAtCenter

PositionAtTop

Raised

ScrollPerItem

ScrollPerPixel

SelectColumns

SelectItems

SelectRows

SelectedClicked

Shadow_Mask

Shape_Mask

SingleSelection

StyledPanel

Sunken

VLine

WinPanel

activated

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

clicked

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

customContextMenuRequested

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

destroyed

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

doubleClicked

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

doubleLeftClicked

A QTableView that emits a custom signal leftClicked(index) after a left click on a valid index, and doubleLeftClicked(index) (in addition) on double click.

entered

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

iconSizeChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

leftClicked

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

objectNameChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

pressed

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

staticMetaObject

viewportEntered

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

windowIconChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

windowIconTextChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

windowTitleChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

doubleLeftClicked

A QTableView that emits a custom signal leftClicked(index) after a left click on a valid index, and doubleLeftClicked(index) (in addition) on double click. Multiple inheritance of QObjects is not possible, so we are forced to duplicate code instead of sharing code with the extremely similar TreeView class in this module

leaveEvent(self, a0: QEvent | None)[source]
leftClicked

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

mouseDoubleClickEvent(self, e: QMouseEvent | None)[source]
mousePressEvent(self, e: QMouseEvent | None)[source]
mouseReleaseEvent(self, e: QMouseEvent | None)[source]