Flow Production Tracking Version Details Widget

Introduction

The version details widget is a Qt widget that renders the activity stream of a Version entity in one tab, and provides a list of related Version entities in another. A detailed view of of the Version entity, plus its associated fields, is provided, with the ability for a user to customize what fields they see.

_images/version_details_notes.png _images/version_details_versions.png

Caching policy

As with the Flow Production Tracking Activity Stream Widget, all the content in the Notes tab is cached, and the widget requests only the changes since the last update.

VersionDetailsWidget

class version_details.VersionDetailsWidget(bg_task_manager, parent=None, entity=None)[source]

Bases: QWidget

QT Widget that displays details and Note thread data for a given Version entity.

Signal entity_created(object):

Fires when a Note or Reply entity is created by an underlying widget within the activity stream. Passes on a Shotgun entity definition in the form of a dict.

Signal entity_loaded(object):

Fires when a Version entity has been loaded by the widget. Passes on a Shotgun entity definition in the form of a dict.

Signal note_selected(int):

Fires when a Note entity is selected in the widget’s note thread stream. Passes on the entity id of the selected note.

Signal note_deselected(int):

Fires when a Note entity is deselected. Passes on the entity id of the selected note.

Signal note_arrived(int, object):

Fires when a new Note entity arrives and is displayed in the widget’s note thread stream. Passes on the entity id and Shotgun entity definition as an int and dict, respectively.

Signal note_metadata_changed(int, str):

Fires when the widget successfully updates a Note entity’s metadata field. The Note entity’s id and the new metadata are passed on.

Signal note_attachment_arrived(int, str):

Fires when an attachment file associated with a Note entity is successfully downloaded. The Note entity id and the path to the file on disk are passed on.

Constructs a new VersionDetailsWidget object.

Parameters:
  • parent – The widget’s parent.

  • bg_task_manager – A BackgroundTaskManager object.

  • entity – A Shotgun Version entity dictionary.

property current_entity

The current Shotgun entity that is OR will become active in the widget.

property is_pinned

Returns True if the panel is pinned and not processing entity updates, and False if it is not pinned.

property note_fields

The list of Note entity field names that are queried and provided when note_arrived is emitted.

Returns:

list(str, …)

property note_threads

The currently loaded Note threads keyed by Note entity id and containing a list of Shotgun entity dictionaries.

Example structure containing a single Note entity:

6038: [
    {
        'content': 'This is a test note.',
        'created_by': {
            'id': 39,
            'name': 'Jeff Beeland',
            'type': 'HumanUser'
        },
        'id': 6038,
        'sg_metadata': None,
        'type': 'Note'
    }
]
property attachments_filter

If set to a compiled regular expression, attachment file names that match will be filtered OUT and NOT shown.

property notes_are_selectable

If True, note entity widgets in the activity stream will be selectable by the user.

property pre_submit_callback

The pre-submit callback function, if one is registered. If so, this Python callable will be run prior to Note or Reply submission, and will be given the calling NoteInputWidget as its first and only argument.

add_note_attachments(file_paths, note_entity, cleanup_after_upload=True)[source]

Adds a given list of files to the note widget as file attachments.

Parameters:
  • file_paths – A list of file paths to attach to the current note.

  • cleanup_after_upload – If True, after the files are uploaded to Shotgun they will be removed from disk.

add_query_fields(fields)[source]

Adds the given list of Shotgun field names to the list of fields that are queried by the version details widget’s internal data model. Adding fields this way does not change the display of information about the entity in any way.

Parameters:

fields ([field_name, ...]) – A list of Shotgun field names to add.

add_version_context_menu_action(action_definition)[source]

Adds an action to the version tab’s context menu.

Action definitions passed in must take the following form:

dict(
    callback=callable,
    text=str,
    required_selection="single"
)

