napari.qt.QtToolTipLabel#
- class napari.qt.QtToolTipLabel[source]#
Bases:
QLabel
A QLabel that provides instant tooltips on mouser hover.
Methods
Attributes
Box
DrawChildren
DrawWindowBackground
HLine
IgnoreMask
NoFrame
Panel
PdmDepth
PdmDevicePixelRatio
PdmDevicePixelRatioScaled
PdmDpiX
PdmDpiY
PdmHeight
PdmHeightMM
PdmNumColors
PdmPhysicalDpiX
PdmPhysicalDpiY
PdmWidth
PdmWidthMM
Plain
Raised
Shadow_Mask
Shape_Mask
StyledPanel
Sunken
VLine
WinPanel
customContextMenuRequested
int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
destroyed
int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
linkActivated
int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
linkHovered
int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
objectNameChanged
int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
staticMetaObject
windowIconChanged
int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
windowIconTextChanged
int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
windowTitleChanged
int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
Details
- class RenderFlags#
- class RenderFlags(f: Union[QWidget.RenderFlags, QWidget.RenderFlag])
- class RenderFlags(a0: QWidget.RenderFlags)
Bases:
simplewrapper
- actionEvent(self, a0: Optional[QActionEvent])#
- actions(self) List[QAction] #
- activateWindow(self)#
- addAction(self, action: Optional[QAction])#
- addActions(self, actions: Iterable[QAction])#
- adjustSize(self)#
- alignment(self) Qt.Alignment #
- backgroundRole(self) QPalette.ColorRole #
- baseSize(self) QSize #
- buddy(self) Optional[QWidget] #
- changeEvent(self, a0: Optional[QEvent])#
- childEvent(self, a0: Optional[QChildEvent])#
- children(self) List[QObject] #
- childrenRect(self) QRect #
- childrenRegion(self) QRegion #
- clear(self)#
- clearFocus(self)#
- clearMask(self)#
- closeEvent(self, a0: Optional[QCloseEvent])#
- connectNotify(self, signal: QMetaMethod)#
- contentsMargins(self) QMargins #
- contentsRect(self) QRect #
- contextMenuEvent(self, ev: Optional[QContextMenuEvent])#
- contextMenuPolicy(self) Qt.ContextMenuPolicy #
- create(self, window: PyQt5.sip.voidptr = None, initializeWindow: bool = True, destroyOldWindow: bool = True)#
- createWindowContainer(window: Optional[QWindow], parent: Optional[QWidget] = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget #
- cursor(self) QCursor #
- customEvent(self, a0: Optional[QEvent])#
- deleteLater(self)#
- disconnectNotify(self, signal: QMetaMethod)#
- dragEnterEvent(self, a0: Optional[QDragEnterEvent])#
- dragLeaveEvent(self, a0: Optional[QDragLeaveEvent])#
- dragMoveEvent(self, a0: Optional[QDragMoveEvent])#
- drawFrame(self, a0: Optional[QPainter])#
- dropEvent(self, a0: Optional[QDropEvent])#
- dumpObjectInfo(self)#
- dumpObjectTree(self)#
- dynamicPropertyNames(self) List[QByteArray] #
- effectiveWinId(self) PyQt5.sip.voidptr #
- ensurePolished(self)#
- find(a0: PyQt5.sip.voidptr) Optional[QWidget] #
- findChild(self, type: Type[QObjectT], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObjectT #
- findChild(self, types: Tuple[Type[QObjectT], ...], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObjectT
- findChildren(self, type: Type[QObjectT], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObjectT] #
- findChildren(self, types: Tuple[Type[QObjectT], ...], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObjectT]
- findChildren(self, type: Type[QObjectT], regExp: QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObjectT]
- findChildren(self, types: Tuple[Type[QObjectT], ...], regExp: QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObjectT]
- findChildren(self, type: Type[QObjectT], re: QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObjectT]
- findChildren(self, types: Tuple[Type[QObjectT], ...], re: QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObjectT]
- focusInEvent(self, ev: Optional[QFocusEvent])#
- focusOutEvent(self, ev: Optional[QFocusEvent])#
- focusPolicy(self) Qt.FocusPolicy #
- focusProxy(self) Optional[QWidget] #
- focusWidget(self) Optional[QWidget] #
- font(self) QFont #
- fontInfo(self) QFontInfo #
- fontMetrics(self) QFontMetrics #
- foregroundRole(self) QPalette.ColorRole #
- frameGeometry(self) QRect #
- frameRect(self) QRect #
- frameShadow(self) QFrame.Shadow #
- frameShape(self) QFrame.Shape #
- frameSize(self) QSize #
- geometry(self) QRect #
- getContentsMargins(self)#
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(-1, -1))) QPixmap #
- grabGesture(self, type: Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())#
- grabKeyboard(self)#
- grabShortcut(self, key: Union[QKeySequence, QKeySequence.StandardKey, Optional[str], int], context: Qt.ShortcutContext = Qt.WindowShortcut) int #
- graphicsEffect(self) Optional[QGraphicsEffect] #
- graphicsProxyWidget(self) Optional[QGraphicsProxyWidget] #
- hide(self)#
- hideEvent(self, a0: Optional[QHideEvent])#
- initPainter(self, painter: Optional[QPainter])#
- initStyleOption(self, option: Optional[QStyleOptionFrame])#
- inputMethodEvent(self, a0: Optional[QInputMethodEvent])#
- inputMethodHints(self) Qt.InputMethodHints #
- inputMethodQuery(self, a0: Qt.InputMethodQuery) Any #
- insertAction(self, before: Optional[QAction], action: Optional[QAction])#
- insertActions(self, before: Optional[QAction], actions: Iterable[QAction])#
- installEventFilter(self, a0: Optional[QObject])#
- keyPressEvent(self, ev: Optional[QKeyEvent])#
- keyReleaseEvent(self, a0: Optional[QKeyEvent])#
- keyboardGrabber() Optional[QWidget] #
- layout(self) Optional[QLayout] #
- layoutDirection(self) Qt.LayoutDirection #
- leaveEvent(self, a0: Optional[QEvent])#
- locale(self) QLocale #
- lower(self)#
- mapFrom(self, a0: Optional[QWidget], a1: QPoint) QPoint #
- mapFromGlobal(self, a0: QPoint) QPoint #
- mapFromParent(self, a0: QPoint) QPoint #
- mapTo(self, a0: Optional[QWidget], a1: QPoint) QPoint #
- mapToGlobal(self, a0: QPoint) QPoint #
- mapToParent(self, a0: QPoint) QPoint #
- mask(self) QRegion #
- maximumSize(self) QSize #
- metaObject(self) Optional[QMetaObject] #
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int #
- minimumSize(self) QSize #
- minimumSizeHint(self) QSize #
- mouseDoubleClickEvent(self, a0: Optional[QMouseEvent])#
- mouseGrabber() Optional[QWidget] #
- mouseMoveEvent(self, ev: Optional[QMouseEvent])#
- mousePressEvent(self, ev: Optional[QMouseEvent])#
- mouseReleaseEvent(self, ev: Optional[QMouseEvent])#
- moveEvent(self, a0: Optional[QMoveEvent])#
- moveToThread(self, thread: Optional[QThread])#
- movie(self) Optional[QMovie] #
- nativeEvent(self, eventType: Union[QByteArray, bytes, bytearray], message: Optional[PyQt5.sip.voidptr])#
- nativeParentWidget(self) Optional[QWidget] #
- nextInFocusChain(self) Optional[QWidget] #
- normalGeometry(self) QRect #
- overrideWindowFlags(self, type: Union[Qt.WindowFlags, Qt.WindowType])#
- overrideWindowState(self, state: Union[Qt.WindowStates, Qt.WindowState])#
- paintEngine(self) Optional[QPaintEngine] #
- paintEvent(self, a0: Optional[QPaintEvent])#
- palette(self) QPalette #
- parent(self) Optional[QObject] #
- parentWidget(self) Optional[QWidget] #
- picture(self) Optional[QPicture] #
- pixmap(self) Optional[QPixmap] #
- pos(self) QPoint #
- previousInFocusChain(self) Optional[QWidget] #
- pyqtConfigure(...)#
Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
- raise_(self)#
- rect(self) QRect #
- releaseKeyboard(self)#
- releaseMouse(self)#
- removeAction(self, action: Optional[QAction])#
- removeEventFilter(self, a0: Optional[QObject])#
- render(self, target: Optional[QPaintDevice], targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))#
- render(self, painter: Optional[QPainter], targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
- repaint(self)#
- repaint(self, x: int, y: int, w: int, h: int) None
- repaint(self, a0: QRect) None
- repaint(self, a0: QRegion) None
- resizeEvent(self, a0: Optional[QResizeEvent])#
- saveGeometry(self) QByteArray #
- screen(self) Optional[QScreen] #
- sender(self) Optional[QObject] #
- setAlignment(self, a0: Union[Qt.Alignment, Qt.AlignmentFlag])#
- setBackgroundRole(self, a0: QPalette.ColorRole)#
- setBuddy(self, a0: Optional[QWidget])#
- setContentsMargins(self, left: int, top: int, right: int, bottom: int)#
- setContentsMargins(self, margins: QMargins) None
- setContextMenuPolicy(self, policy: Qt.ContextMenuPolicy)#
- setCursor(self, a0: Union[QCursor, Qt.CursorShape])#
- setFocusPolicy(self, policy: Qt.FocusPolicy)#
- setFocusProxy(self, a0: Optional[QWidget])#
- setFont(self, a0: QFont)#
- setForegroundRole(self, a0: QPalette.ColorRole)#
- setFrameRect(self, a0: QRect)#
- setFrameShadow(self, a0: QFrame.Shadow)#
- setFrameShape(self, a0: QFrame.Shape)#
- setGraphicsEffect(self, effect: Optional[QGraphicsEffect])#
- setInputMethodHints(self, hints: Union[Qt.InputMethodHints, Qt.InputMethodHint])#
- setLayout(self, a0: Optional[QLayout])#
- setLayoutDirection(self, direction: Qt.LayoutDirection)#
- setLocale(self, locale: QLocale)#
- setMovie(self, movie: Optional[QMovie])#
- setPalette(self, a0: QPalette)#
- setParent(self, parent: Optional[QWidget])#
- setParent(self, parent: Optional[QWidget], f: Union[Qt.WindowFlags, Qt.WindowType]) None
- setPicture(self, a0: QPicture)#
- setPixmap(self, a0: QPixmap)#
- setSizePolicy(self, a0: QSizePolicy)#
- setSizePolicy(self, hor: QSizePolicy.Policy, ver: QSizePolicy.Policy) None
- setStyle(self, a0: Optional[QStyle])#
- setTabOrder(a0: Optional[QWidget], a1: Optional[QWidget])#
- setTextFormat(self, a0: Qt.TextFormat)#
- setTextInteractionFlags(self, flags: Union[Qt.TextInteractionFlags, Qt.TextInteractionFlag])#
- setWindowFlags(self, type: Union[Qt.WindowFlags, Qt.WindowType])#
- setWindowIcon(self, icon: QIcon)#
- setWindowModality(self, windowModality: Qt.WindowModality)#
- setWindowState(self, state: Union[Qt.WindowStates, Qt.WindowState])#
- show(self)#
- showEvent(self, a0: Optional[QShowEvent])#
- showFullScreen(self)#
- showMaximized(self)#
- showMinimized(self)#
- showNormal(self)#
- size(self) QSize #
- sizeHint(self) QSize #
- sizeIncrement(self) QSize #
- sizePolicy(self) QSizePolicy #
- stackUnder(self, a0: Optional[QWidget])#
- style(self) Optional[QStyle] #
- tabletEvent(self, a0: Optional[QTabletEvent])#
- textFormat(self) Qt.TextFormat #
- textInteractionFlags(self) Qt.TextInteractionFlags #
- thread(self) Optional[QThread] #
- timerEvent(self, a0: Optional[QTimerEvent])#
- ungrabGesture(self, type: Qt.GestureType)#
- unsetCursor(self)#
- unsetLayoutDirection(self)#
- unsetLocale(self)#
- update(self)#
- update(self, a0: QRect) None
- update(self, a0: QRegion) None
- update(self, ax: int, ay: int, aw: int, ah: int) None
- updateGeometry(self)#
- updateMicroFocus(self)#
- visibleRegion(self) QRegion #
- wheelEvent(self, a0: Optional[QWheelEvent])#
- winId(self) PyQt5.sip.voidptr #
- window(self) Optional[QWidget] #
- windowFlags(self) Qt.WindowFlags #
- windowHandle(self) Optional[QWindow] #
- windowIcon(self) QIcon #
- windowModality(self) Qt.WindowModality #
- windowState(self) Qt.WindowStates #
- windowType(self) Qt.WindowType #