schrodinger.ui.qt.tablewidget module¶
This is a table whose cells contain Tkinter widgets such as Buttons and Checkbuttons. Take a look at prepwizard.py or vsw_gui.py for application example.
Simple example:
table = widgettable.TableWidget(parent, hull_width=200, hull_height=200, showtitlebar=True) table.pack(side=LEFT)
col1 = table.addColumn(columntitle=’On’, width=50) col2 = table.addColumn(columntitle=’Name’)
- for i in range(10):
row = table.insertRow() cell1 = row.cell[0] cell2 = row.cell[1] <modify cell1 or cell2 as necessary>
Copyright Schrodinger, LLC. All rights reserved.
- class schrodinger.ui.qt.tablewidget.Cell(table, rowi, coli)[source]¶
Bases:
object
References to instances of this class should not be stored. They are designed to be created dynamically.
- property column¶
- property row¶
- class schrodinger.ui.qt.tablewidget.Column(table, coli)[source]¶
Bases:
object
References to instances of this class should not be stored. They are designed to be created dynamically.
- property cell¶
- class schrodinger.ui.qt.tablewidget.Row(table, rowi)[source]¶
Bases:
object
References to instances of this class should not be stored. They are designed to be created dynamically.
- property cell¶
- class schrodinger.ui.qt.tablewidget.CellIterator(cells)[source]¶
Bases:
object
column.cell row.cell Class for iterating over cells in a row or column and for getting a cell Cells are indexed starting with 0 Ex: cell = row.cell[0] or: cell = column.cell[0]
- class schrodinger.ui.qt.tablewidget.RowIterator(table)[source]¶
Bases:
object
table.row Class for iterating over rows and for getting a row object Rows are indexed starting with 0 Ex: row = table.row[rowi]
- class schrodinger.ui.qt.tablewidget.ColumnIterator(table)[source]¶
Bases:
object
table.column Class for iterating over columns and getting a column Columns are indexed starting with 0 Ex: column = table.column[coli]
- class schrodinger.ui.qt.tablewidget.TableWidget(tablewidget, multiselect=False, cellselect=False, sortable=False, stretch_last=False)[source]¶
Bases:
schrodinger.ui.qt.tablewidget._BaseTable
The table class with scroll bars
- __init__(tablewidget, multiselect=False, cellselect=False, sortable=False, stretch_last=False)[source]¶
- addColumn(columntitle='', width=None)¶
columntitle - title for the column width - width
- addRow()¶
- property cell¶
- property column¶
- getCell(rowi, coli)¶
Returns Cell object for cell at specified position
- property horizontal_header¶
- insertRow(after_row=None, fill=True)¶
- removeAllRows()¶
- removeSelectedRows()¶
Remove rows which have at least one item selected
- property row¶
- selectOnlyRows(rows)¶
Select only specified rows (list of row numbers)
- selected()¶
Return a list of selected Cell objects (if cellselect) or selected Row objects (if rows are being selected).
- selectedCells()¶
Return a list of selected Cell objects.
- selectedRows()¶
Return a list of selected Row objects
- setSelectCallback(function)¶
Use this to specify the command that should be called when selection is changed. Use selectedRows() or selectedCells() function to find out selecteda row(s) or cell(s). <function> should be a callable (no arguments).
- property vertical_header¶
- class schrodinger.ui.qt.tablewidget.SelfContainedTable(parent=None)[source]¶
Bases:
PyQt5.QtWidgets.QTableWidget
,schrodinger.ui.qt.tablewidget._BaseTable
- AboveItem = 1¶
- AdjustIgnored = 0¶
- AdjustToContents = 2¶
- AdjustToContentsOnFirstShow = 1¶
- AllEditTriggers = 31¶
- AnimatingState = 6¶
- AnyKeyPressed = 16¶
- BelowItem = 2¶
- Box = 1¶
- CollapsingState = 5¶
- ContiguousSelection = 4¶
- CurrentChanged = 1¶
- class CursorAction¶
Bases:
int
- DoubleClicked = 2¶
- DragDrop = 3¶
- class DragDropMode¶
Bases:
int
- DragOnly = 1¶
- DragSelectingState = 2¶
- DraggingState = 1¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- class DropIndicatorPosition¶
Bases:
int
- DropOnly = 2¶
- EditKeyPressed = 8¶
- class EditTrigger¶
Bases:
int
- class EditTriggers¶
- class EditTriggers(Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger]) None
- class EditTriggers(QAbstractItemView.EditTriggers) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- EditingState = 3¶
- EnsureVisible = 0¶
- ExpandingState = 4¶
- ExtendedSelection = 3¶
- HLine = 4¶
- IgnoreMask = 4¶
- InternalMove = 4¶
- MoveDown = 1¶
- MoveEnd = 5¶
- MoveHome = 4¶
- MoveLeft = 2¶
- MoveNext = 8¶
- MovePageDown = 7¶
- MovePageUp = 6¶
- MovePrevious = 9¶
- MoveRight = 3¶
- MoveUp = 0¶
- MultiSelection = 2¶
- NoDragDrop = 0¶
- NoEditTriggers = 0¶
- NoFrame = 0¶
- NoSelection = 0¶
- NoState = 0¶
- OnItem = 0¶
- OnViewport = 3¶
- class PaintDeviceMetric¶
Bases:
int
- Panel = 2¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- Plain = 16¶
- PositionAtBottom = 2¶
- PositionAtCenter = 3¶
- PositionAtTop = 1¶
- Raised = 32¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- class ScrollHint¶
Bases:
int
- class ScrollMode¶
Bases:
int
- ScrollPerItem = 0¶
- ScrollPerPixel = 1¶
- SelectColumns = 2¶
- SelectItems = 0¶
- SelectRows = 1¶
- SelectedClicked = 4¶
- class SelectionBehavior¶
Bases:
int
- class SelectionMode¶
Bases:
int
- class Shadow¶
Bases:
int
- Shadow_Mask = 240¶
- class Shape¶
Bases:
int
- Shape_Mask = 15¶
- SingleSelection = 1¶
- class SizeAdjustPolicy¶
Bases:
int
- class State¶
Bases:
int
- class StyleMask¶
Bases:
int
- StyledPanel = 6¶
- Sunken = 48¶
- VLine = 5¶
- WinPanel = 3¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- activated¶
activated(self, QModelIndex) [signal]
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- addColumn(columntitle='', width=None)¶
columntitle - title for the column width - width
- addRow()¶
- addScrollBarWidget(self, QWidget, Union[Qt.Alignment, Qt.AlignmentFlag])¶
- adjustSize(self)¶
- alternatingRowColors(self) bool ¶
- autoFillBackground(self) bool ¶
- autoScrollMargin(self) int ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- property cell¶
- cellActivated¶
cellActivated(self, int, int) [signal]
- cellChanged¶
cellChanged(self, int, int) [signal]
- cellClicked¶
cellClicked(self, int, int) [signal]
- cellDoubleClicked¶
cellDoubleClicked(self, int, int) [signal]
- cellEntered¶
cellEntered(self, int, int) [signal]
- cellPressed¶
cellPressed(self, int, int) [signal]
- SelfContainedTable.cellWidget(self, int, int) -> QWidget
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- SelfContainedTable.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clear(self)¶
- clearContents(self)¶
- clearFocus(self)¶
- clearMask(self)¶
- clearSelection(self)¶
- clearSpans(self)¶
- clicked¶
clicked(self, QModelIndex) [signal]
- close(self) bool ¶
- closeEditor(self, QWidget, QAbstractItemDelegate.EndEditHint)¶
- closeEvent(self, QCloseEvent)¶
- closePersistentEditor(self, QTableWidgetItem)¶
- colorCount(self) int ¶
- column(self, QTableWidgetItem) int ¶
- columnAt(self, int) int ¶
- columnCount(self) int ¶
- SelfContainedTable.columnCountChanged(self, int, int)
- SelfContainedTable.columnMoved(self, int, int, int)
- SelfContainedTable.columnResized(self, int, int, int)
- SelfContainedTable.columnSpan(self, int, int) -> int
- columnViewportPosition(self, int) int ¶
- columnWidth(self, int) int ¶
- commitData(self, QWidget)¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- cornerWidget(self) QWidget ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- currentCellChanged¶
currentCellChanged(self, int, int, int, int) [signal]
- SelfContainedTable.currentChanged(self, QModelIndex, QModelIndex)
- currentColumn(self) int ¶
- currentIndex(self) QModelIndex ¶
- currentItem(self) QTableWidgetItem ¶
- currentItemChanged¶
currentItemChanged(self, QTableWidgetItem, QTableWidgetItem) [signal]
- currentRow(self) int ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- SelfContainedTable.dataChanged(self, QModelIndex, QModelIndex, roles: Iterable[int] = [])
- defaultDropAction(self) Qt.DropAction ¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- dirtyRegionOffset(self) QPoint ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- doubleClicked¶
doubleClicked(self, QModelIndex) [signal]
- dragDropMode(self) QAbstractItemView.DragDropMode ¶
- dragDropOverwriteMode(self) bool ¶
- dragEnabled(self) bool ¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- drawFrame(self, QPainter)¶
- dropEvent(self, QDropEvent)¶
- dropIndicatorPosition(self) QAbstractItemView.DropIndicatorPosition ¶
- dropMimeData(self, int, int, QMimeData, Qt.DropAction) bool ¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- edit(self, QModelIndex)¶
- edit(self, QModelIndex, QAbstractItemView.EditTrigger, QEvent) bool
- editItem(self, QTableWidgetItem)¶
- editTriggers(self) QAbstractItemView.EditTriggers ¶
- editorDestroyed(self, QObject)¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- entered¶
entered(self, QModelIndex) [signal]
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- executeDelayedItemsLayout(self)¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findItems(self, str, Union[Qt.MatchFlags, Qt.MatchFlag]) List[QTableWidgetItem] ¶
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameRect(self) QRect ¶
- frameShadow(self) QFrame.Shadow ¶
- frameShape(self) QFrame.Shape ¶
- frameSize(self) QSize ¶
- frameStyle(self) int ¶
- frameWidth(self) int ¶
- geometry(self) QRect ¶
- getCell(rowi, coli)¶
Returns Cell object for cell at specified position
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- gridStyle(self) Qt.PenStyle ¶
- hasAutoScroll(self) bool ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideColumn(self, int)¶
- hideEvent(self, QHideEvent)¶
- hideRow(self, int)¶
- horizontalHeader(self) QHeaderView ¶
- horizontalHeaderItem(self, int) QTableWidgetItem ¶
- horizontalOffset(self) int ¶
- horizontalScrollBar(self) QScrollBar ¶
- horizontalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- horizontalScrollMode(self) QAbstractItemView.ScrollMode ¶
- horizontalScrollbarAction(self, int)¶
- horizontalScrollbarValueChanged(self, int)¶
- property horizontal_header¶
- iconSize(self) QSize ¶
- iconSizeChanged¶
iconSizeChanged(self, QSize) [signal]
- indexAt(self, QPoint) QModelIndex ¶
- indexFromItem(self, QTableWidgetItem) QModelIndex ¶
- indexWidget(self, QModelIndex) QWidget ¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- initStyleOption(self, QStyleOptionFrame)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- SelfContainedTable.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- insertColumn(self, int)¶
- insertRow(self, int)¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isColumnHidden(self, int) bool ¶
- isCornerButtonEnabled(self) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isIndexHidden(self, QModelIndex) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isPersistentEditorOpen(self, QTableWidgetItem) bool ¶
- isRightToLeft(self) bool ¶
- isRowHidden(self, int) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isSortingEnabled(self) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- SelfContainedTable.item(self, int, int) -> QTableWidgetItem
- itemActivated¶
itemActivated(self, QTableWidgetItem) [signal]
- itemAt(self, QPoint) QTableWidgetItem ¶
- SelfContainedTable.itemAt(self, int, int) -> QTableWidgetItem
- itemChanged¶
itemChanged(self, QTableWidgetItem) [signal]
- itemClicked¶
itemClicked(self, QTableWidgetItem) [signal]
- itemDelegate(self) QAbstractItemDelegate ¶
- itemDelegate(self, QModelIndex) QAbstractItemDelegate
- itemDelegateForColumn(self, int) QAbstractItemDelegate ¶
- itemDelegateForRow(self, int) QAbstractItemDelegate ¶
- itemDoubleClicked¶
itemDoubleClicked(self, QTableWidgetItem) [signal]
- itemEntered¶
itemEntered(self, QTableWidgetItem) [signal]
- itemFromIndex(self, QModelIndex) QTableWidgetItem ¶
- itemPressed¶
itemPressed(self, QTableWidgetItem) [signal]
- itemPrototype(self) QTableWidgetItem ¶
- itemSelectionChanged¶
itemSelectionChanged(self) [signal]
- items(self, QMimeData) List[QTableWidgetItem] ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- keyboardSearch(self, str)¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- lineWidth(self) int ¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- mapFromGlobal(self, QPoint) QPoint ¶
- mapFromParent(self, QPoint) QPoint ¶
- mapTo(self, QWidget, QPoint) QPoint ¶
- mapToGlobal(self, QPoint) QPoint ¶
- mapToParent(self, QPoint) QPoint ¶
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumViewportSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- midLineWidth(self) int ¶
- mimeData(self, Iterable[QTableWidgetItem]) QMimeData ¶
- mimeTypes(self) List[str] ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- model(self) QAbstractItemModel ¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- SelfContainedTable.move(self, int, int) -> None
- moveCursor(self, QAbstractItemView.CursorAction, Union[Qt.KeyboardModifiers, Qt.KeyboardModifier]) QModelIndex ¶
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- openPersistentEditor(self, QTableWidgetItem)¶
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- pos(self) QPoint ¶
- pressed¶
pressed(self, QModelIndex) [signal]
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeAllRows()¶
- SelfContainedTable.removeCellWidget(self, int, int)
- removeColumn(self, int)¶
- removeEventFilter(self, QObject)¶
- removeRow(self, int)¶
- removeSelectedRows()¶
Remove rows which have at least one item selected
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- SelfContainedTable.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- reset(self)¶
- resetHorizontalScrollMode(self)¶
- resetVerticalScrollMode(self)¶
- resize(self, QSize)¶
- SelfContainedTable.resize(self, int, int) -> None
- resizeColumnToContents(self, int)¶
- resizeColumnsToContents(self)¶
- resizeEvent(self, QResizeEvent)¶
- resizeRowToContents(self, int)¶
- resizeRowsToContents(self)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- rootIndex(self) QModelIndex ¶
- row(self, QTableWidgetItem) int ¶
- rowAt(self, int) int ¶
- rowCount(self) int ¶
- SelfContainedTable.rowCountChanged(self, int, int)
- rowHeight(self, int) int ¶
- SelfContainedTable.rowMoved(self, int, int, int)
- SelfContainedTable.rowResized(self, int, int, int)
- SelfContainedTable.rowSpan(self, int, int) -> int
- rowViewportPosition(self, int) int ¶
- SelfContainedTable.rowsAboutToBeRemoved(self, QModelIndex, int, int)
- SelfContainedTable.rowsInserted(self, QModelIndex, int, int)
- saveGeometry(self) QByteArray ¶
- scheduleDelayedItemsLayout(self)¶
- SelfContainedTable.scroll(self, int, int)
- SelfContainedTable.scroll(self, int, int, QRect) -> None
- scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget] ¶
- SelfContainedTable.scrollContentsBy(self, int, int)
- SelfContainedTable.scrollDirtyRegion(self, int, int)
- scrollTo(self, QModelIndex, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToBottom(self)¶
- scrollToItem(self, QTableWidgetItem, hint: QAbstractItemView.ScrollHint = QAbstractItemView.EnsureVisible)¶
- scrollToTop(self)¶
- selectAll(self)¶
- selectColumn(self, int)¶
- selectOnlyRows(rows)¶
Select only specified rows (list of row numbers)
- selectRow(self, int)¶
- selected()¶
Return a list of selected Cell objects (if cellselect) or selected Row objects (if rows are being selected).
- selectedCells()¶
Return a list of selected Cell objects.
- selectedIndexes(self) List[QModelIndex] ¶
- selectedItems(self) List[QTableWidgetItem] ¶
- selectedRanges(self) List[QTableWidgetSelectionRange] ¶
- selectedRows()¶
Return a list of selected Row objects
- selectionBehavior(self) QAbstractItemView.SelectionBehavior ¶
- SelfContainedTable.selectionChanged(self, QItemSelection, QItemSelection)
- selectionCommand(self, QModelIndex, event: QEvent = None) QItemSelectionModel.SelectionFlags ¶
- selectionMode(self) QAbstractItemView.SelectionMode ¶
- selectionModel(self) QItemSelectionModel ¶
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAlternatingRowColors(self, bool)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setAutoScroll(self, bool)¶
- setAutoScrollMargin(self, int)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- SelfContainedTable.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- SelfContainedTable.setCellWidget(self, int, int, QWidget)
- setColumnCount(self, int)¶
- setColumnHidden(self, int, bool)¶
- SelfContainedTable.setColumnWidth(self, int, int)
- SelfContainedTable.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCornerButtonEnabled(self, bool)¶
- setCornerWidget(self, QWidget)¶
- SelfContainedTable.setCurrentCell(self, int, int)
- setCurrentCell(self, int, int, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) None ¶
- setCurrentIndex(self, QModelIndex)¶
- setCurrentItem(self, QTableWidgetItem)¶
- setCurrentItem(self, QTableWidgetItem, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag]) None
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDefaultDropAction(self, Qt.DropAction)¶
- setDirtyRegion(self, QRegion)¶
- setDisabled(self, bool)¶
- setDragDropMode(self, QAbstractItemView.DragDropMode)¶
- setDragDropOverwriteMode(self, bool)¶
- setDragEnabled(self, bool)¶
- setDropIndicatorShown(self, bool)¶
- setEditTriggers(self, Union[QAbstractItemView.EditTriggers, QAbstractItemView.EditTrigger])¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- SelfContainedTable.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setFrameRect(self, QRect)¶
- setFrameShadow(self, QFrame.Shadow)¶
- setFrameShape(self, QFrame.Shape)¶
- setFrameStyle(self, int)¶
- setGeometry(self, QRect)¶
- SelfContainedTable.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGridStyle(self, Qt.PenStyle)¶
- setHidden(self, bool)¶
- setHorizontalHeader(self, QHeaderView)¶
- setHorizontalHeaderItem(self, int, QTableWidgetItem)¶
- setHorizontalHeaderLabels(self, Iterable[str])¶
- setHorizontalScrollBar(self, QScrollBar)¶
- setHorizontalScrollBarPolicy(self, Qt.ScrollBarPolicy)¶
- setHorizontalScrollMode(self, QAbstractItemView.ScrollMode)¶
- setIconSize(self, QSize)¶
- setIndexWidget(self, QModelIndex, QWidget)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- SelfContainedTable.setItem(self, int, int, QTableWidgetItem)
- setItemDelegate(self, QAbstractItemDelegate)¶
- setItemDelegateForColumn(self, int, QAbstractItemDelegate)¶
- setItemDelegateForRow(self, int, QAbstractItemDelegate)¶
- setItemPrototype(self, QTableWidgetItem)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLineWidth(self, int)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- SelfContainedTable.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMidLineWidth(self, int)¶
- setMinimumHeight(self, int)¶
- SelfContainedTable.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setModel(self, QAbstractItemModel)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setRangeSelected(self, QTableWidgetSelectionRange, bool)¶
- setRootIndex(self, QModelIndex)¶
- setRowCount(self, int)¶
- SelfContainedTable.setRowHeight(self, int, int)
- setRowHidden(self, int, bool)¶
- setSelectCallback(function)¶
Use this to specify the command that should be called when selection is changed. Use selectedRows() or selectedCells() function to find out selecteda row(s) or cell(s). <function> should be a callable (no arguments).
- setSelection(self, QRect, Union[QItemSelectionModel.SelectionFlags, QItemSelectionModel.SelectionFlag])¶
- setSelectionBehavior(self, QAbstractItemView.SelectionBehavior)¶
- setSelectionMode(self, QAbstractItemView.SelectionMode)¶
- setSelectionModel(self, QItemSelectionModel)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- setShowGrid(self, bool)¶
- setSizeAdjustPolicy(self, QAbstractScrollArea.SizeAdjustPolicy)¶
- SelfContainedTable.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setSortingEnabled(self, bool)¶
- SelfContainedTable.setSpan(self, int, int, int, int)
- setState(self, QAbstractItemView.State)¶
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- SelfContainedTable.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setTextElideMode(self, Qt.TextElideMode)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVerticalHeader(self, QHeaderView)¶
- setVerticalHeaderItem(self, int, QTableWidgetItem)¶
- setVerticalHeaderLabels(self, Iterable[str])¶
- setVerticalScrollBar(self, QScrollBar)¶
- setVerticalScrollBarPolicy(self, Qt.ScrollBarPolicy)¶
- setVerticalScrollMode(self, QAbstractItemView.ScrollMode)¶
- setViewport(self, QWidget)¶
- SelfContainedTable.setViewportMargins(self, int, int, int, int)
- setViewportMargins(self, QMargins) None ¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- setWordWrap(self, bool)¶
- setupViewport(self, QWidget)¶
- show(self)¶
- showColumn(self, int)¶
- showDropIndicator(self) bool ¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showGrid(self) bool ¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- showRow(self, int)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeAdjustPolicy(self) QAbstractScrollArea.SizeAdjustPolicy ¶
- sizeHint(self) QSize ¶
- sizeHintForColumn(self, int) int ¶
- sizeHintForIndex(self, QModelIndex) QSize ¶
- sizeHintForRow(self, int) int ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- sortByColumn(self, int, Qt.SortOrder)¶
- sortItems(self, int, order: Qt.SortOrder = Qt.AscendingOrder)¶
- stackUnder(self, QWidget)¶
- startDrag(self, Union[Qt.DropActions, Qt.DropAction])¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- state(self) QAbstractItemView.State ¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- supportedDropActions(self) Qt.DropActions ¶
- tabletEvent(self, QTabletEvent)¶
- takeHorizontalHeaderItem(self, int) QTableWidgetItem ¶
- SelfContainedTable.takeItem(self, int, int) -> QTableWidgetItem
- takeVerticalHeaderItem(self, int) QTableWidgetItem ¶
- testAttribute(self, Qt.WidgetAttribute) bool ¶
- textElideMode(self) Qt.TextElideMode ¶
- thread(self) QThread ¶
- timerEvent(self, QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QModelIndex) None
- updateEditorData(self)¶
- updateEditorGeometries(self)¶
- updateGeometries(self)¶
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- verticalHeader(self) QHeaderView ¶
- verticalHeaderItem(self, int) QTableWidgetItem ¶
- verticalOffset(self) int ¶
- verticalScrollBar(self) QScrollBar ¶
- verticalScrollBarPolicy(self) Qt.ScrollBarPolicy ¶
- verticalScrollMode(self) QAbstractItemView.ScrollMode ¶
- verticalScrollbarAction(self, int)¶
- verticalScrollbarValueChanged(self, int)¶
- property vertical_header¶
- viewOptions(self) QStyleOptionViewItem ¶
- viewport(self) QWidget ¶
- viewportEntered¶
viewportEntered(self) [signal]
- viewportEvent(self, QEvent) bool ¶
- viewportMargins(self) QMargins ¶
- viewportSizeHint(self) QSize ¶
- visibleRegion(self) QRegion ¶
- visualColumn(self, int) int ¶
- visualItemRect(self, QTableWidgetItem) QRect ¶
- visualRect(self, QModelIndex) QRect ¶
- visualRegionForSelection(self, QItemSelection) QRegion ¶
- visualRow(self, int) int ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- wordWrap(self) bool ¶
- x(self) int ¶
- y(self) int ¶
- class schrodinger.ui.qt.tablewidget.MyWindow(*args)[source]¶
Bases:
PyQt5.QtWidgets.QWidget
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric¶
Bases:
int
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag¶
Bases:
int
- class RenderFlags¶
- class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
- class RenderFlags(QWidget.RenderFlags) None
Bases:
sip.simplewrapper
- __init__(*args, **kwargs)¶
- acceptDrops(self) bool ¶
- accessibleDescription(self) str ¶
- accessibleName(self) str ¶
- actionEvent(self, QActionEvent)¶
- actions(self) List[QAction] ¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool ¶
- backgroundRole(self) QPalette.ColorRole ¶
- baseSize(self) QSize ¶
- blockSignals(self, bool) bool ¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget ¶
- MyWindow.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject] ¶
- childrenRect(self) QRect ¶
- childrenRegion(self) QRegion ¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool ¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int ¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins ¶
- contentsRect(self) QRect ¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy ¶
- create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget ¶
- cursor(self) QCursor ¶
- customContextMenuRequested¶
customContextMenuRequested(self, QPoint) [signal]
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- depth(self) int ¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- devType(self) int ¶
- devicePixelRatio(self) int ¶
- devicePixelRatioF(self) float ¶
- devicePixelRatioFScale() float ¶
- disconnect(QMetaObject.Connection) bool ¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray] ¶
- effectiveWinId(self) PyQt5.sip.voidptr ¶
- ensurePolished(self)¶
- enterEvent(self, QEvent)¶
- event(self, QEvent) bool ¶
- eventFilter(self, QObject, QEvent) bool ¶
- find(PyQt5.sip.voidptr) QWidget ¶
- findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject ¶
- findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject] ¶
- findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, bool) bool ¶
- focusOutEvent(self, QFocusEvent)¶
- focusPolicy(self) Qt.FocusPolicy ¶
- focusPreviousChild(self) bool ¶
- focusProxy(self) QWidget ¶
- focusWidget(self) QWidget ¶
- font(self) QFont ¶
- fontInfo(self) QFontInfo ¶
- fontMetrics(self) QFontMetrics ¶
- foregroundRole(self) QPalette.ColorRole ¶
- frameGeometry(self) QRect ¶
- frameSize(self) QSize ¶
- geometry(self) QRect ¶
- getContentsMargins(self) Tuple[int, int, int, int] ¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap ¶
- grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int ¶
- graphicsEffect(self) QGraphicsEffect ¶
- graphicsProxyWidget(self) QGraphicsProxyWidget ¶
- hasFocus(self) bool ¶
- hasHeightForWidth(self) bool ¶
- hasMouseTracking(self) bool ¶
- hasTabletTracking(self) bool ¶
- height(self) int ¶
- heightForWidth(self, int) int ¶
- heightMM(self) int ¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- inherits(self, str) bool ¶
- initPainter(self, QPainter)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHints ¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any ¶
- MyWindow.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool ¶
- isAncestorOf(self, QWidget) bool ¶
- isEnabled(self) bool ¶
- isEnabledTo(self, QWidget) bool ¶
- isFullScreen(self) bool ¶
- isHidden(self) bool ¶
- isLeftToRight(self) bool ¶
- isMaximized(self) bool ¶
- isMinimized(self) bool ¶
- isModal(self) bool ¶
- isRightToLeft(self) bool ¶
- isSignalConnected(self, QMetaMethod) bool ¶
- isVisible(self) bool ¶
- isVisibleTo(self, QWidget) bool ¶
- isWidgetType(self) bool ¶
- isWindow(self) bool ¶
- isWindowModified(self) bool ¶
- isWindowType(self) bool ¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget ¶
- killTimer(self, int)¶
- layout(self) QLayout ¶
- layoutDirection(self) Qt.LayoutDirection ¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale ¶
- logicalDpiX(self) int ¶
- logicalDpiY(self) int ¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint ¶
- mapFromGlobal(self, QPoint) QPoint ¶
- mapFromParent(self, QPoint) QPoint ¶
- mapTo(self, QWidget, QPoint) QPoint ¶
- mapToGlobal(self, QPoint) QPoint ¶
- mapToParent(self, QPoint) QPoint ¶
- mask(self) QRegion ¶
- maximumHeight(self) int ¶
- maximumSize(self) QSize ¶
- maximumWidth(self) int ¶
- metaObject(self) QMetaObject ¶
- metric(self, QPaintDevice.PaintDeviceMetric) int ¶
- minimumHeight(self) int ¶
- minimumSize(self) QSize ¶
- minimumSizeHint(self) QSize ¶
- minimumWidth(self) int ¶
- mouseDoubleClickEvent(self, QMouseEvent)¶
- mouseGrabber() QWidget ¶
- mouseMoveEvent(self, QMouseEvent)¶
- mousePressEvent(self, QMouseEvent)¶
- mouseReleaseEvent(self, QMouseEvent)¶
- move(self, QPoint)¶
- MyWindow.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int] ¶
- nativeParentWidget(self) QWidget ¶
- nextInFocusChain(self) QWidget ¶
- normalGeometry(self) QRect ¶
- objectName(self) str ¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- paintEngine(self) QPaintEngine ¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool ¶
- palette(self) QPalette ¶
- parent(self) QObject ¶
- parentWidget(self) QWidget ¶
- physicalDpiX(self) int ¶
- physicalDpiY(self) int ¶
- pos(self) QPoint ¶
- previousInFocusChain(self) QWidget ¶
- property(self, str) Any ¶
- pyqtConfigure(...)¶
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)¶
- receivers(self, PYQT_SIGNAL) int ¶
- rect(self) QRect ¶
- releaseKeyboard(self)¶
- releaseMouse(self)¶
- releaseShortcut(self, int)¶
- removeAction(self, QAction)¶
- removeEventFilter(self, QObject)¶
- render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)¶
- MyWindow.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- MyWindow.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool ¶
- saveGeometry(self) QByteArray ¶
- MyWindow.scroll(self, int, int)
- MyWindow.scroll(self, int, int, QRect) -> None
- sender(self) QObject ¶
- senderSignalIndex(self) int ¶
- setAcceptDrops(self, bool)¶
- setAccessibleDescription(self, str)¶
- setAccessibleName(self, str)¶
- setAttribute(self, Qt.WidgetAttribute, on: bool = True)¶
- setAutoFillBackground(self, bool)¶
- setBackgroundRole(self, QPalette.ColorRole)¶
- MyWindow.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None ¶
- MyWindow.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None ¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- MyWindow.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- MyWindow.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- MyWindow.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None ¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- MyWindow.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None ¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
- setProperty(self, str, Any) bool ¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- MyWindow.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None ¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- MyWindow.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])¶
- setWindowTitle(self, str)¶
- show(self)¶
- showEvent(self, QShowEvent)¶
- showFullScreen(self)¶
- showMaximized(self)¶
- showMinimized(self)¶
- showNormal(self)¶
- signalsBlocked(self) bool ¶
- size(self) QSize ¶
- sizeHint(self) QSize ¶
- sizeIncrement(self) QSize ¶
- sizePolicy(self) QSizePolicy ¶
- stackUnder(self, QWidget)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int ¶
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>¶
- statusTip(self) str ¶
- style(self) QStyle ¶
- styleSheet(self) str ¶
- tabletEvent(self, QTabletEvent)¶
- testAttribute(self, Qt.WidgetAttribute) bool ¶
- thread(self) QThread ¶
- timerEvent(self, QTimerEvent)¶
- toolTip(self) str ¶
- toolTipDuration(self) int ¶
- tr(self, str, disambiguation: str = None, n: int = - 1) str ¶
- underMouse(self) bool ¶
- ungrabGesture(self, Qt.GestureType)¶
- unsetCursor(self)¶
- unsetLayoutDirection(self)¶
- unsetLocale(self)¶
- update(self)¶
- update(self, QRect) None
- update(self, QRegion) None
- MyWindow.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self)¶
- updatesEnabled(self) bool ¶
- visibleRegion(self) QRegion ¶
- whatsThis(self) str ¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int ¶
- widthMM(self) int ¶
- winId(self) PyQt5.sip.voidptr ¶
- window(self) QWidget ¶
- windowFilePath(self) str ¶
- windowFlags(self) Qt.WindowFlags ¶
- windowHandle(self) QWindow ¶
- windowIcon(self) QIcon ¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str ¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality ¶
- windowOpacity(self) float ¶
- windowRole(self) str ¶
- windowState(self) Qt.WindowStates ¶
- windowTitle(self) str ¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType ¶
- x(self) int ¶
- y(self) int ¶