Where the callback is a callable object that expects to receive a list of Version entity dictionaries as returned by the Shotgun Python API. The text key contains the string labels of the action in the QMenu, and the required_selection is one of “single”, “multi”, or “either”. Any action requiring a “single” selection will be enabled only if there is a single item selected in the Version list view, those requiring “multi” selection require 2 or more selected items, and the “either” requirement results in the action being enabled if one or more items are selected.

Parameters:

action_definition (dict) – The action defition to add to the menu. This takes the form of a dictionary of a structure described in the method docs above.

clear()[source]

Clears all data from all widgets and views in the details panel.

select_note(note_id)[source]

Select the note identified by the id. This will trigger a note_selected signal to be emitted

deselect_note()[source]

If a note is currently selected, it will be deselected. This will NOT trigger a note_deselected signal to be emitted, as that is only emitted when the user triggers the deselection and not via procedural means.

download_note_attachments(note_id)[source]

Triggers the attachments linked to the given Note entity to be downloaded.

Parameters:

note_id (int) – The Note entity id.

get_note_attachments(note_id)[source]

Gets the Attachment entities associated with the given Note entity.

Parameters:

note_id (int) – The Note entity id.

load_data(entity)[source]

Loads the given Shotgun entity into the details panel, triggering the notes and versions streams to be updated relative to the given entity.

Parameters:

entity – The Shotgun entity to load. This is a dict in the form returned by the Shotgun Python API.

save_preferences()[source]

Saves user preferences to disk.

set_note_metadata(note_id, metadata)[source]

Sets a Note entity’s metadata in Shotgun.

Parameters:
  • note_id (int) – The Note entity id.

  • metadata (str) – The metadata to set in Shotgun.

set_note_screenshot(image_path)[source]

Takes the given file path to an image and sets the new note widget’s thumbnail image.

Parameters:

image_path (str) – A file path to an image file on disk.

set_pinned(checked)[source]

Sets the “pinned” state of the details panel. When the panel is pinned it will not accept updates. It will, however, record the most recent entity passed to load_data that was not accepted. If the panel is unpinned at a later time, the most recent rejected entity update will be executed at that time.

Parameters:

checked (bool) – True or False

show_new_note_dialog(modal=True)[source]

Shows a dialog that allows the user to input a new note.

Parameters:

modal (bool) – Whether the dialog should be shown modally or not.

show_title_bar_buttons(state)[source]

Sets the visibility of the undock and close buttons in the widget’s title bar.

Parameters:

state (bool) – Whether to show or hide the buttons.

set_version_thumbnail(thumbnail_path, version_id=None)[source]

Sets a Version entity’s thumbnail image in Shotgun. If no Version id is provided, the current Version entity will be updated.

Parameters:
  • thumbnail_path (str) – The path to the thumbnail file on disk.

  • version_id (int) – The Version entity’s id. If not provided then the current Version entity loaded in the widget will be used.

use_styled_title_bar(dock_widget)[source]

If the use of the included, custom styled title bar is desired, the parent QDockWidget can be provided here and the styled title bar will be displayed.

Parameters:

dock_widget – The parent QDockWidget.

