An open source DAW for GNU/Linux, inspired by modular synths.
http://noisicaa.odahoda.de/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9728 lines
489 KiB
9728 lines
489 KiB
# The PEP 484 type hints stub file for the QtWidgets module. |
|
# |
|
# Generated by SIP 4.19.8 |
|
# |
|
# Copyright (c) 2018 Riverbank Computing Limited <info@riverbankcomputing.com> |
|
# |
|
# This file is part of PyQt5. |
|
# |
|
# This file may be used under the terms of the GNU General Public License |
|
# version 3.0 as published by the Free Software Foundation and appearing in |
|
# the file LICENSE included in the packaging of this file. Please review the |
|
# following information to ensure the GNU General Public License version 3.0 |
|
# requirements will be met: http://www.gnu.org/copyleft/gpl.html. |
|
# |
|
# If you do not wish to use this file under the terms of the GPL version 3.0 |
|
# then you may purchase a commercial license. For more information contact |
|
# info@riverbankcomputing.com. |
|
# |
|
# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
|
# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
|
|
|
|
|
import typing |
|
import sip |
|
|
|
from PyQt5 import QtGui |
|
from PyQt5 import QtCore |
|
|
|
# Support for QDate, QDateTime and QTime. |
|
import datetime |
|
|
|
# Convenient type aliases. |
|
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal] |
|
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal] |
|
|
|
# Convenient aliases for complicated OpenGL types. |
|
PYQT_OPENGL_ARRAY = typing.Union[typing.Sequence[int], typing.Sequence[float], |
|
sip.Buffer, None] |
|
PYQT_OPENGL_BOUND_ARRAY = typing.Union[typing.Sequence[int], |
|
typing.Sequence[float], sip.Buffer, int, None] |
|
|
|
|
|
class QWidget(QtCore.QObject, QtGui.QPaintDevice): |
|
|
|
class RenderFlag(int): ... |
|
DrawWindowBackground = ... # type: 'QWidget.RenderFlag' |
|
DrawChildren = ... # type: 'QWidget.RenderFlag' |
|
IgnoreMask = ... # type: 'QWidget.RenderFlag' |
|
|
|
class RenderFlags(sip.simplewrapper): |
|
|
|
@typing.overload |
|
def __init__(self) -> None: ... |
|
@typing.overload |
|
def __init__(self, f: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag']) -> None: ... |
|
@typing.overload |
|
def __init__(self, a0: 'QWidget.RenderFlags') -> None: ... |
|
|
|
def __hash__(self) -> int: ... |
|
def __bool__(self) -> int: ... |
|
def __invert__(self) -> 'QWidget.RenderFlags': ... |
|
def __int__(self) -> int: ... |
|
|
|
def __init__(self, parent: typing.Optional['QWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... |
|
|
|
def setWindowFlag(self, a0: QtCore.Qt.WindowType, on: bool = ...) -> None: ... |
|
def hasTabletTracking(self) -> bool: ... |
|
def setTabletTracking(self, enable: bool) -> None: ... |
|
def windowIconTextChanged(self, iconText: str) -> None: ... |
|
def windowIconChanged(self, icon: QtGui.QIcon) -> None: ... |
|
def windowTitleChanged(self, title: str) -> None: ... |
|
def toolTipDuration(self) -> int: ... |
|
def setToolTipDuration(self, msec: int) -> None: ... |
|
def initPainter(self, painter: QtGui.QPainter) -> None: ... |
|
def sharedPainter(self) -> QtGui.QPainter: ... |
|
def nativeEvent(self, eventType: typing.Union[QtCore.QByteArray, bytes, bytearray], message: sip.voidptr) -> typing.Tuple[bool, int]: ... |
|
def windowHandle(self) -> QtGui.QWindow: ... |
|
@staticmethod |
|
def createWindowContainer(window: QtGui.QWindow, parent: typing.Optional['QWidget'] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> 'QWidget': ... |
|
def grab(self, rectangle: QtCore.QRect = ...) -> QtGui.QPixmap: ... |
|
def hasHeightForWidth(self) -> bool: ... |
|
def setInputMethodHints(self, hints: typing.Union[QtCore.Qt.InputMethodHints, QtCore.Qt.InputMethodHint]) -> None: ... |
|
def inputMethodHints(self) -> QtCore.Qt.InputMethodHints: ... |
|
def previousInFocusChain(self) -> 'QWidget': ... |
|
def contentsMargins(self) -> QtCore.QMargins: ... |
|
def ungrabGesture(self, type: QtCore.Qt.GestureType) -> None: ... |
|
def grabGesture(self, type: QtCore.Qt.GestureType, flags: typing.Union[QtCore.Qt.GestureFlags, QtCore.Qt.GestureFlag] = ...) -> None: ... |
|
def setGraphicsEffect(self, effect: 'QGraphicsEffect') -> None: ... |
|
def graphicsEffect(self) -> 'QGraphicsEffect': ... |
|
def graphicsProxyWidget(self) -> 'QGraphicsProxyWidget': ... |
|
def windowFilePath(self) -> str: ... |
|
def setWindowFilePath(self, filePath: str) -> None: ... |
|
def nativeParentWidget(self) -> 'QWidget': ... |
|
def effectiveWinId(self) -> sip.voidptr: ... |
|
def unsetLocale(self) -> None: ... |
|
def locale(self) -> QtCore.QLocale: ... |
|
def setLocale(self, locale: QtCore.QLocale) -> None: ... |
|
@typing.overload |
|
def render(self, target: QtGui.QPaintDevice, targetOffset: QtCore.QPoint = ..., sourceRegion: QtGui.QRegion = ..., flags: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag'] = ...) -> None: ... |
|
@typing.overload |
|
def render(self, painter: QtGui.QPainter, targetOffset: QtCore.QPoint = ..., sourceRegion: QtGui.QRegion = ..., flags: typing.Union['QWidget.RenderFlags', 'QWidget.RenderFlag'] = ...) -> None: ... |
|
def restoreGeometry(self, geometry: typing.Union[QtCore.QByteArray, bytes, bytearray]) -> bool: ... |
|
def saveGeometry(self) -> QtCore.QByteArray: ... |
|
def setShortcutAutoRepeat(self, id: int, enabled: bool = ...) -> None: ... |
|
def styleSheet(self) -> str: ... |
|
def setStyleSheet(self, styleSheet: str) -> None: ... |
|
def setAutoFillBackground(self, enabled: bool) -> None: ... |
|
def autoFillBackground(self) -> bool: ... |
|
def setWindowModality(self, windowModality: QtCore.Qt.WindowModality) -> None: ... |
|
def windowModality(self) -> QtCore.Qt.WindowModality: ... |
|
def testAttribute(self, attribute: QtCore.Qt.WidgetAttribute) -> bool: ... |
|
def parentWidget(self) -> 'QWidget': ... |
|
def height(self) -> int: ... |
|
def width(self) -> int: ... |
|
def size(self) -> QtCore.QSize: ... |
|
def geometry(self) -> QtCore.QRect: ... |
|
def rect(self) -> QtCore.QRect: ... |
|
def isHidden(self) -> bool: ... |
|
def isVisible(self) -> bool: ... |
|
def updatesEnabled(self) -> bool: ... |
|
def underMouse(self) -> bool: ... |
|
def hasMouseTracking(self) -> bool: ... |
|
def setMouseTracking(self, enable: bool) -> None: ... |
|
def fontInfo(self) -> QtGui.QFontInfo: ... |
|
def fontMetrics(self) -> QtGui.QFontMetrics: ... |
|
def font(self) -> QtGui.QFont: ... |
|
def maximumHeight(self) -> int: ... |
|
def maximumWidth(self) -> int: ... |
|
def minimumHeight(self) -> int: ... |
|
def minimumWidth(self) -> int: ... |
|
def isModal(self) -> bool: ... |
|
def isEnabled(self) -> bool: ... |
|
def isWindow(self) -> bool: ... |
|
def winId(self) -> sip.voidptr: ... |
|
def windowFlags(self) -> QtCore.Qt.WindowFlags: ... |
|
def windowType(self) -> QtCore.Qt.WindowType: ... |
|
def focusPreviousChild(self) -> bool: ... |
|
def focusNextChild(self) -> bool: ... |
|
def focusNextPrevChild(self, next: bool) -> bool: ... |
|
def destroy(self, destroyWindow: bool = ..., destroySubWindows: bool = ...) -> None: ... |
|
def create(self, window: sip.voidptr = ..., initializeWindow: bool = ..., destroyOldWindow: bool = ...) -> None: ... |
|
def updateMicroFocus(self) -> None: ... |
|
def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... |
|
def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ... |
|
def metric(self, a0: QtGui.QPaintDevice.PaintDeviceMetric) -> int: ... |
|
def changeEvent(self, a0: QtCore.QEvent) -> None: ... |
|
def hideEvent(self, a0: QtGui.QHideEvent) -> None: ... |
|
def showEvent(self, a0: QtGui.QShowEvent) -> None: ... |
|
def dropEvent(self, a0: QtGui.QDropEvent) -> None: ... |
|
def dragLeaveEvent(self, a0: QtGui.QDragLeaveEvent) -> None: ... |
|
def dragMoveEvent(self, a0: QtGui.QDragMoveEvent) -> None: ... |
|
def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ... |
|
def actionEvent(self, a0: QtGui.QActionEvent) -> None: ... |
|
def tabletEvent(self, a0: QtGui.QTabletEvent) -> None: ... |
|
def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... |
|
def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ... |
|
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... |
|
def moveEvent(self, a0: QtGui.QMoveEvent) -> None: ... |
|
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... |
|
def leaveEvent(self, a0: QtCore.QEvent) -> None: ... |
|
def enterEvent(self, a0: QtCore.QEvent) -> None: ... |
|
def focusOutEvent(self, a0: QtGui.QFocusEvent) -> None: ... |
|
def focusInEvent(self, a0: QtGui.QFocusEvent) -> None: ... |
|
def keyReleaseEvent(self, a0: QtGui.QKeyEvent) -> None: ... |
|
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... |
|
def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ... |
|
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def event(self, a0: QtCore.QEvent) -> bool: ... |
|
def customContextMenuRequested(self, pos: QtCore.QPoint) -> None: ... |
|
def isAncestorOf(self, child: 'QWidget') -> bool: ... |
|
def ensurePolished(self) -> None: ... |
|
def paintEngine(self) -> QtGui.QPaintEngine: ... |
|
def setAttribute(self, attribute: QtCore.Qt.WidgetAttribute, on: bool = ...) -> None: ... |
|
@typing.overload |
|
def childAt(self, p: QtCore.QPoint) -> 'QWidget': ... |
|
@typing.overload |
|
def childAt(self, ax: int, ay: int) -> 'QWidget': ... |
|
@staticmethod |
|
def find(a0: sip.voidptr) -> 'QWidget': ... |
|
def overrideWindowFlags(self, type: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... |
|
def setWindowFlags(self, type: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... |
|
def actions(self) -> typing.List['QAction']: ... |
|
def removeAction(self, action: 'QAction') -> None: ... |
|
def insertActions(self, before: 'QAction', actions: typing.Iterable['QAction']) -> None: ... |
|
def insertAction(self, before: 'QAction', action: 'QAction') -> None: ... |
|
def addActions(self, actions: typing.Any) -> None: ... |
|
def addAction(self, action: 'QAction') -> None: ... |
|
def setAcceptDrops(self, on: bool) -> None: ... |
|
def acceptDrops(self) -> bool: ... |
|
def nextInFocusChain(self) -> 'QWidget': ... |
|
def focusWidget(self) -> 'QWidget': ... |
|
@typing.overload |
|
def scroll(self, dx: int, dy: int) -> None: ... |
|
@typing.overload |
|
def scroll(self, dx: int, dy: int, a2: QtCore.QRect) -> None: ... |
|
#@typing.overload |
|
#def setParent(self, parent: 'QWidget') -> None: ... |
|
#@typing.overload |
|
#def setParent(self, parent: 'QWidget', f: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType]) -> None: ... |
|
def updateGeometry(self) -> None: ... |
|
def setLayout(self, a0: 'QLayout') -> None: ... |
|
def layout(self) -> 'QLayout': ... |
|
def contentsRect(self) -> QtCore.QRect: ... |
|
def getContentsMargins(self) -> typing.Tuple[int, int, int, int]: ... |
|
@typing.overload |
|
def setContentsMargins(self, left: int, top: int, right: int, bottom: int) -> None: ... |
|
@typing.overload |
|
def setContentsMargins(self, margins: QtCore.QMargins) -> None: ... |
|
def visibleRegion(self) -> QtGui.QRegion: ... |
|
def heightForWidth(self, a0: int) -> int: ... |
|
@typing.overload |
|
def setSizePolicy(self, a0: 'QSizePolicy') -> None: ... |
|
@typing.overload |
|
def setSizePolicy(self, hor: 'QSizePolicy.Policy', ver: 'QSizePolicy.Policy') -> None: ... |
|
def sizePolicy(self) -> 'QSizePolicy': ... |
|
def minimumSizeHint(self) -> QtCore.QSize: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
def overrideWindowState(self, state: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ... |
|
def setWindowState(self, state: typing.Union[QtCore.Qt.WindowStates, QtCore.Qt.WindowState]) -> None: ... |
|
def windowState(self) -> QtCore.Qt.WindowStates: ... |
|
def isFullScreen(self) -> bool: ... |
|
def isMaximized(self) -> bool: ... |
|
def isMinimized(self) -> bool: ... |
|
def isVisibleTo(self, a0: 'QWidget') -> bool: ... |
|
def adjustSize(self) -> None: ... |
|
@typing.overload |
|
def setGeometry(self, a0: QtCore.QRect) -> None: ... |
|
@typing.overload |
|
def setGeometry(self, ax: int, ay: int, aw: int, ah: int) -> None: ... |
|
@typing.overload |
|
def resize(self, a0: QtCore.QSize) -> None: ... |
|
@typing.overload |
|
def resize(self, w: int, h: int) -> None: ... |
|
@typing.overload |
|
def move(self, a0: QtCore.QPoint) -> None: ... |
|
@typing.overload |
|
def move(self, ax: int, ay: int) -> None: ... |
|
def stackUnder(self, a0: 'QWidget') -> None: ... |
|
def lower(self) -> None: ... |
|
def raise_(self) -> None: ... |
|
def close(self) -> bool: ... |
|
def showNormal(self) -> None: ... |
|
def showFullScreen(self) -> None: ... |
|
def showMaximized(self) -> None: ... |
|
def showMinimized(self) -> None: ... |
|
def hide(self) -> None: ... |
|
def show(self) -> None: ... |
|
def setHidden(self, hidden: bool) -> None: ... |
|
def setVisible(self, visible: bool) -> None: ... |
|
@typing.overload |
|
def repaint(self) -> None: ... |
|
@typing.overload |
|
def repaint(self, x: int, y: int, w: int, h: int) -> None: ... |
|
@typing.overload |
|
def repaint(self, a0: QtCore.QRect) -> None: ... |
|
@typing.overload |
|
def repaint(self, a0: QtGui.QRegion) -> None: ... |
|
@typing.overload |
|
def update(self) -> None: ... |
|
@typing.overload |
|
def update(self, a0: QtCore.QRect) -> None: ... |
|
@typing.overload |
|
def update(self, a0: QtGui.QRegion) -> None: ... |
|
@typing.overload |
|
def update(self, ax: int, ay: int, aw: int, ah: int) -> None: ... |
|
def setUpdatesEnabled(self, enable: bool) -> None: ... |
|
@staticmethod |
|
def keyboardGrabber() -> 'QWidget': ... |
|
@staticmethod |
|
def mouseGrabber() -> 'QWidget': ... |
|
def setShortcutEnabled(self, id: int, enabled: bool = ...) -> None: ... |
|
def releaseShortcut(self, id: int) -> None: ... |
|
def grabShortcut(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int], context: QtCore.Qt.ShortcutContext = ...) -> int: ... |
|
def releaseKeyboard(self) -> None: ... |
|
def grabKeyboard(self) -> None: ... |
|
def releaseMouse(self) -> None: ... |
|
@typing.overload |
|
def grabMouse(self) -> None: ... |
|
@typing.overload |
|
def grabMouse(self, a0: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ... |
|
def setContextMenuPolicy(self, policy: QtCore.Qt.ContextMenuPolicy) -> None: ... |
|
def contextMenuPolicy(self) -> QtCore.Qt.ContextMenuPolicy: ... |
|
def focusProxy(self) -> 'QWidget': ... |
|
def setFocusProxy(self, a0: 'QWidget') -> None: ... |
|
@staticmethod |
|
def setTabOrder(a0: 'QWidget', a1: 'QWidget') -> None: ... |
|
def hasFocus(self) -> bool: ... |
|
def setFocusPolicy(self, policy: QtCore.Qt.FocusPolicy) -> None: ... |
|
def focusPolicy(self) -> QtCore.Qt.FocusPolicy: ... |
|
def clearFocus(self) -> None: ... |
|
def activateWindow(self) -> None: ... |
|
def isActiveWindow(self) -> bool: ... |
|
@typing.overload |
|
def setFocus(self) -> None: ... |
|
@typing.overload |
|
def setFocus(self, reason: QtCore.Qt.FocusReason) -> None: ... |
|
def isLeftToRight(self) -> bool: ... |
|
def isRightToLeft(self) -> bool: ... |
|
def unsetLayoutDirection(self) -> None: ... |
|
def layoutDirection(self) -> QtCore.Qt.LayoutDirection: ... |
|
def setLayoutDirection(self, direction: QtCore.Qt.LayoutDirection) -> None: ... |
|
def setAccessibleDescription(self, description: str) -> None: ... |
|
def accessibleDescription(self) -> str: ... |
|
def setAccessibleName(self, name: str) -> None: ... |
|
def accessibleName(self) -> str: ... |
|
def whatsThis(self) -> str: ... |
|
def setWhatsThis(self, a0: str) -> None: ... |
|
def statusTip(self) -> str: ... |
|
def setStatusTip(self, a0: str) -> None: ... |
|
def toolTip(self) -> str: ... |
|
def setToolTip(self, a0: str) -> None: ... |
|
def isWindowModified(self) -> bool: ... |
|
def windowOpacity(self) -> float: ... |
|
def setWindowOpacity(self, level: float) -> None: ... |
|
def windowRole(self) -> str: ... |
|
def setWindowRole(self, a0: str) -> None: ... |
|
def windowIconText(self) -> str: ... |
|
def setWindowIconText(self, a0: str) -> None: ... |
|
def windowIcon(self) -> QtGui.QIcon: ... |
|
def setWindowIcon(self, icon: QtGui.QIcon) -> None: ... |
|
def windowTitle(self) -> str: ... |
|
def setWindowTitle(self, a0: str) -> None: ... |
|
def clearMask(self) -> None: ... |
|
def mask(self) -> QtGui.QRegion: ... |
|
@typing.overload |
|
def setMask(self, a0: QtGui.QBitmap) -> None: ... |
|
@typing.overload |
|
def setMask(self, a0: QtGui.QRegion) -> None: ... |
|
def unsetCursor(self) -> None: ... |
|
def setCursor(self, a0: typing.Union[QtGui.QCursor, QtCore.Qt.CursorShape]) -> None: ... |
|
def cursor(self) -> QtGui.QCursor: ... |
|
def setFont(self, a0: QtGui.QFont) -> None: ... |
|
def foregroundRole(self) -> QtGui.QPalette.ColorRole: ... |
|
def setForegroundRole(self, a0: QtGui.QPalette.ColorRole) -> None: ... |
|
def backgroundRole(self) -> QtGui.QPalette.ColorRole: ... |
|
def setBackgroundRole(self, a0: QtGui.QPalette.ColorRole) -> None: ... |
|
def setPalette(self, a0: QtGui.QPalette) -> None: ... |
|
def palette(self) -> QtGui.QPalette: ... |
|
def window(self) -> 'QWidget': ... |
|
def mapFrom(self, a0: 'QWidget', a1: QtCore.QPoint) -> QtCore.QPoint: ... |
|
def mapTo(self, a0: 'QWidget', a1: QtCore.QPoint) -> QtCore.QPoint: ... |
|
def mapFromParent(self, a0: QtCore.QPoint) -> QtCore.QPoint: ... |
|
def mapToParent(self, a0: QtCore.QPoint) -> QtCore.QPoint: ... |
|
def mapFromGlobal(self, a0: QtCore.QPoint) -> QtCore.QPoint: ... |
|
def mapToGlobal(self, a0: QtCore.QPoint) -> QtCore.QPoint: ... |
|
def setFixedHeight(self, h: int) -> None: ... |
|
def setFixedWidth(self, w: int) -> None: ... |
|
@typing.overload |
|
def setFixedSize(self, a0: QtCore.QSize) -> None: ... |
|
@typing.overload |
|
def setFixedSize(self, w: int, h: int) -> None: ... |
|
@typing.overload |
|
def setBaseSize(self, basew: int, baseh: int) -> None: ... |
|
@typing.overload |
|
def setBaseSize(self, s: QtCore.QSize) -> None: ... |
|
def baseSize(self) -> QtCore.QSize: ... |
|
@typing.overload |
|
def setSizeIncrement(self, w: int, h: int) -> None: ... |
|
@typing.overload |
|
def setSizeIncrement(self, s: QtCore.QSize) -> None: ... |
|
def sizeIncrement(self) -> QtCore.QSize: ... |
|
def setMaximumHeight(self, maxh: int) -> None: ... |
|
def setMaximumWidth(self, maxw: int) -> None: ... |
|
def setMinimumHeight(self, minh: int) -> None: ... |
|
def setMinimumWidth(self, minw: int) -> None: ... |
|
@typing.overload |
|
def setMaximumSize(self, maxw: int, maxh: int) -> None: ... |
|
@typing.overload |
|
def setMaximumSize(self, s: QtCore.QSize) -> None: ... |
|
@typing.overload |
|
def setMinimumSize(self, minw: int, minh: int) -> None: ... |
|
@typing.overload |
|
def setMinimumSize(self, s: QtCore.QSize) -> None: ... |
|
def maximumSize(self) -> QtCore.QSize: ... |
|
def minimumSize(self) -> QtCore.QSize: ... |
|
def childrenRegion(self) -> QtGui.QRegion: ... |
|
def childrenRect(self) -> QtCore.QRect: ... |
|
def frameSize(self) -> QtCore.QSize: ... |
|
def pos(self) -> QtCore.QPoint: ... |
|
def y(self) -> int: ... |
|
def x(self) -> int: ... |
|
def normalGeometry(self) -> QtCore.QRect: ... |
|
def frameGeometry(self) -> QtCore.QRect: ... |
|
def setWindowModified(self, a0: bool) -> None: ... |
|
def setDisabled(self, a0: bool) -> None: ... |
|
def setEnabled(self, a0: bool) -> None: ... |
|
def isEnabledTo(self, a0: 'QWidget') -> bool: ... |
|
def setStyle(self, a0: 'QStyle') -> None: ... |
|
def style(self) -> 'QStyle': ... |
|
def devType(self) -> int: ... |
|
|
|
|
|
class QAbstractButton(QWidget): |
|
clicked = ... # type: PYQT_SIGNAL |
|
toggled = ... # type: PYQT_SIGNAL |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... |
|
def changeEvent(self, e: QtCore.QEvent) -> None: ... |
|
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... |
|
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... |
|
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ... |
|
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... |
|
def event(self, e: QtCore.QEvent) -> bool: ... |
|
def nextCheckState(self) -> None: ... |
|
def checkStateSet(self) -> None: ... |
|
def hitButton(self, pos: QtCore.QPoint) -> bool: ... |
|
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... |
|
def released(self) -> None: ... |
|
def pressed(self) -> None: ... |
|
def setChecked(self, a0: bool) -> None: ... |
|
def toggle(self) -> None: ... |
|
def click(self) -> None: ... |
|
def animateClick(self, msecs: int = ...) -> None: ... |
|
def setIconSize(self, size: QtCore.QSize) -> None: ... |
|
def group(self) -> 'QButtonGroup': ... |
|
def autoExclusive(self) -> bool: ... |
|
def setAutoExclusive(self, a0: bool) -> None: ... |
|
def autoRepeat(self) -> bool: ... |
|
def setAutoRepeat(self, a0: bool) -> None: ... |
|
def isDown(self) -> bool: ... |
|
def setDown(self, a0: bool) -> None: ... |
|
def isChecked(self) -> bool: ... |
|
def isCheckable(self) -> bool: ... |
|
def setCheckable(self, a0: bool) -> None: ... |
|
def shortcut(self) -> QtGui.QKeySequence: ... |
|
def setShortcut(self, key: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... |
|
def iconSize(self) -> QtCore.QSize: ... |
|
def icon(self) -> QtGui.QIcon: ... |
|
def setIcon(self, icon: QtGui.QIcon) -> None: ... |
|
def text(self) -> str: ... |
|
def setText(self, text: str) -> None: ... |
|
def autoRepeatInterval(self) -> int: ... |
|
def setAutoRepeatInterval(self, a0: int) -> None: ... |
|
def autoRepeatDelay(self) -> int: ... |
|
def setAutoRepeatDelay(self, a0: int) -> None: ... |
|
|
|
|
|
class QAbstractItemDelegate(QtCore.QObject): |
|
commitData = ... # type: PYQT_SIGNAL |
|
|
|
class EndEditHint(int): ... |
|
NoHint = ... # type: 'QAbstractItemDelegate.EndEditHint' |
|
EditNextItem = ... # type: 'QAbstractItemDelegate.EndEditHint' |
|
EditPreviousItem = ... # type: 'QAbstractItemDelegate.EndEditHint' |
|
SubmitModelCache = ... # type: 'QAbstractItemDelegate.EndEditHint' |
|
RevertModelCache = ... # type: 'QAbstractItemDelegate.EndEditHint' |
|
|
|
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... |
|
|
|
def sizeHintChanged(self, a0: QtCore.QModelIndex) -> None: ... |
|
def closeEditor(self, editor: QWidget, hint: 'QAbstractItemDelegate.EndEditHint' = ...) -> None: ... |
|
#def commitData(self, editor: QWidget) -> None: ... |
|
def helpEvent(self, event: QtGui.QHelpEvent, view: 'QAbstractItemView', option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ... |
|
def editorEvent(self, event: QtCore.QEvent, model: QtCore.QAbstractItemModel, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> bool: ... |
|
def destroyEditor(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ... |
|
def updateEditorGeometry(self, editor: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... |
|
def setModelData(self, editor: QWidget, model: QtCore.QAbstractItemModel, index: QtCore.QModelIndex) -> None: ... |
|
def setEditorData(self, editor: QWidget, index: QtCore.QModelIndex) -> None: ... |
|
def createEditor(self, parent: QWidget, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QWidget: ... |
|
def sizeHint(self, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> QtCore.QSize: ... |
|
def paint(self, painter: QtGui.QPainter, option: 'QStyleOptionViewItem', index: QtCore.QModelIndex) -> None: ... |
|
|
|
|
|
class QFrame(QWidget): |
|
|
|
class StyleMask(int): ... |
|
Shadow_Mask = ... # type: 'QFrame.StyleMask' |
|
Shape_Mask = ... # type: 'QFrame.StyleMask' |
|
|
|
class Shape(int): ... |
|
NoFrame = ... # type: 'QFrame.Shape' |
|
Box = ... # type: 'QFrame.Shape' |
|
Panel = ... # type: 'QFrame.Shape' |
|
WinPanel = ... # type: 'QFrame.Shape' |
|
HLine = ... # type: 'QFrame.Shape' |
|
VLine = ... # type: 'QFrame.Shape' |
|
StyledPanel = ... # type: 'QFrame.Shape' |
|
|
|
class Shadow(int): ... |
|
Plain = ... # type: 'QFrame.Shadow' |
|
Raised = ... # type: 'QFrame.Shadow' |
|
Sunken = ... # type: 'QFrame.Shadow' |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... |
|
|
|
def initStyleOption(self, option: 'QStyleOptionFrame') -> None: ... |
|
def drawFrame(self, a0: QtGui.QPainter) -> None: ... |
|
def changeEvent(self, a0: QtCore.QEvent) -> None: ... |
|
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... |
|
def event(self, e: QtCore.QEvent) -> bool: ... |
|
def setFrameRect(self, a0: QtCore.QRect) -> None: ... |
|
def frameRect(self) -> QtCore.QRect: ... |
|
def setMidLineWidth(self, a0: int) -> None: ... |
|
def midLineWidth(self) -> int: ... |
|
def setLineWidth(self, a0: int) -> None: ... |
|
def lineWidth(self) -> int: ... |
|
def setFrameShadow(self, a0: 'QFrame.Shadow') -> None: ... |
|
def frameShadow(self) -> 'QFrame.Shadow': ... |
|
def setFrameShape(self, a0: 'QFrame.Shape') -> None: ... |
|
def frameShape(self) -> 'QFrame.Shape': ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
def frameWidth(self) -> int: ... |
|
def setFrameStyle(self, a0: int) -> None: ... |
|
def frameStyle(self) -> int: ... |
|
|
|
|
|
class QAbstractScrollArea(QFrame): |
|
|
|
class SizeAdjustPolicy(int): ... |
|
AdjustIgnored = ... # type: 'QAbstractScrollArea.SizeAdjustPolicy' |
|
AdjustToContentsOnFirstShow = ... # type: 'QAbstractScrollArea.SizeAdjustPolicy' |
|
AdjustToContents = ... # type: 'QAbstractScrollArea.SizeAdjustPolicy' |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def setSizeAdjustPolicy(self, policy: 'QAbstractScrollArea.SizeAdjustPolicy') -> None: ... |
|
def sizeAdjustPolicy(self) -> 'QAbstractScrollArea.SizeAdjustPolicy': ... |
|
def setupViewport(self, viewport: QWidget) -> None: ... |
|
def setViewport(self, widget: QWidget) -> None: ... |
|
def scrollBarWidgets(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> typing.Any: ... |
|
def addScrollBarWidget(self, widget: QWidget, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... |
|
def setCornerWidget(self, widget: QWidget) -> None: ... |
|
def cornerWidget(self) -> QWidget: ... |
|
def setHorizontalScrollBar(self, scrollbar: 'QScrollBar') -> None: ... |
|
def setVerticalScrollBar(self, scrollbar: 'QScrollBar') -> None: ... |
|
def scrollContentsBy(self, dx: int, dy: int) -> None: ... |
|
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... |
|
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... |
|
def dropEvent(self, a0: QtGui.QDropEvent) -> None: ... |
|
def dragLeaveEvent(self, a0: QtGui.QDragLeaveEvent) -> None: ... |
|
def dragMoveEvent(self, a0: QtGui.QDragMoveEvent) -> None: ... |
|
def dragEnterEvent(self, a0: QtGui.QDragEnterEvent) -> None: ... |
|
def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... |
|
def wheelEvent(self, a0: QtGui.QWheelEvent) -> None: ... |
|
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def mouseDoubleClickEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def mouseReleaseEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def mousePressEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... |
|
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... |
|
def viewportEvent(self, a0: QtCore.QEvent) -> bool: ... |
|
def event(self, a0: QtCore.QEvent) -> bool: ... |
|
def viewportSizeHint(self) -> QtCore.QSize: ... |
|
def viewportMargins(self) -> QtCore.QMargins: ... |
|
@typing.overload |
|
def setViewportMargins(self, left: int, top: int, right: int, bottom: int) -> None: ... |
|
@typing.overload |
|
def setViewportMargins(self, margins: QtCore.QMargins) -> None: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
def minimumSizeHint(self) -> QtCore.QSize: ... |
|
def maximumViewportSize(self) -> QtCore.QSize: ... |
|
def viewport(self) -> QWidget: ... |
|
def horizontalScrollBar(self) -> 'QScrollBar': ... |
|
def setHorizontalScrollBarPolicy(self, a0: QtCore.Qt.ScrollBarPolicy) -> None: ... |
|
def horizontalScrollBarPolicy(self) -> QtCore.Qt.ScrollBarPolicy: ... |
|
def verticalScrollBar(self) -> 'QScrollBar': ... |
|
def setVerticalScrollBarPolicy(self, a0: QtCore.Qt.ScrollBarPolicy) -> None: ... |
|
def verticalScrollBarPolicy(self) -> QtCore.Qt.ScrollBarPolicy: ... |
|
|
|
|
|
class QAbstractItemView(QAbstractScrollArea): |
|
activated = ... # type: PYQT_SIGNAL |
|
doubleClicked = ... # type: PYQT_SIGNAL |
|
clicked = ... # type: PYQT_SIGNAL |
|
pressed = ... # type: PYQT_SIGNAL |
|
|
|
class DropIndicatorPosition(int): ... |
|
OnItem = ... # type: 'QAbstractItemView.DropIndicatorPosition' |
|
AboveItem = ... # type: 'QAbstractItemView.DropIndicatorPosition' |
|
BelowItem = ... # type: 'QAbstractItemView.DropIndicatorPosition' |
|
OnViewport = ... # type: 'QAbstractItemView.DropIndicatorPosition' |
|
|
|
class State(int): ... |
|
NoState = ... # type: 'QAbstractItemView.State' |
|
DraggingState = ... # type: 'QAbstractItemView.State' |
|
DragSelectingState = ... # type: 'QAbstractItemView.State' |
|
EditingState = ... # type: 'QAbstractItemView.State' |
|
ExpandingState = ... # type: 'QAbstractItemView.State' |
|
CollapsingState = ... # type: 'QAbstractItemView.State' |
|
AnimatingState = ... # type: 'QAbstractItemView.State' |
|
|
|
class CursorAction(int): ... |
|
MoveUp = ... # type: 'QAbstractItemView.CursorAction' |
|
MoveDown = ... # type: 'QAbstractItemView.CursorAction' |
|
MoveLeft = ... # type: 'QAbstractItemView.CursorAction' |
|
MoveRight = ... # type: 'QAbstractItemView.CursorAction' |
|
MoveHome = ... # type: 'QAbstractItemView.CursorAction' |
|
MoveEnd = ... # type: 'QAbstractItemView.CursorAction' |
|
MovePageUp = ... # type: 'QAbstractItemView.CursorAction' |
|
MovePageDown = ... # type: 'QAbstractItemView.CursorAction' |
|
MoveNext = ... # type: 'QAbstractItemView.CursorAction' |
|
MovePrevious = ... # type: 'QAbstractItemView.CursorAction' |
|
|
|
class SelectionMode(int): ... |
|
NoSelection = ... # type: 'QAbstractItemView.SelectionMode' |
|
SingleSelection = ... # type: 'QAbstractItemView.SelectionMode' |
|
MultiSelection = ... # type: 'QAbstractItemView.SelectionMode' |
|
ExtendedSelection = ... # type: 'QAbstractItemView.SelectionMode' |
|
ContiguousSelection = ... # type: 'QAbstractItemView.SelectionMode' |
|
|
|
class SelectionBehavior(int): ... |
|
SelectItems = ... # type: 'QAbstractItemView.SelectionBehavior' |
|
SelectRows = ... # type: 'QAbstractItemView.SelectionBehavior' |
|
SelectColumns = ... # type: 'QAbstractItemView.SelectionBehavior' |
|
|
|
class ScrollMode(int): ... |
|
ScrollPerItem = ... # type: 'QAbstractItemView.ScrollMode' |
|
ScrollPerPixel = ... # type: 'QAbstractItemView.ScrollMode' |
|
|
|
class ScrollHint(int): ... |
|
EnsureVisible = ... # type: 'QAbstractItemView.ScrollHint' |
|
PositionAtTop = ... # type: 'QAbstractItemView.ScrollHint' |
|
PositionAtBottom = ... # type: 'QAbstractItemView.ScrollHint' |
|
PositionAtCenter = ... # type: 'QAbstractItemView.ScrollHint' |
|
|
|
class EditTrigger(int): ... |
|
NoEditTriggers = ... # type: 'QAbstractItemView.EditTrigger' |
|
CurrentChanged = ... # type: 'QAbstractItemView.EditTrigger' |
|
DoubleClicked = ... # type: 'QAbstractItemView.EditTrigger' |
|
SelectedClicked = ... # type: 'QAbstractItemView.EditTrigger' |
|
EditKeyPressed = ... # type: 'QAbstractItemView.EditTrigger' |
|
AnyKeyPressed = ... # type: 'QAbstractItemView.EditTrigger' |
|
AllEditTriggers = ... # type: 'QAbstractItemView.EditTrigger' |
|
|
|
class DragDropMode(int): ... |
|
NoDragDrop = ... # type: 'QAbstractItemView.DragDropMode' |
|
DragOnly = ... # type: 'QAbstractItemView.DragDropMode' |
|
DropOnly = ... # type: 'QAbstractItemView.DragDropMode' |
|
DragDrop = ... # type: 'QAbstractItemView.DragDropMode' |
|
InternalMove = ... # type: 'QAbstractItemView.DragDropMode' |
|
|
|
class EditTriggers(sip.simplewrapper): |
|
|
|
@typing.overload |
|
def __init__(self) -> None: ... |
|
@typing.overload |
|
def __init__(self, f: typing.Union['QAbstractItemView.EditTriggers', 'QAbstractItemView.EditTrigger']) -> None: ... |
|
@typing.overload |
|
def __init__(self, a0: 'QAbstractItemView.EditTriggers') -> None: ... |
|
|
|
def __hash__(self) -> int: ... |
|
def __bool__(self) -> int: ... |
|
def __invert__(self) -> 'QAbstractItemView.EditTriggers': ... |
|
def __int__(self) -> int: ... |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def resetHorizontalScrollMode(self) -> None: ... |
|
def resetVerticalScrollMode(self) -> None: ... |
|
def defaultDropAction(self) -> QtCore.Qt.DropAction: ... |
|
def setDefaultDropAction(self, dropAction: QtCore.Qt.DropAction) -> None: ... |
|
def viewportSizeHint(self) -> QtCore.QSize: ... |
|
def inputMethodEvent(self, event: QtGui.QInputMethodEvent) -> None: ... |
|
def focusNextPrevChild(self, next: bool) -> bool: ... |
|
def autoScrollMargin(self) -> int: ... |
|
def setAutoScrollMargin(self, margin: int) -> None: ... |
|
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery) -> typing.Any: ... |
|
def itemDelegateForColumn(self, column: int) -> QAbstractItemDelegate: ... |
|
def setItemDelegateForColumn(self, column: int, delegate: QAbstractItemDelegate) -> None: ... |
|
def itemDelegateForRow(self, row: int) -> QAbstractItemDelegate: ... |
|
def setItemDelegateForRow(self, row: int, delegate: QAbstractItemDelegate) -> None: ... |
|
def dragDropMode(self) -> 'QAbstractItemView.DragDropMode': ... |
|
def setDragDropMode(self, behavior: 'QAbstractItemView.DragDropMode') -> None: ... |
|
def dragDropOverwriteMode(self) -> bool: ... |
|
def setDragDropOverwriteMode(self, overwrite: bool) -> None: ... |
|
def horizontalScrollMode(self) -> 'QAbstractItemView.ScrollMode': ... |
|
def setHorizontalScrollMode(self, mode: 'QAbstractItemView.ScrollMode') -> None: ... |
|
def verticalScrollMode(self) -> 'QAbstractItemView.ScrollMode': ... |
|
def setVerticalScrollMode(self, mode: 'QAbstractItemView.ScrollMode') -> None: ... |
|
def dropIndicatorPosition(self) -> 'QAbstractItemView.DropIndicatorPosition': ... |
|
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... |
|
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... |
|
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... |
|
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... |
|
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... |
|
def dropEvent(self, e: QtGui.QDropEvent) -> None: ... |
|
def dragLeaveEvent(self, e: QtGui.QDragLeaveEvent) -> None: ... |
|
def dragMoveEvent(self, e: QtGui.QDragMoveEvent) -> None: ... |
|
def dragEnterEvent(self, e: QtGui.QDragEnterEvent) -> None: ... |
|
def mouseDoubleClickEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def viewportEvent(self, e: QtCore.QEvent) -> bool: ... |
|
def event(self, event: QtCore.QEvent) -> bool: ... |
|
def dirtyRegionOffset(self) -> QtCore.QPoint: ... |
|
def setDirtyRegion(self, region: QtGui.QRegion) -> None: ... |
|
def scrollDirtyRegion(self, dx: int, dy: int) -> None: ... |
|
def executeDelayedItemsLayout(self) -> None: ... |
|
def scheduleDelayedItemsLayout(self) -> None: ... |
|
def setState(self, state: 'QAbstractItemView.State') -> None: ... |
|
def state(self) -> 'QAbstractItemView.State': ... |
|
def viewOptions(self) -> 'QStyleOptionViewItem': ... |
|
def startDrag(self, supportedActions: typing.Union[QtCore.Qt.DropActions, QtCore.Qt.DropAction]) -> None: ... |
|
def selectionCommand(self, index: QtCore.QModelIndex, event: typing.Optional[QtCore.QEvent] = ...) -> QtCore.QItemSelectionModel.SelectionFlags: ... |
|
def selectedIndexes(self) -> typing.Any: ... |
|
def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ... |
|
def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... |
|
def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ... |
|
def verticalOffset(self) -> int: ... |
|
def horizontalOffset(self) -> int: ... |
|
def moveCursor(self, cursorAction: 'QAbstractItemView.CursorAction', modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ... |
|
def iconSizeChanged(self, size: QtCore.QSize) -> None: ... |
|
def viewportEntered(self) -> None: ... |
|
def entered(self, index: QtCore.QModelIndex) -> None: ... |
|
#def activated(self, index: QtCore.QModelIndex) -> None: ... |
|
#def doubleClicked(self, index: QtCore.QModelIndex) -> None: ... |
|
#def clicked(self, index: QtCore.QModelIndex) -> None: ... |
|
#def pressed(self, index: QtCore.QModelIndex) -> None: ... |
|
def editorDestroyed(self, editor: QtCore.QObject) -> None: ... |
|
def commitData(self, editor: QWidget) -> None: ... |
|
def closeEditor(self, editor: QWidget, hint: QAbstractItemDelegate.EndEditHint) -> None: ... |
|
def horizontalScrollbarValueChanged(self, value: int) -> None: ... |
|
def verticalScrollbarValueChanged(self, value: int) -> None: ... |
|
def horizontalScrollbarAction(self, action: int) -> None: ... |
|
def verticalScrollbarAction(self, action: int) -> None: ... |
|
def updateGeometries(self) -> None: ... |
|
def updateEditorGeometries(self) -> None: ... |
|
def updateEditorData(self) -> None: ... |
|
def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ... |
|
def selectionChanged(self, selected: QtCore.QItemSelection, deselected: QtCore.QItemSelection) -> None: ... |
|
def rowsAboutToBeRemoved(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... |
|
def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... |
|
def dataChanged(self, topLeft: QtCore.QModelIndex, bottomRight: QtCore.QModelIndex, roles: typing.Iterable[int] = ...) -> None: ... |
|
#@typing.overload |
|
#def update(self) -> None: ... |
|
#@typing.overload |
|
#def update(self, index: QtCore.QModelIndex) -> None: ... |
|
def scrollToBottom(self) -> None: ... |
|
def scrollToTop(self) -> None: ... |
|
def setCurrentIndex(self, index: QtCore.QModelIndex) -> None: ... |
|
def clearSelection(self) -> None: ... |
|
@typing.overload |
|
def edit(self, index: QtCore.QModelIndex) -> None: ... |
|
@typing.overload |
|
def edit(self, index: QtCore.QModelIndex, trigger: 'QAbstractItemView.EditTrigger', event: QtCore.QEvent) -> bool: ... |
|
def selectAll(self) -> None: ... |
|
def setRootIndex(self, index: QtCore.QModelIndex) -> None: ... |
|
def reset(self) -> None: ... |
|
def indexWidget(self, index: QtCore.QModelIndex) -> QWidget: ... |
|
def setIndexWidget(self, index: QtCore.QModelIndex, widget: QWidget) -> None: ... |
|
def closePersistentEditor(self, index: QtCore.QModelIndex) -> None: ... |
|
def openPersistentEditor(self, index: QtCore.QModelIndex) -> None: ... |
|
def sizeHintForColumn(self, column: int) -> int: ... |
|
def sizeHintForRow(self, row: int) -> int: ... |
|
def sizeHintForIndex(self, index: QtCore.QModelIndex) -> QtCore.QSize: ... |
|
def indexAt(self, p: QtCore.QPoint) -> QtCore.QModelIndex: ... |
|
def scrollTo(self, index: QtCore.QModelIndex, hint: 'QAbstractItemView.ScrollHint' = ...) -> None: ... |
|
def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... |
|
def keyboardSearch(self, search: str) -> None: ... |
|
def textElideMode(self) -> QtCore.Qt.TextElideMode: ... |
|
def setTextElideMode(self, mode: QtCore.Qt.TextElideMode) -> None: ... |
|
def iconSize(self) -> QtCore.QSize: ... |
|
def setIconSize(self, size: QtCore.QSize) -> None: ... |
|
def alternatingRowColors(self) -> bool: ... |
|
def setAlternatingRowColors(self, enable: bool) -> None: ... |
|
def dragEnabled(self) -> bool: ... |
|
def setDragEnabled(self, enable: bool) -> None: ... |
|
def showDropIndicator(self) -> bool: ... |
|
def setDropIndicatorShown(self, enable: bool) -> None: ... |
|
def tabKeyNavigation(self) -> bool: ... |
|
def setTabKeyNavigation(self, enable: bool) -> None: ... |
|
def hasAutoScroll(self) -> bool: ... |
|
def setAutoScroll(self, enable: bool) -> None: ... |
|
def editTriggers(self) -> 'QAbstractItemView.EditTriggers': ... |
|
def setEditTriggers(self, triggers: typing.Union['QAbstractItemView.EditTriggers', 'QAbstractItemView.EditTrigger']) -> None: ... |
|
def rootIndex(self) -> QtCore.QModelIndex: ... |
|
def currentIndex(self) -> QtCore.QModelIndex: ... |
|
def selectionBehavior(self) -> 'QAbstractItemView.SelectionBehavior': ... |
|
def setSelectionBehavior(self, behavior: 'QAbstractItemView.SelectionBehavior') -> None: ... |
|
def selectionMode(self) -> 'QAbstractItemView.SelectionMode': ... |
|
def setSelectionMode(self, mode: 'QAbstractItemView.SelectionMode') -> None: ... |
|
@typing.overload |
|
def itemDelegate(self) -> QAbstractItemDelegate: ... |
|
@typing.overload |
|
def itemDelegate(self, index: QtCore.QModelIndex) -> QAbstractItemDelegate: ... |
|
def setItemDelegate(self, delegate: QAbstractItemDelegate) -> None: ... |
|
def selectionModel(self) -> QtCore.QItemSelectionModel: ... |
|
def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ... |
|
def model(self) -> QtCore.QAbstractItemModel: ... |
|
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... |
|
|
|
|
|
class QAbstractSlider(QWidget): |
|
valueChanged = ... # type: PYQT_SIGNAL |
|
|
|
class SliderChange(int): ... |
|
SliderRangeChange = ... # type: 'QAbstractSlider.SliderChange' |
|
SliderOrientationChange = ... # type: 'QAbstractSlider.SliderChange' |
|
SliderStepsChange = ... # type: 'QAbstractSlider.SliderChange' |
|
SliderValueChange = ... # type: 'QAbstractSlider.SliderChange' |
|
|
|
class SliderAction(int): ... |
|
SliderNoAction = ... # type: 'QAbstractSlider.SliderAction' |
|
SliderSingleStepAdd = ... # type: 'QAbstractSlider.SliderAction' |
|
SliderSingleStepSub = ... # type: 'QAbstractSlider.SliderAction' |
|
SliderPageStepAdd = ... # type: 'QAbstractSlider.SliderAction' |
|
SliderPageStepSub = ... # type: 'QAbstractSlider.SliderAction' |
|
SliderToMinimum = ... # type: 'QAbstractSlider.SliderAction' |
|
SliderToMaximum = ... # type: 'QAbstractSlider.SliderAction' |
|
SliderMove = ... # type: 'QAbstractSlider.SliderAction' |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def changeEvent(self, e: QtCore.QEvent) -> None: ... |
|
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... |
|
def timerEvent(self, a0: QtCore.QTimerEvent) -> None: ... |
|
def keyPressEvent(self, ev: QtGui.QKeyEvent) -> None: ... |
|
def event(self, e: QtCore.QEvent) -> bool: ... |
|
def sliderChange(self, change: 'QAbstractSlider.SliderChange') -> None: ... |
|
def repeatAction(self) -> 'QAbstractSlider.SliderAction': ... |
|
def setRepeatAction(self, action: 'QAbstractSlider.SliderAction', thresholdTime: int = ..., repeatTime: int = ...) -> None: ... |
|
def actionTriggered(self, action: int) -> None: ... |
|
def rangeChanged(self, min: int, max: int) -> None: ... |
|
def sliderReleased(self) -> None: ... |
|
def sliderMoved(self, position: int) -> None: ... |
|
def sliderPressed(self) -> None: ... |
|
def setOrientation(self, a0: QtCore.Qt.Orientation) -> None: ... |
|
def setValue(self, a0: int) -> None: ... |
|
def triggerAction(self, action: 'QAbstractSlider.SliderAction') -> None: ... |
|
def value(self) -> int: ... |
|
def invertedControls(self) -> bool: ... |
|
def setInvertedControls(self, a0: bool) -> None: ... |
|
def invertedAppearance(self) -> bool: ... |
|
def setInvertedAppearance(self, a0: bool) -> None: ... |
|
def sliderPosition(self) -> int: ... |
|
def setSliderPosition(self, a0: int) -> None: ... |
|
def isSliderDown(self) -> bool: ... |
|
def setSliderDown(self, a0: bool) -> None: ... |
|
def hasTracking(self) -> bool: ... |
|
def setTracking(self, enable: bool) -> None: ... |
|
def pageStep(self) -> int: ... |
|
def setPageStep(self, a0: int) -> None: ... |
|
def singleStep(self) -> int: ... |
|
def setSingleStep(self, a0: int) -> None: ... |
|
def setRange(self, min: int, max: int) -> None: ... |
|
def maximum(self) -> int: ... |
|
def setMaximum(self, a0: int) -> None: ... |
|
def minimum(self) -> int: ... |
|
def setMinimum(self, a0: int) -> None: ... |
|
def orientation(self) -> QtCore.Qt.Orientation: ... |
|
|
|
|
|
class QAbstractSpinBox(QWidget): |
|
|
|
class CorrectionMode(int): ... |
|
CorrectToPreviousValue = ... # type: 'QAbstractSpinBox.CorrectionMode' |
|
CorrectToNearestValue = ... # type: 'QAbstractSpinBox.CorrectionMode' |
|
|
|
class ButtonSymbols(int): ... |
|
UpDownArrows = ... # type: 'QAbstractSpinBox.ButtonSymbols' |
|
PlusMinus = ... # type: 'QAbstractSpinBox.ButtonSymbols' |
|
NoButtons = ... # type: 'QAbstractSpinBox.ButtonSymbols' |
|
|
|
class StepEnabledFlag(int): ... |
|
StepNone = ... # type: 'QAbstractSpinBox.StepEnabledFlag' |
|
StepUpEnabled = ... # type: 'QAbstractSpinBox.StepEnabledFlag' |
|
StepDownEnabled = ... # type: 'QAbstractSpinBox.StepEnabledFlag' |
|
|
|
class StepEnabled(sip.simplewrapper): |
|
|
|
@typing.overload |
|
def __init__(self) -> None: ... |
|
@typing.overload |
|
def __init__(self, f: typing.Union['QAbstractSpinBox.StepEnabled', 'QAbstractSpinBox.StepEnabledFlag']) -> None: ... |
|
@typing.overload |
|
def __init__(self, a0: 'QAbstractSpinBox.StepEnabled') -> None: ... |
|
|
|
def __hash__(self) -> int: ... |
|
def __bool__(self) -> int: ... |
|
def __invert__(self) -> 'QAbstractSpinBox.StepEnabled': ... |
|
def __int__(self) -> int: ... |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def isGroupSeparatorShown(self) -> bool: ... |
|
def setGroupSeparatorShown(self, shown: bool) -> None: ... |
|
def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... |
|
def keyboardTracking(self) -> bool: ... |
|
def setKeyboardTracking(self, kt: bool) -> None: ... |
|
def isAccelerated(self) -> bool: ... |
|
def setAccelerated(self, on: bool) -> None: ... |
|
def hasAcceptableInput(self) -> bool: ... |
|
def correctionMode(self) -> 'QAbstractSpinBox.CorrectionMode': ... |
|
def setCorrectionMode(self, cm: 'QAbstractSpinBox.CorrectionMode') -> None: ... |
|
def initStyleOption(self, option: 'QStyleOptionSpinBox') -> None: ... |
|
def stepEnabled(self) -> 'QAbstractSpinBox.StepEnabled': ... |
|
def setLineEdit(self, e: 'QLineEdit') -> None: ... |
|
def lineEdit(self) -> 'QLineEdit': ... |
|
def showEvent(self, e: QtGui.QShowEvent) -> None: ... |
|
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... |
|
def timerEvent(self, e: QtCore.QTimerEvent) -> None: ... |
|
def mouseMoveEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def hideEvent(self, e: QtGui.QHideEvent) -> None: ... |
|
def closeEvent(self, e: QtGui.QCloseEvent) -> None: ... |
|
def changeEvent(self, e: QtCore.QEvent) -> None: ... |
|
def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ... |
|
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... |
|
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... |
|
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... |
|
def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ... |
|
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... |
|
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... |
|
def editingFinished(self) -> None: ... |
|
def clear(self) -> None: ... |
|
def selectAll(self) -> None: ... |
|
def stepDown(self) -> None: ... |
|
def stepUp(self) -> None: ... |
|
def stepBy(self, steps: int) -> None: ... |
|
def fixup(self, input: str) -> str: ... |
|
def validate(self, input: str, pos: int) -> typing.Tuple[QtGui.QValidator.State, str, int]: ... |
|
def event(self, event: QtCore.QEvent) -> bool: ... |
|
def interpretText(self) -> None: ... |
|
def minimumSizeHint(self) -> QtCore.QSize: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
def hasFrame(self) -> bool: ... |
|
def setFrame(self, a0: bool) -> None: ... |
|
def alignment(self) -> QtCore.Qt.Alignment: ... |
|
def setAlignment(self, flag: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... |
|
def isReadOnly(self) -> bool: ... |
|
def setReadOnly(self, r: bool) -> None: ... |
|
def setWrapping(self, w: bool) -> None: ... |
|
def wrapping(self) -> bool: ... |
|
def setSpecialValueText(self, s: str) -> None: ... |
|
def specialValueText(self) -> str: ... |
|
def text(self) -> str: ... |
|
def setButtonSymbols(self, bs: 'QAbstractSpinBox.ButtonSymbols') -> None: ... |
|
def buttonSymbols(self) -> 'QAbstractSpinBox.ButtonSymbols': ... |
|
|
|
|
|
class QAction(QtCore.QObject): |
|
triggered = ... # type: PYQT_SIGNAL |
|
toggled = ... # type: PYQT_SIGNAL |
|
|
|
class Priority(int): ... |
|
LowPriority = ... # type: 'QAction.Priority' |
|
NormalPriority = ... # type: 'QAction.Priority' |
|
HighPriority = ... # type: 'QAction.Priority' |
|
|
|
class MenuRole(int): ... |
|
NoRole = ... # type: 'QAction.MenuRole' |
|
TextHeuristicRole = ... # type: 'QAction.MenuRole' |
|
ApplicationSpecificRole = ... # type: 'QAction.MenuRole' |
|
AboutQtRole = ... # type: 'QAction.MenuRole' |
|
AboutRole = ... # type: 'QAction.MenuRole' |
|
PreferencesRole = ... # type: 'QAction.MenuRole' |
|
QuitRole = ... # type: 'QAction.MenuRole' |
|
|
|
class ActionEvent(int): ... |
|
Trigger = ... # type: 'QAction.ActionEvent' |
|
Hover = ... # type: 'QAction.ActionEvent' |
|
|
|
@typing.overload |
|
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... |
|
@typing.overload |
|
def __init__(self, text: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... |
|
@typing.overload |
|
def __init__(self, icon: QtGui.QIcon, text: str, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... |
|
|
|
def priority(self) -> 'QAction.Priority': ... |
|
def setPriority(self, priority: 'QAction.Priority') -> None: ... |
|
def isIconVisibleInMenu(self) -> bool: ... |
|
def setIconVisibleInMenu(self, visible: bool) -> None: ... |
|
def associatedGraphicsWidgets(self) -> typing.Any: ... |
|
def associatedWidgets(self) -> typing.List[QWidget]: ... |
|
def menuRole(self) -> 'QAction.MenuRole': ... |
|
def setMenuRole(self, menuRole: 'QAction.MenuRole') -> None: ... |
|
def autoRepeat(self) -> bool: ... |
|
def setAutoRepeat(self, a0: bool) -> None: ... |
|
def shortcuts(self) -> typing.List[QtGui.QKeySequence]: ... |
|
@typing.overload |
|
def setShortcuts(self, shortcuts: typing.Iterable[typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]]) -> None: ... |
|
@typing.overload |
|
def setShortcuts(self, a0: QtGui.QKeySequence.StandardKey) -> None: ... |
|
def hovered(self) -> None: ... |
|
def changed(self) -> None: ... |
|
def setVisible(self, a0: bool) -> None: ... |
|
def setDisabled(self, b: bool) -> None: ... |
|
def setEnabled(self, a0: bool) -> None: ... |
|
def toggle(self) -> None: ... |
|
def setChecked(self, a0: bool) -> None: ... |
|
def hover(self) -> None: ... |
|
def trigger(self) -> None: ... |
|
def event(self, a0: QtCore.QEvent) -> bool: ... |
|
def parentWidget(self) -> QWidget: ... |
|
def showStatusText(self, widget: typing.Optional[QWidget] = ...) -> bool: ... |
|
def activate(self, event: 'QAction.ActionEvent') -> None: ... |
|
def isVisible(self) -> bool: ... |
|
def isEnabled(self) -> bool: ... |
|
def isChecked(self) -> bool: ... |
|
def setData(self, var: typing.Any) -> None: ... |
|
def data(self) -> typing.Any: ... |
|
def isCheckable(self) -> bool: ... |
|
def setCheckable(self, a0: bool) -> None: ... |
|
def font(self) -> QtGui.QFont: ... |
|
def setFont(self, font: QtGui.QFont) -> None: ... |
|
def shortcutContext(self) -> QtCore.Qt.ShortcutContext: ... |
|
def setShortcutContext(self, context: QtCore.Qt.ShortcutContext) -> None: ... |
|
def shortcut(self) -> QtGui.QKeySequence: ... |
|
def setShortcut(self, shortcut: typing.Union[QtGui.QKeySequence, QtGui.QKeySequence.StandardKey, str, int]) -> None: ... |
|
def isSeparator(self) -> bool: ... |
|
def setSeparator(self, b: bool) -> None: ... |
|
def setMenu(self, menu: 'QMenu') -> None: ... |
|
def menu(self) -> 'QMenu': ... |
|
def whatsThis(self) -> str: ... |
|
def setWhatsThis(self, what: str) -> None: ... |
|
def statusTip(self) -> str: ... |
|
def setStatusTip(self, statusTip: str) -> None: ... |
|
def toolTip(self) -> str: ... |
|
def setToolTip(self, tip: str) -> None: ... |
|
def iconText(self) -> str: ... |
|
def setIconText(self, text: str) -> None: ... |
|
def text(self) -> str: ... |
|
def setText(self, text: str) -> None: ... |
|
def icon(self) -> QtGui.QIcon: ... |
|
def setIcon(self, icon: QtGui.QIcon) -> None: ... |
|
def actionGroup(self) -> 'QActionGroup': ... |
|
def setActionGroup(self, group: 'QActionGroup') -> None: ... |
|
|
|
|
|
class QActionGroup(QtCore.QObject): |
|
triggered = ... # type: PYQT_SIGNAL |
|
|
|
def __init__(self, parent: QtCore.QObject) -> None: ... |
|
|
|
def hovered(self, a0: QAction) -> None: ... |
|
def setExclusive(self, a0: bool) -> None: ... |
|
def setVisible(self, a0: bool) -> None: ... |
|
def setDisabled(self, b: bool) -> None: ... |
|
def setEnabled(self, a0: bool) -> None: ... |
|
def isVisible(self) -> bool: ... |
|
def isEnabled(self) -> bool: ... |
|
def isExclusive(self) -> bool: ... |
|
def checkedAction(self) -> QAction: ... |
|
def actions(self) -> typing.List[QAction]: ... |
|
def removeAction(self, a: QAction) -> None: ... |
|
@typing.overload |
|
def addAction(self, a: QAction) -> QAction: ... |
|
@typing.overload |
|
def addAction(self, text: str) -> QAction: ... |
|
@typing.overload |
|
def addAction(self, icon: QtGui.QIcon, text: str) -> QAction: ... |
|
|
|
|
|
class QApplication(QtGui.QGuiApplication): |
|
|
|
class ColorSpec(int): ... |
|
NormalColor = ... # type: 'QApplication.ColorSpec' |
|
CustomColor = ... # type: 'QApplication.ColorSpec' |
|
ManyColor = ... # type: 'QApplication.ColorSpec' |
|
|
|
def __init__(self, argv: typing.List[str]) -> None: ... |
|
|
|
def event(self, a0: QtCore.QEvent) -> bool: ... |
|
def setStyleSheet(self, sheet: str) -> None: ... |
|
def setAutoSipEnabled(self, enabled: bool) -> None: ... |
|
@staticmethod |
|
def closeAllWindows() -> None: ... |
|
@staticmethod |
|
def aboutQt() -> None: ... |
|
def focusChanged(self, old: QWidget, now: QWidget) -> None: ... |
|
def styleSheet(self) -> str: ... |
|
def autoSipEnabled(self) -> bool: ... |
|
def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... |
|
@staticmethod |
|
def exec() -> int: ... |
|
@staticmethod |
|
def exec_() -> int: ... |
|
@staticmethod |
|
def setEffectEnabled(a0: QtCore.Qt.UIEffect, enabled: bool = ...) -> None: ... |
|
@staticmethod |
|
def isEffectEnabled(a0: QtCore.Qt.UIEffect) -> bool: ... |
|
@staticmethod |
|
def startDragDistance() -> int: ... |
|
@staticmethod |
|
def setStartDragDistance(l: int) -> None: ... |
|
@staticmethod |
|
def startDragTime() -> int: ... |
|
@staticmethod |
|
def setStartDragTime(ms: int) -> None: ... |
|
@staticmethod |
|
def globalStrut() -> QtCore.QSize: ... |
|
@staticmethod |
|
def setGlobalStrut(a0: QtCore.QSize) -> None: ... |
|
@staticmethod |
|
def wheelScrollLines() -> int: ... |
|
@staticmethod |
|
def setWheelScrollLines(a0: int) -> None: ... |
|
@staticmethod |
|
def keyboardInputInterval() -> int: ... |
|
@staticmethod |
|
def setKeyboardInputInterval(a0: int) -> None: ... |
|
@staticmethod |
|
def doubleClickInterval() -> int: ... |
|
@staticmethod |
|
def setDoubleClickInterval(a0: int) -> None: ... |
|
@staticmethod |
|
def cursorFlashTime() -> int: ... |
|
@staticmethod |
|
def setCursorFlashTime(a0: int) -> None: ... |
|
@staticmethod |
|
def alert(widget: QWidget, msecs: int = ...) -> None: ... |
|
@staticmethod |
|
def beep() -> None: ... |
|
#@typing.overload |
|
#@staticmethod |
|
#def topLevelAt(p: QtCore.QPoint) -> QWidget: ... |
|
#@typing.overload |
|
#@staticmethod |
|
#def topLevelAt(x: int, y: int) -> QWidget: ... |
|
@typing.overload |
|
@staticmethod |
|
def widgetAt(p: QtCore.QPoint) -> QWidget: ... |
|
@typing.overload |
|
@staticmethod |
|
def widgetAt(x: int, y: int) -> QWidget: ... |
|
@staticmethod |
|
def setActiveWindow(act: QWidget) -> None: ... |
|
@staticmethod |
|
def activeWindow() -> QWidget: ... |
|
@staticmethod |
|
def focusWidget() -> QWidget: ... |
|
@staticmethod |
|
def activeModalWidget() -> QWidget: ... |
|
@staticmethod |
|
def activePopupWidget() -> QWidget: ... |
|
@staticmethod |
|
def desktop() -> 'QDesktopWidget': ... |
|
@staticmethod |
|
def topLevelWidgets() -> typing.Any: ... |
|
@staticmethod |
|
def allWidgets() -> typing.Any: ... |
|
@staticmethod |
|
def windowIcon() -> QtGui.QIcon: ... |
|
@staticmethod |
|
def setWindowIcon(icon: QtGui.QIcon) -> None: ... |
|
@staticmethod |
|
def fontMetrics() -> QtGui.QFontMetrics: ... |
|
@staticmethod |
|
def setFont(a0: QtGui.QFont, className: typing.Optional[str] = ...) -> None: ... |
|
@typing.overload |
|
@staticmethod |
|
def font() -> QtGui.QFont: ... |
|
@typing.overload |
|
@staticmethod |
|
def font(a0: QWidget) -> QtGui.QFont: ... |
|
@typing.overload |
|
@staticmethod |
|
def font(className: str) -> QtGui.QFont: ... |
|
@staticmethod |
|
def setPalette(a0: QtGui.QPalette, className: typing.Optional[str] = ...) -> None: ... |
|
@typing.overload |
|
@staticmethod |
|
def palette() -> QtGui.QPalette: ... |
|
@typing.overload |
|
@staticmethod |
|
def palette(a0: QWidget) -> QtGui.QPalette: ... |
|
@typing.overload |
|
@staticmethod |
|
def palette(className: str) -> QtGui.QPalette: ... |
|
@staticmethod |
|
def setColorSpec(a0: int) -> None: ... |
|
@staticmethod |
|
def colorSpec() -> int: ... |
|
@typing.overload |
|
@staticmethod |
|
def setStyle(a0: 'QStyle') -> None: ... |
|
@typing.overload |
|
@staticmethod |
|
def setStyle(a0: str) -> 'QStyle': ... |
|
@staticmethod |
|
def style() -> 'QStyle': ... |
|
|
|
|
|
class QLayoutItem(sip.wrapper): |
|
|
|
@typing.overload |
|
def __init__(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... |
|
@typing.overload |
|
def __init__(self, a0: 'QLayoutItem') -> None: ... |
|
|
|
def controlTypes(self) -> 'QSizePolicy.ControlTypes': ... |
|
def setAlignment(self, a: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... |
|
def alignment(self) -> QtCore.Qt.Alignment: ... |
|
def spacerItem(self) -> 'QSpacerItem': ... |
|
def layout(self) -> 'QLayout': ... |
|
def widget(self) -> QWidget: ... |
|
def invalidate(self) -> None: ... |
|
def minimumHeightForWidth(self, a0: int) -> int: ... |
|
def heightForWidth(self, a0: int) -> int: ... |
|
def hasHeightForWidth(self) -> bool: ... |
|
def isEmpty(self) -> bool: ... |
|
def geometry(self) -> QtCore.QRect: ... |
|
def setGeometry(self, a0: QtCore.QRect) -> None: ... |
|
def expandingDirections(self) -> QtCore.Qt.Orientations: ... |
|
def maximumSize(self) -> QtCore.QSize: ... |
|
def minimumSize(self) -> QtCore.QSize: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
|
|
|
|
class QLayout(QtCore.QObject, QLayoutItem): |
|
|
|
class SizeConstraint(int): ... |
|
SetDefaultConstraint = ... # type: 'QLayout.SizeConstraint' |
|
SetNoConstraint = ... # type: 'QLayout.SizeConstraint' |
|
SetMinimumSize = ... # type: 'QLayout.SizeConstraint' |
|
SetFixedSize = ... # type: 'QLayout.SizeConstraint' |
|
SetMaximumSize = ... # type: 'QLayout.SizeConstraint' |
|
SetMinAndMaxSize = ... # type: 'QLayout.SizeConstraint' |
|
|
|
@typing.overload |
|
def __init__(self, parent: QWidget) -> None: ... |
|
@typing.overload |
|
def __init__(self) -> None: ... |
|
|
|
def replaceWidget(self, from_: QWidget, to: QWidget, options: typing.Union[QtCore.Qt.FindChildOptions, QtCore.Qt.FindChildOption] = ...) -> QLayoutItem: ... |
|
def controlTypes(self) -> 'QSizePolicy.ControlTypes': ... |
|
def contentsMargins(self) -> QtCore.QMargins: ... |
|
def contentsRect(self) -> QtCore.QRect: ... |
|
def getContentsMargins(self) -> typing.Tuple[int, int, int, int]: ... |
|
@typing.overload |
|
def setContentsMargins(self, left: int, top: int, right: int, bottom: int) -> None: ... |
|
@typing.overload |
|
def setContentsMargins(self, margins: QtCore.QMargins) -> None: ... |
|
def alignmentRect(self, a0: QtCore.QRect) -> QtCore.QRect: ... |
|
def addChildWidget(self, w: QWidget) -> None: ... |
|
def addChildLayout(self, l: 'QLayout') -> None: ... |
|
def childEvent(self, e: QtCore.QChildEvent) -> None: ... |
|
def widgetEvent(self, a0: QtCore.QEvent) -> None: ... |
|
@staticmethod |
|
def closestAcceptableSize(w: QWidget, s: QtCore.QSize) -> QtCore.QSize: ... |
|
def isEnabled(self) -> bool: ... |
|
def setEnabled(self, a0: bool) -> None: ... |
|
def layout(self) -> 'QLayout': ... |
|
def totalSizeHint(self) -> QtCore.QSize: ... |
|
def totalMaximumSize(self) -> QtCore.QSize: ... |
|
def totalMinimumSize(self) -> QtCore.QSize: ... |
|
def totalHeightForWidth(self, w: int) -> int: ... |
|
def isEmpty(self) -> bool: ... |
|
def __len__(self) -> int: ... |
|
def count(self) -> int: ... |
|
def indexOf(self, a0: QWidget) -> int: ... |
|
def takeAt(self, index: int) -> QLayoutItem: ... |
|
def itemAt(self, index: int) -> QLayoutItem: ... |
|
def setGeometry(self, a0: QtCore.QRect) -> None: ... |
|
def maximumSize(self) -> QtCore.QSize: ... |
|
def minimumSize(self) -> QtCore.QSize: ... |
|
def expandingDirections(self) -> QtCore.Qt.Orientations: ... |
|
def removeItem(self, a0: QLayoutItem) -> None: ... |
|
def removeWidget(self, w: QWidget) -> None: ... |
|
def addItem(self, a0: QLayoutItem) -> None: ... |
|
def addWidget(self, w: QWidget) -> None: ... |
|
def update(self) -> None: ... |
|
def activate(self) -> bool: ... |
|
def geometry(self) -> QtCore.QRect: ... |
|
def invalidate(self) -> None: ... |
|
def parentWidget(self) -> QWidget: ... |
|
def menuBar(self) -> QWidget: ... |
|
def setMenuBar(self, w: QWidget) -> None: ... |
|
def sizeConstraint(self) -> 'QLayout.SizeConstraint': ... |
|
def setSizeConstraint(self, a0: 'QLayout.SizeConstraint') -> None: ... |
|
@typing.overload |
|
def setAlignment(self, w: QWidget, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> bool: ... |
|
@typing.overload |
|
def setAlignment(self, l: 'QLayout', alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> bool: ... |
|
@typing.overload |
|
def setAlignment(self, alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag]) -> None: ... |
|
def setSpacing(self, a0: int) -> None: ... |
|
def spacing(self) -> int: ... |
|
|
|
|
|
class QBoxLayout(QLayout): |
|
|
|
class Direction(int): ... |
|
LeftToRight = ... # type: 'QBoxLayout.Direction' |
|
RightToLeft = ... # type: 'QBoxLayout.Direction' |
|
TopToBottom = ... # type: 'QBoxLayout.Direction' |
|
BottomToTop = ... # type: 'QBoxLayout.Direction' |
|
Down = ... # type: 'QBoxLayout.Direction' |
|
Up = ... # type: 'QBoxLayout.Direction' |
|
|
|
def __init__(self, direction: 'QBoxLayout.Direction', parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def insertItem(self, index: int, a1: QLayoutItem) -> None: ... |
|
def stretch(self, index: int) -> int: ... |
|
def setStretch(self, index: int, stretch: int) -> None: ... |
|
def insertSpacerItem(self, index: int, spacerItem: 'QSpacerItem') -> None: ... |
|
def addSpacerItem(self, spacerItem: 'QSpacerItem') -> None: ... |
|
def setSpacing(self, spacing: int) -> None: ... |
|
def spacing(self) -> int: ... |
|
def setGeometry(self, a0: QtCore.QRect) -> None: ... |
|
def count(self) -> int: ... |
|
def takeAt(self, a0: int) -> QLayoutItem: ... |
|
def itemAt(self, a0: int) -> QLayoutItem: ... |
|
def invalidate(self) -> None: ... |
|
def expandingDirections(self) -> QtCore.Qt.Orientations: ... |
|
def minimumHeightForWidth(self, a0: int) -> int: ... |
|
def heightForWidth(self, a0: int) -> int: ... |
|
def hasHeightForWidth(self) -> bool: ... |
|
def maximumSize(self) -> QtCore.QSize: ... |
|
def minimumSize(self) -> QtCore.QSize: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
@typing.overload |
|
def setStretchFactor(self, w: QWidget, stretch: int) -> bool: ... |
|
@typing.overload |
|
def setStretchFactor(self, l: QLayout, stretch: int) -> bool: ... |
|
def insertLayout(self, index: int, layout: QLayout, stretch: int = ...) -> None: ... |
|
def insertWidget(self, index: int, widget: QWidget, stretch: int = ..., alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... |
|
def insertStretch(self, index: int, stretch: int = ...) -> None: ... |
|
def insertSpacing(self, index: int, size: int) -> None: ... |
|
def addItem(self, a0: QLayoutItem) -> None: ... |
|
def addStrut(self, a0: int) -> None: ... |
|
def addLayout(self, layout: QLayout, stretch: int = ...) -> None: ... |
|
def addWidget(self, a0: QWidget, stretch: int = ..., alignment: typing.Union[QtCore.Qt.Alignment, QtCore.Qt.AlignmentFlag] = ...) -> None: ... |
|
def addStretch(self, stretch: int = ...) -> None: ... |
|
def addSpacing(self, size: int) -> None: ... |
|
def setDirection(self, a0: 'QBoxLayout.Direction') -> None: ... |
|
def direction(self) -> 'QBoxLayout.Direction': ... |
|
|
|
|
|
class QHBoxLayout(QBoxLayout): |
|
|
|
@typing.overload |
|
def __init__(self) -> None: ... |
|
@typing.overload |
|
def __init__(self, parent: QWidget) -> None: ... |
|
|
|
|
|
class QVBoxLayout(QBoxLayout): |
|
|
|
@typing.overload |
|
def __init__(self) -> None: ... |
|
@typing.overload |
|
def __init__(self, parent: QWidget) -> None: ... |
|
|
|
|
|
class QButtonGroup(QtCore.QObject): |
|
buttonClicked = ... # type: PYQT_SIGNAL |
|
buttonToggled = ... # type: PYQT_SIGNAL |
|
buttonReleased = ... # type: PYQT_SIGNAL |
|
buttonPressed = ... # type: PYQT_SIGNAL |
|
|
|
def __init__(self, parent: typing.Optional[QtCore.QObject] = ...) -> None: ... |
|
|
|
def checkedId(self) -> int: ... |
|
def id(self, button: QAbstractButton) -> int: ... |
|
def setId(self, button: QAbstractButton, id: int) -> None: ... |
|
def checkedButton(self) -> QAbstractButton: ... |
|
def button(self, id: int) -> QAbstractButton: ... |
|
def buttons(self) -> typing.Any: ... |
|
def removeButton(self, a0: QAbstractButton) -> None: ... |
|
def addButton(self, a0: QAbstractButton, id: int = ...) -> None: ... |
|
def exclusive(self) -> bool: ... |
|
def setExclusive(self, a0: bool) -> None: ... |
|
|
|
|
|
class QCalendarWidget(QWidget): |
|
|
|
class SelectionMode(int): ... |
|
NoSelection = ... # type: 'QCalendarWidget.SelectionMode' |
|
SingleSelection = ... # type: 'QCalendarWidget.SelectionMode' |
|
|
|
class VerticalHeaderFormat(int): ... |
|
NoVerticalHeader = ... # type: 'QCalendarWidget.VerticalHeaderFormat' |
|
ISOWeekNumbers = ... # type: 'QCalendarWidget.VerticalHeaderFormat' |
|
|
|
class HorizontalHeaderFormat(int): ... |
|
NoHorizontalHeader = ... # type: 'QCalendarWidget.HorizontalHeaderFormat' |
|
SingleLetterDayNames = ... # type: 'QCalendarWidget.HorizontalHeaderFormat' |
|
ShortDayNames = ... # type: 'QCalendarWidget.HorizontalHeaderFormat' |
|
LongDayNames = ... # type: 'QCalendarWidget.HorizontalHeaderFormat' |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def setNavigationBarVisible(self, visible: bool) -> None: ... |
|
def setDateEditAcceptDelay(self, delay: int) -> None: ... |
|
def dateEditAcceptDelay(self) -> int: ... |
|
def setDateEditEnabled(self, enable: bool) -> None: ... |
|
def isDateEditEnabled(self) -> bool: ... |
|
def isNavigationBarVisible(self) -> bool: ... |
|
def selectionChanged(self) -> None: ... |
|
def currentPageChanged(self, year: int, month: int) -> None: ... |
|
def clicked(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... |
|
def activated(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... |
|
def showToday(self) -> None: ... |
|
def showSelectedDate(self) -> None: ... |
|
def showPreviousYear(self) -> None: ... |
|
def showPreviousMonth(self) -> None: ... |
|
def showNextYear(self) -> None: ... |
|
def showNextMonth(self) -> None: ... |
|
def setSelectedDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... |
|
def setDateRange(self, min: typing.Union[QtCore.QDate, datetime.date], max: typing.Union[QtCore.QDate, datetime.date]) -> None: ... |
|
def setCurrentPage(self, year: int, month: int) -> None: ... |
|
def paintCell(self, painter: QtGui.QPainter, rect: QtCore.QRect, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... |
|
def keyPressEvent(self, event: QtGui.QKeyEvent) -> None: ... |
|
def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... |
|
def mousePressEvent(self, event: QtGui.QMouseEvent) -> None: ... |
|
def eventFilter(self, watched: QtCore.QObject, event: QtCore.QEvent) -> bool: ... |
|
def event(self, event: QtCore.QEvent) -> bool: ... |
|
def updateCells(self) -> None: ... |
|
def updateCell(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... |
|
def setDateTextFormat(self, date: typing.Union[QtCore.QDate, datetime.date], color: QtGui.QTextCharFormat) -> None: ... |
|
@typing.overload |
|
def dateTextFormat(self) -> typing.Any: ... |
|
@typing.overload |
|
def dateTextFormat(self, date: typing.Union[QtCore.QDate, datetime.date]) -> QtGui.QTextCharFormat: ... |
|
def setWeekdayTextFormat(self, dayOfWeek: QtCore.Qt.DayOfWeek, format: QtGui.QTextCharFormat) -> None: ... |
|
def weekdayTextFormat(self, dayOfWeek: QtCore.Qt.DayOfWeek) -> QtGui.QTextCharFormat: ... |
|
def setHeaderTextFormat(self, format: QtGui.QTextCharFormat) -> None: ... |
|
def headerTextFormat(self) -> QtGui.QTextCharFormat: ... |
|
def setVerticalHeaderFormat(self, format: 'QCalendarWidget.VerticalHeaderFormat') -> None: ... |
|
def verticalHeaderFormat(self) -> 'QCalendarWidget.VerticalHeaderFormat': ... |
|
def setHorizontalHeaderFormat(self, format: 'QCalendarWidget.HorizontalHeaderFormat') -> None: ... |
|
def horizontalHeaderFormat(self) -> 'QCalendarWidget.HorizontalHeaderFormat': ... |
|
def setSelectionMode(self, mode: 'QCalendarWidget.SelectionMode') -> None: ... |
|
def selectionMode(self) -> 'QCalendarWidget.SelectionMode': ... |
|
def setGridVisible(self, show: bool) -> None: ... |
|
def isGridVisible(self) -> bool: ... |
|
def setFirstDayOfWeek(self, dayOfWeek: QtCore.Qt.DayOfWeek) -> None: ... |
|
def firstDayOfWeek(self) -> QtCore.Qt.DayOfWeek: ... |
|
def setMaximumDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... |
|
def maximumDate(self) -> QtCore.QDate: ... |
|
def setMinimumDate(self, date: typing.Union[QtCore.QDate, datetime.date]) -> None: ... |
|
def minimumDate(self) -> QtCore.QDate: ... |
|
def monthShown(self) -> int: ... |
|
def yearShown(self) -> int: ... |
|
def selectedDate(self) -> QtCore.QDate: ... |
|
def minimumSizeHint(self) -> QtCore.QSize: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
|
|
|
|
class QCheckBox(QAbstractButton): |
|
stateChanged = ... # type: PYQT_SIGNAL |
|
|
|
@typing.overload |
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
@typing.overload |
|
def __init__(self, text: str, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def initStyleOption(self, option: 'QStyleOptionButton') -> None: ... |
|
def mouseMoveEvent(self, a0: QtGui.QMouseEvent) -> None: ... |
|
def paintEvent(self, a0: QtGui.QPaintEvent) -> None: ... |
|
def event(self, e: QtCore.QEvent) -> bool: ... |
|
def nextCheckState(self) -> None: ... |
|
def checkStateSet(self) -> None: ... |
|
def hitButton(self, pos: QtCore.QPoint) -> bool: ... |
|
#def stateChanged(self, a0: int) -> None: ... |
|
def minimumSizeHint(self) -> QtCore.QSize: ... |
|
def setCheckState(self, state: QtCore.Qt.CheckState) -> None: ... |
|
def checkState(self) -> QtCore.Qt.CheckState: ... |
|
def isTristate(self) -> bool: ... |
|
def setTristate(self, on: bool = ...) -> None: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
|
|
|
|
class QDialog(QWidget): |
|
accepted = ... # type: PYQT_SIGNAL |
|
finished = ... # type: PYQT_SIGNAL |
|
|
|
class DialogCode(int): ... |
|
Rejected = ... # type: 'QDialog.DialogCode' |
|
Accepted = ... # type: 'QDialog.DialogCode' |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ..., flags: typing.Union[QtCore.Qt.WindowFlags, QtCore.Qt.WindowType] = ...) -> None: ... |
|
|
|
def eventFilter(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ... |
|
def contextMenuEvent(self, a0: QtGui.QContextMenuEvent) -> None: ... |
|
def resizeEvent(self, a0: QtGui.QResizeEvent) -> None: ... |
|
def showEvent(self, a0: QtGui.QShowEvent) -> None: ... |
|
def closeEvent(self, a0: QtGui.QCloseEvent) -> None: ... |
|
def keyPressEvent(self, a0: QtGui.QKeyEvent) -> None: ... |
|
def rejected(self) -> None: ... |
|
def open(self) -> None: ... |
|
def reject(self) -> None: ... |
|
def accept(self) -> None: ... |
|
def done(self, a0: int) -> None: ... |
|
def exec(self) -> int: ... |
|
def exec_(self) -> int: ... |
|
def setResult(self, r: int) -> None: ... |
|
def setModal(self, modal: bool) -> None: ... |
|
def isSizeGripEnabled(self) -> bool: ... |
|
def setSizeGripEnabled(self, a0: bool) -> None: ... |
|
def minimumSizeHint(self) -> QtCore.QSize: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
def setVisible(self, visible: bool) -> None: ... |
|
def result(self) -> int: ... |
|
|
|
|
|
class QColorDialog(QDialog): |
|
|
|
class ColorDialogOption(int): ... |
|
ShowAlphaChannel = ... # type: 'QColorDialog.ColorDialogOption' |
|
NoButtons = ... # type: 'QColorDialog.ColorDialogOption' |
|
DontUseNativeDialog = ... # type: 'QColorDialog.ColorDialogOption' |
|
|
|
class ColorDialogOptions(sip.simplewrapper): |
|
|
|
@typing.overload |
|
def __init__(self) -> None: ... |
|
@typing.overload |
|
def __init__(self, f: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption']) -> None: ... |
|
@typing.overload |
|
def __init__(self, a0: 'QColorDialog.ColorDialogOptions') -> None: ... |
|
|
|
def __hash__(self) -> int: ... |
|
def __bool__(self) -> int: ... |
|
def __invert__(self) -> 'QColorDialog.ColorDialogOptions': ... |
|
def __int__(self) -> int: ... |
|
|
|
@typing.overload |
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
@typing.overload |
|
def __init__(self, initial: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient], parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def setVisible(self, visible: bool) -> None: ... |
|
@typing.overload |
|
def open(self) -> None: ... |
|
@typing.overload |
|
def open(self, slot: PYQT_SLOT) -> None: ... |
|
def options(self) -> 'QColorDialog.ColorDialogOptions': ... |
|
def setOptions(self, options: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption']) -> None: ... |
|
def testOption(self, option: 'QColorDialog.ColorDialogOption') -> bool: ... |
|
def setOption(self, option: 'QColorDialog.ColorDialogOption', on: bool = ...) -> None: ... |
|
def selectedColor(self) -> QtGui.QColor: ... |
|
def currentColor(self) -> QtGui.QColor: ... |
|
def setCurrentColor(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... |
|
def done(self, result: int) -> None: ... |
|
def changeEvent(self, e: QtCore.QEvent) -> None: ... |
|
def currentColorChanged(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... |
|
def colorSelected(self, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... |
|
@staticmethod |
|
def setStandardColor(index: int, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... |
|
@staticmethod |
|
def standardColor(index: int) -> QtGui.QColor: ... |
|
@staticmethod |
|
def setCustomColor(index: int, color: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient]) -> None: ... |
|
@staticmethod |
|
def customColor(index: int) -> QtGui.QColor: ... |
|
@staticmethod |
|
def customCount() -> int: ... |
|
@staticmethod |
|
def getColor(initial: typing.Union[QtGui.QColor, QtCore.Qt.GlobalColor, QtGui.QGradient] = ..., parent: typing.Optional[QWidget] = ..., title: str = ..., options: typing.Union['QColorDialog.ColorDialogOptions', 'QColorDialog.ColorDialogOption'] = ...) -> QtGui.QColor: ... |
|
|
|
|
|
class QColumnView(QAbstractItemView): |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def currentChanged(self, current: QtCore.QModelIndex, previous: QtCore.QModelIndex) -> None: ... |
|
def rowsInserted(self, parent: QtCore.QModelIndex, start: int, end: int) -> None: ... |
|
def scrollContentsBy(self, dx: int, dy: int) -> None: ... |
|
def verticalOffset(self) -> int: ... |
|
def horizontalOffset(self) -> int: ... |
|
def visualRegionForSelection(self, selection: QtCore.QItemSelection) -> QtGui.QRegion: ... |
|
def setSelection(self, rect: QtCore.QRect, command: typing.Union[QtCore.QItemSelectionModel.SelectionFlags, QtCore.QItemSelectionModel.SelectionFlag]) -> None: ... |
|
def resizeEvent(self, event: QtGui.QResizeEvent) -> None: ... |
|
def moveCursor(self, cursorAction: QAbstractItemView.CursorAction, modifiers: typing.Union[QtCore.Qt.KeyboardModifiers, QtCore.Qt.KeyboardModifier]) -> QtCore.QModelIndex: ... |
|
def isIndexHidden(self, index: QtCore.QModelIndex) -> bool: ... |
|
def initializeColumn(self, column: QAbstractItemView) -> None: ... |
|
def createColumn(self, rootIndex: QtCore.QModelIndex) -> QAbstractItemView: ... |
|
def updatePreviewWidget(self, index: QtCore.QModelIndex) -> None: ... |
|
def selectAll(self) -> None: ... |
|
def setRootIndex(self, index: QtCore.QModelIndex) -> None: ... |
|
def setSelectionModel(self, selectionModel: QtCore.QItemSelectionModel) -> None: ... |
|
def setModel(self, model: QtCore.QAbstractItemModel) -> None: ... |
|
def visualRect(self, index: QtCore.QModelIndex) -> QtCore.QRect: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
def scrollTo(self, index: QtCore.QModelIndex, hint: QAbstractItemView.ScrollHint = ...) -> None: ... |
|
def indexAt(self, point: QtCore.QPoint) -> QtCore.QModelIndex: ... |
|
def setResizeGripsVisible(self, visible: bool) -> None: ... |
|
def setPreviewWidget(self, widget: QWidget) -> None: ... |
|
def setColumnWidths(self, list: typing.Iterable[int]) -> None: ... |
|
def resizeGripsVisible(self) -> bool: ... |
|
def previewWidget(self) -> QWidget: ... |
|
def columnWidths(self) -> typing.List[int]: ... |
|
|
|
|
|
class QComboBox(QWidget): |
|
currentIndexChanged = ... # type: PYQT_SIGNAL |
|
activated = ... # type: PYQT_SIGNAL |
|
|
|
class SizeAdjustPolicy(int): ... |
|
AdjustToContents = ... # type: 'QComboBox.SizeAdjustPolicy' |
|
AdjustToContentsOnFirstShow = ... # type: 'QComboBox.SizeAdjustPolicy' |
|
AdjustToMinimumContentsLength = ... # type: 'QComboBox.SizeAdjustPolicy' |
|
AdjustToMinimumContentsLengthWithIcon = ... # type: 'QComboBox.SizeAdjustPolicy' |
|
|
|
class InsertPolicy(int): ... |
|
NoInsert = ... # type: 'QComboBox.InsertPolicy' |
|
InsertAtTop = ... # type: 'QComboBox.InsertPolicy' |
|
InsertAtCurrent = ... # type: 'QComboBox.InsertPolicy' |
|
InsertAtBottom = ... # type: 'QComboBox.InsertPolicy' |
|
InsertAfterCurrent = ... # type: 'QComboBox.InsertPolicy' |
|
InsertBeforeCurrent = ... # type: 'QComboBox.InsertPolicy' |
|
InsertAlphabetically = ... # type: 'QComboBox.InsertPolicy' |
|
|
|
def __init__(self, parent: typing.Optional[QWidget] = ...) -> None: ... |
|
|
|
def currentData(self, role: int = ...) -> typing.Any: ... |
|
@typing.overload |
|
def inputMethodQuery(self, a0: QtCore.Qt.InputMethodQuery) -> typing.Any: ... |
|
@typing.overload |
|
def inputMethodQuery(self, query: QtCore.Qt.InputMethodQuery, argument: typing.Any) -> typing.Any: ... |
|
def inputMethodEvent(self, a0: QtGui.QInputMethodEvent) -> None: ... |
|
def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None: ... |
|
def wheelEvent(self, e: QtGui.QWheelEvent) -> None: ... |
|
def keyReleaseEvent(self, e: QtGui.QKeyEvent) -> None: ... |
|
def keyPressEvent(self, e: QtGui.QKeyEvent) -> None: ... |
|
def mouseReleaseEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def mousePressEvent(self, e: QtGui.QMouseEvent) -> None: ... |
|
def hideEvent(self, e: QtGui.QHideEvent) -> None: ... |
|
def showEvent(self, e: QtGui.QShowEvent) -> None: ... |
|
def paintEvent(self, e: QtGui.QPaintEvent) -> None: ... |
|
def resizeEvent(self, e: QtGui.QResizeEvent) -> None: ... |
|
def changeEvent(self, e: QtCore.QEvent) -> None: ... |
|
def focusOutEvent(self, e: QtGui.QFocusEvent) -> None: ... |
|
def focusInEvent(self, e: QtGui.QFocusEvent) -> None: ... |
|
def initStyleOption(self, option: 'QStyleOptionComboBox') -> None: ... |
|
@typing.overload |
|
def highlighted(self, index: int) -> None: ... |
|
@typing.overload |
|
def highlighted(self, a0: str) -> None: ... |
|
def currentTextChanged(self, a0: str) -> None: ... |
|
# @typing.overload |
|
# def activated(self, index: int) -> None: ... |
|
# @typing.overload |
|
# def activated(self, a0: str) -> None: ... |
|
def editTextChanged(self, a0: str) -> None: ... |
|
def setCurrentText(self, text: str) -> None: ... |
|
def setEditText(self, text: str) -> None: ... |
|
def clearEditText(self) -> None: ... |
|
def clear(self) -> None: ... |
|
def insertSeparator(self, index: int) -> None: ... |
|
def completer(self) -> 'QCompleter': ... |
|
def setCompleter(self, c: 'QCompleter') -> None: ... |
|
def event(self, event: QtCore.QEvent) -> bool: ... |
|
def hidePopup(self) -> None: ... |
|
def showPopup(self) -> None: ... |
|
def minimumSizeHint(self) -> QtCore.QSize: ... |
|
def sizeHint(self) -> QtCore.QSize: ... |
|
def setView(self, itemView: QAbstractItemView) -> None: ... |
|
def view(self) -> QAbstractItemView: ... |
|
def setItemData(self, index: int, value: typing.Any, role: int = ...) -> None: ... |
|
def setItemIcon(self, index: int, icon: QtGui.QIcon) -> None: ... |
|
def setItemText(self, index: int, text: str) -> None: ... |
|
def removeItem(self, index: int) -> None: ... |
|
def insertItems(self, index: int, texts: typing.Iterable[str]) -> None: ... |
|
@typing.overload |
|
def insertItem(self, index: int, text: str, userData: typing.Any = ...) -> None: ... |
|
@typing.overload |
|
def insertItem(self, index: int, icon: QtGui.QIcon, text: str, userData: typing.Any = ...) -> None: ... |
|
@typing.overload |
|
def addItem(self, text: str, userData: typing.Any = ...) -> None: ... |
|