acceptDrops(self) bool
accessibleDescription(self) str
accessibleName(self) str
actionEvent(self, event: PySide2.QtGui.QActionEvent) None
actions(self) List[PySide2.QtWidgets.QAction]
activateWindow(self) None
addAction(self, action: PySide2.QtWidgets.QAction) None
addActions(self, actions: Sequence[PySide2.QtWidgets.QAction]) None
adjustSize(self) None
autoFillBackground(self) bool
backgroundRole(self) PySide2.QtGui.QPalette.ColorRole
backingStore(self) PySide2.QtGui.QBackingStore
baseSize(self) PySide2.QtCore.QSize
blockSignals(self, b: bool) bool
changeEvent(self, event: PySide2.QtCore.QEvent) None
childAt(self, p: PySide2.QtCore.QPoint) PySide2.QtWidgets.QWidget
childAt(self, x: int, y: int) PySide2.QtWidgets.QWidget
childEvent(self, event: PySide2.QtCore.QChildEvent) None
children(self) List[PySide2.QtCore.QObject]
childrenRect(self) PySide2.QtCore.QRect
childrenRegion(self) PySide2.QtGui.QRegion
clearFocus(self) None
clearMask(self) None
close(self) bool
closeEvent(self, event: PySide2.QtGui.QCloseEvent) None
colorCount(self) int
static connect(arg__1: PySide2.QtCore.QObject, arg__2: bytes, arg__3: Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(self, arg__1: bytes, arg__2: Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(self, arg__1: bytes, arg__2: PySide2.QtCore.QObject, arg__3: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(self, sender: PySide2.QtCore.QObject, signal: bytes, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
static connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
static connect(sender: PySide2.QtCore.QObject, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
connectNotify(self, signal: PySide2.QtCore.QMetaMethod) None
contentsMargins(self) PySide2.QtCore.QMargins
contentsRect(self) PySide2.QtCore.QRect
contextMenuEvent(self, event: PySide2.QtGui.QContextMenuEvent) None
contextMenuPolicy(self) PySide2.QtCore.Qt.ContextMenuPolicy
create(self, arg__1: int = 0, initializeWindow: bool = True, destroyOldWindow: bool = True) None
createWinId(self) None
static createWindowContainer(window: PySide2.QtGui.QWindow, parent: Optional[PySide2.QtWidgets.QWidget] = None, flags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) PySide2.QtWidgets.QWidget
cursor(self) PySide2.QtGui.QCursor
customEvent(self, event: PySide2.QtCore.QEvent) None
deleteLater(self) None
depth(self) int
destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True) None
devType(self) int
devicePixelRatio(self) int
devicePixelRatioF(self) float
static devicePixelRatioFScale() float
static disconnect(arg__1: PySide2.QtCore.QMetaObject.Connection) bool
static disconnect(arg__1: PySide2.QtCore.QObject, arg__2: bytes, arg__3: Callable) bool
static disconnect(self, arg__1: bytes, arg__2: Callable) bool
static disconnect(self, receiver: PySide2.QtCore.QObject, member: Optional[bytes] = None) bool
static disconnect(self, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) bool
static disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) bool
static disconnect(sender: PySide2.QtCore.QObject, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) bool
disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod) None
dragEnterEvent(self, event: PySide2.QtGui.QDragEnterEvent) None
dragLeaveEvent(self, event: PySide2.QtGui.QDragLeaveEvent) None
dragMoveEvent(self, event: PySide2.QtGui.QDragMoveEvent) None
dropEvent(self, event: PySide2.QtGui.QDropEvent) None
dumpObjectInfo(self) None
dumpObjectTree(self) None
dynamicPropertyNames(self) List[PySide2.QtCore.QByteArray]
effectiveWinId(self) int
emit(self, arg__1: bytes, *args: None) bool
ensurePolished(self) None
enterEvent(self, event: PySide2.QtCore.QEvent) None
event(self, event: PySide2.QtCore.QEvent) bool
eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) bool
static find(arg__1: int) PySide2.QtWidgets.QWidget
findChild(self, arg__1: type, arg__2: str = '') object
findChildren(self, arg__1: type, arg__2: PySide2.QtCore.QRegExp) Iterable
findChildren(self, arg__1: type, arg__2: PySide2.QtCore.QRegularExpression) Iterable
findChildren(self, arg__1: type, arg__2: str = '') Iterable
focusInEvent(self, event: PySide2.QtGui.QFocusEvent) None
focusNextChild(self) bool
focusNextPrevChild(self, next: bool) bool
focusOutEvent(self, event: PySide2.QtGui.QFocusEvent) None
focusPolicy(self) PySide2.QtCore.Qt.FocusPolicy
focusPreviousChild(self) bool
focusProxy(self) PySide2.QtWidgets.QWidget
focusWidget(self) PySide2.QtWidgets.QWidget
font(self) PySide2.QtGui.QFont
fontInfo(self) PySide2.QtGui.QFontInfo
fontMetrics(self) PySide2.QtGui.QFontMetrics
foregroundRole(self) PySide2.QtGui.QPalette.ColorRole
frameGeometry(self) PySide2.QtCore.QRect
frameSize(self) PySide2.QtCore.QSize
geometry(self) PySide2.QtCore.QRect
getContentsMargins(self) Tuple[int, int, int, int]
grab(self, rectangle: PySide2.QtCore.QRect = PySide2.QtCore.QRect(0, 0, -1, -1)) PySide2.QtGui.QPixmap
grabGesture(self, type: PySide2.QtCore.Qt.GestureType, flags: PySide2.QtCore.Qt.GestureFlags = Default(Qt.GestureFlags)) None
grabKeyboard(self) None
grabMouse(self) None
grabMouse(self, arg__1: PySide2.QtGui.QCursor) None
grabShortcut(self, key: PySide2.QtGui.QKeySequence, context: PySide2.QtCore.Qt.ShortcutContext = PySide2.QtCore.Qt.ShortcutContext.WindowShortcut) int
graphicsEffect(self) PySide2.QtWidgets.QGraphicsEffect
graphicsProxyWidget(self) PySide2.QtWidgets.QGraphicsProxyWidget
hasFocus(self) bool
hasHeightForWidth(self) bool
hasMouseTracking(self) bool
hasTabletTracking(self) bool
height(self) int
heightForWidth(self, arg__1: int) int
heightMM(self) int
hide(self) None
hideEvent(self, event: PySide2.QtGui.QHideEvent) None
inherits(self, classname: bytes) bool
initPainter(self, painter: PySide2.QtGui.QPainter) None
inputMethodEvent(self, event: PySide2.QtGui.QInputMethodEvent) None
inputMethodHints(self) PySide2.QtCore.Qt.InputMethodHints
inputMethodQuery(self, arg__1: PySide2.QtCore.Qt.InputMethodQuery) Any
insertAction(self, before: PySide2.QtWidgets.QAction, action: PySide2.QtWidgets.QAction) None
insertActions(self, before: PySide2.QtWidgets.QAction, actions: Sequence[PySide2.QtWidgets.QAction]) None
installEventFilter(self, filterObj: PySide2.QtCore.QObject) None
internalWinId(self) int
isActiveWindow(self) bool
isAncestorOf(self, child: PySide2.QtWidgets.QWidget) bool
isEnabled(self) bool
isEnabledTo(self, arg__1: PySide2.QtWidgets.QWidget) bool
isEnabledToTLW(self) bool
isFullScreen(self) bool
isHidden(self) bool
isLeftToRight(self) bool
isMaximized(self) bool
isMinimized(self) bool
isModal(self) bool
isRightToLeft(self) bool
isSignalConnected(self, signal: PySide2.QtCore.QMetaMethod) bool
isTopLevel(self) bool
isVisible(self) bool
isVisibleTo(self, arg__1: PySide2.QtWidgets.QWidget) bool
isWidgetType(self) bool
isWindow(self) bool
isWindowModified(self) bool
isWindowType(self) bool
keyPressEvent(self, event: PySide2.QtGui.QKeyEvent) None
keyReleaseEvent(self, event: PySide2.QtGui.QKeyEvent) None
static keyboardGrabber() PySide2.QtWidgets.QWidget
killTimer(self, id: int) None
layout(self) PySide2.QtWidgets.QLayout
layoutDirection(self) PySide2.QtCore.Qt.LayoutDirection
leaveEvent(self, event: PySide2.QtCore.QEvent) None
locale(self) PySide2.QtCore.QLocale
logicalDpiX(self) int
logicalDpiY(self) int
lower(self) None
mapFrom(self, arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapFromGlobal(self, arg__1: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapFromParent(self, arg__1: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapTo(self, arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapToGlobal(self, arg__1: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mapToParent(self, arg__1: PySide2.QtCore.QPoint) PySide2.QtCore.QPoint
mask(self) PySide2.QtGui.QRegion
maximumHeight(self) int
maximumSize(self) PySide2.QtCore.QSize
maximumWidth(self) int
metaObject(self) PySide2.QtCore.QMetaObject
metric(self, arg__1: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) int
minimumHeight(self) int
minimumSize(self) PySide2.QtCore.QSize
minimumSizeHint(self) PySide2.QtCore.QSize
minimumWidth(self) int
mouseDoubleClickEvent(self, event: PySide2.QtGui.QMouseEvent) None
static mouseGrabber() PySide2.QtWidgets.QWidget
mouseMoveEvent(self, event: PySide2.QtGui.QMouseEvent) None
mousePressEvent(self, event: PySide2.QtGui.QMouseEvent) None
mouseReleaseEvent(self, event: PySide2.QtGui.QMouseEvent) None
move(self, arg__1: PySide2.QtCore.QPoint) None
move(self, x: int, y: int) None
moveEvent(self, event: PySide2.QtGui.QMoveEvent) None
moveToThread(self, thread: PySide2.QtCore.QThread) None
nativeEvent(self, eventType: PySide2.QtCore.QByteArray, message: int) Tuple[bool, int]
nativeParentWidget(self) PySide2.QtWidgets.QWidget
nextInFocusChain(self) PySide2.QtWidgets.QWidget
normalGeometry(self) PySide2.QtCore.QRect
objectName(self) str
overrideWindowFlags(self, type: PySide2.QtCore.Qt.WindowFlags) None
overrideWindowState(self, state: PySide2.QtCore.Qt.WindowStates) None
paintEngine(self) PySide2.QtGui.QPaintEngine
paintEvent(self, event: PySide2.QtGui.QPaintEvent) None
paintingActive(self) bool
palette(self) PySide2.QtGui.QPalette
parent(self) PySide2.QtCore.QObject
parentWidget(self) PySide2.QtWidgets.QWidget
physicalDpiX(self) int
physicalDpiY(self) int
pos(self) PySide2.QtCore.QPoint
previousInFocusChain(self) PySide2.QtWidgets.QWidget
property(self, name: bytes) Any
raise_(self) None
receivers(self, signal: bytes) int
rect(self) PySide2.QtCore.QRect
redirected(self, offset: PySide2.QtCore.QPoint) PySide2.QtGui.QPaintDevice
static registerUserData() int
releaseKeyboard(self) None
releaseMouse(self) None
releaseShortcut(self, id: int) None
removeAction(self, action: PySide2.QtWidgets.QAction) None
removeEventFilter(self, obj: PySide2.QtCore.QObject) None
render(self, painter: PySide2.QtGui.QPainter, targetOffset: PySide2.QtCore.QPoint, sourceRegion: PySide2.QtGui.QRegion = Default(QRegion), renderFlags: PySide2.QtWidgets.QWidget.RenderFlags = Instance(QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))) None
render(self, target: PySide2.QtGui.QPaintDevice, targetOffset: PySide2.QtCore.QPoint = Default(QPoint), sourceRegion: PySide2.QtGui.QRegion = Default(QRegion), renderFlags: PySide2.QtWidgets.QWidget.RenderFlags = Instance(QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))) None
repaint(self) None
repaint(self, arg__1: PySide2.QtCore.QRect) None
repaint(self, arg__1: PySide2.QtGui.QRegion) None
repaint(self, x: int, y: int, w: int, h: int) None
resize(self, arg__1: PySide2.QtCore.QSize) None
resize(self, w: int, h: int) None
resizeEvent(self, event: PySide2.QtGui.QResizeEvent) None
restoreGeometry(self, geometry: PySide2.QtCore.QByteArray) bool
saveGeometry(self) PySide2.QtCore.QByteArray
screen(self) PySide2.QtGui.QScreen
scroll(self, dx: int, dy: int) None
scroll(self, dx: int, dy: int, arg__3: PySide2.QtCore.QRect) None
sender(self) PySide2.QtCore.QObject
senderSignalIndex(self) int
setAcceptDrops(self, on: bool) None
setAccessibleDescription(self, description: str) None
setAccessibleName(self, name: str) None
setAttribute(self, arg__1: PySide2.QtCore.Qt.WidgetAttribute, on: bool = True) None
setAutoFillBackground(self, enabled: bool) None
setBackgroundRole(self, arg__1: PySide2.QtGui.QPalette.ColorRole) None
setBaseSize(self, arg__1: PySide2.QtCore.QSize) None
setBaseSize(self, basew: int, baseh: int) None
setContentsMargins(self, left: int, top: int, right: int, bottom: int) None
setContentsMargins(self, margins: PySide2.QtCore.QMargins) None
setContextMenuPolicy(self, policy: PySide2.QtCore.Qt.ContextMenuPolicy) None
setCursor(self, arg__1: PySide2.QtGui.QCursor) None
setDisabled(self, arg__1: bool) None
setEnabled(self, arg__1: bool) None
setFixedHeight(self, h: int) None
setFixedSize(self, arg__1: PySide2.QtCore.QSize) None
setFixedSize(self, w: int, h: int) None
setFixedWidth(self, w: int) None
setFocus(self) None
setFocus(self, reason: PySide2.QtCore.Qt.FocusReason) None
setFocusPolicy(self, policy: PySide2.QtCore.Qt.FocusPolicy) None
setFocusProxy(self, arg__1: PySide2.QtWidgets.QWidget) None
setFont(self, arg__1: PySide2.QtGui.QFont) None
setForegroundRole(self, arg__1: PySide2.QtGui.QPalette.ColorRole) None
setGeometry(self, arg__1: PySide2.QtCore.QRect) None
setGeometry(self, x: int, y: int, w: int, h: int) None
setGraphicsEffect(self, effect: PySide2.QtWidgets.QGraphicsEffect) None
setHidden(self, hidden: bool) None
setInputMethodHints(self, hints: PySide2.QtCore.Qt.InputMethodHints) None
setLayout(self, arg__1: PySide2.QtWidgets.QLayout) None
setLayoutDirection(self, direction: PySide2.QtCore.Qt.LayoutDirection) None
setLocale(self, locale: PySide2.QtCore.QLocale) None
setMask(self, arg__1: PySide2.QtGui.QBitmap) None
setMask(self, arg__1: PySide2.QtGui.QRegion) None
setMaximumHeight(self, maxh: int) None
setMaximumSize(self, arg__1: PySide2.QtCore.QSize) None
setMaximumSize(self, maxw: int, maxh: int) None
setMaximumWidth(self, maxw: int) None
setMinimumHeight(self, minh: int) None
setMinimumSize(self, arg__1: PySide2.QtCore.QSize) None
setMinimumSize(self, minw: int, minh: int) None
setMinimumWidth(self, minw: int) None
setMouseTracking(self, enable: bool) None
setObjectName(self, name: str) None
setPalette(self, arg__1: PySide2.QtGui.QPalette) None
setParent(self, parent: PySide2.QtCore.QObject) None
setParent(self, parent: PySide2.QtWidgets.QWidget) None
setParent(self, parent: PySide2.QtWidgets.QWidget, f: PySide2.QtCore.Qt.WindowFlags) None
setProperty(self, name: bytes, value: Any) bool
setShortcutAutoRepeat(self, id: int, enable: bool = True) None
setShortcutEnabled(self, id: int, enable: bool = True) None
setSizeIncrement(self, arg__1: PySide2.QtCore.QSize) None
setSizeIncrement(self, w: int, h: int) None
setSizePolicy(self, arg__1: PySide2.QtWidgets.QSizePolicy) None
setSizePolicy(self, horizontal: PySide2.QtWidgets.QSizePolicy.Policy, vertical: PySide2.QtWidgets.QSizePolicy.Policy) None
setStatusTip(self, arg__1: str) None
setStyle(self, arg__1: PySide2.QtWidgets.QStyle) None
setStyleSheet(self, styleSheet: str) None
static setTabOrder(arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtWidgets.QWidget) None
setTabletTracking(self, enable: bool) None
setToolTip(self, arg__1: str) None
setToolTipDuration(self, msec: int) None
setUpdatesEnabled(self, enable: bool) None
setVisible(self, visible: bool) None
setWhatsThis(self, arg__1: str) None
setWindowFilePath(self, filePath: str) None
setWindowFlag(self, arg__1: PySide2.QtCore.Qt.WindowType, on: bool = True) None
setWindowFlags(self, type: PySide2.QtCore.Qt.WindowFlags) None
setWindowIcon(self, icon: PySide2.QtGui.QIcon) None
setWindowIconText(self, arg__1: str) None
setWindowModality(self, windowModality: PySide2.QtCore.Qt.WindowModality) None
setWindowModified(self, arg__1: bool) None
setWindowOpacity(self, level: float) None
setWindowRole(self, arg__1: str) None
setWindowState(self, state: PySide2.QtCore.Qt.WindowStates) None
setWindowTitle(self, arg__1: str) None
sharedPainter(self) PySide2.QtGui.QPainter
show(self) None
showEvent(self, event: PySide2.QtGui.QShowEvent) None
showFullScreen(self) None
showMaximized(self) None
showMinimized(self) None
showNormal(self) None
signalsBlocked(self) bool
size(self) PySide2.QtCore.QSize
sizeHint(self) PySide2.QtCore.QSize
sizeIncrement(self) PySide2.QtCore.QSize
sizePolicy(self) PySide2.QtWidgets.QSizePolicy
stackUnder(self, arg__1: PySide2.QtWidgets.QWidget) None
startTimer(self, interval: int, timerType: PySide2.QtCore.Qt.TimerType = PySide2.QtCore.Qt.TimerType.CoarseTimer) int
statusTip(self) str
style(self) PySide2.QtWidgets.QStyle
styleSheet(self) str
tabletEvent(self, event: PySide2.QtGui.QTabletEvent) None
testAttribute(self, arg__1: PySide2.QtCore.Qt.WidgetAttribute) bool
thread(self) PySide2.QtCore.QThread
timerEvent(self, event: PySide2.QtCore.QTimerEvent) None
toolTip(self) str
toolTipDuration(self) int
topLevelWidget(self) PySide2.QtWidgets.QWidget
tr(self, arg__1: bytes, arg__2: bytes = b'', arg__3: int = -1) str
underMouse(self) bool
ungrabGesture(self, type: PySide2.QtCore.Qt.GestureType) None
unsetCursor(self) None
unsetLayoutDirection(self) None
unsetLocale(self) None
update(self) None
update(self, arg__1: PySide2.QtCore.QRect) None
update(self, arg__1: PySide2.QtGui.QRegion) None
update(self, x: int, y: int, w: int, h: int) None
updateGeometry(self) None
updateMicroFocus(self) None
updatesEnabled(self) bool
visibleRegion(self) PySide2.QtGui.QRegion
whatsThis(self) str
wheelEvent(self, event: PySide2.QtGui.QWheelEvent) None
width(self) int
widthMM(self) int
winId(self) int
window(self) PySide2.QtWidgets.QWidget
windowFilePath(self) str
windowFlags(self) PySide2.QtCore.Qt.WindowFlags
windowHandle(self) PySide2.QtGui.QWindow
windowIcon(self) PySide2.QtGui.QIcon
windowIconText(self) str
windowModality(self) PySide2.QtCore.Qt.WindowModality
windowOpacity(self) float
windowRole(self) str
windowState(self) PySide2.QtCore.Qt.WindowStates
windowTitle(self) str
windowType(self) PySide2.QtCore.Qt.WindowType
x(self) int
y(self) int