Help on class QLabel in module PyQt5.QtWidgets:

class QLabel(QFrame)
 |  QLabel(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())
 |  QLabel(str, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())
 |  
 |  Method resolution order:
 |      QLabel
 |      QFrame
 |      QWidget
 |      PyQt5.QtCore.QObject
 |      sip.wrapper
 |      PyQt5.QtGui.QPaintDevice
 |      sip.simplewrapper
 |      builtins.object
 |  
 |  Methods defined here:
 |  
 |  actionEvent(...)
 |  
 |  alignment(...)
 |      alignment(self) -> Qt.Alignment
 |  
 |  buddy(...)
 |      buddy(self) -> QWidget
 |  
 |  changeEvent(...)
 |      changeEvent(self, QEvent)
 |  
 |  childEvent(...)
 |  
 |  clear(...)
 |      clear(self)
 |  
 |  closeEvent(...)
 |  
 |  connectNotify(...)
 |  
 |  contextMenuEvent(...)
 |      contextMenuEvent(self, QContextMenuEvent)
 |  
 |  create(...)
 |  
 |  customEvent(...)
 |  
 |  destroy(...)
 |  
 |  disconnectNotify(...)
 |  
 |  dragEnterEvent(...)
 |  
 |  dragLeaveEvent(...)
 |  
 |  dragMoveEvent(...)
 |  
 |  drawFrame(...)
 |  
 |  dropEvent(...)
 |  
 |  enterEvent(...)
 |  
 |  event(...)
 |      event(self, QEvent) -> bool
 |  
 |  focusInEvent(...)
 |      focusInEvent(self, QFocusEvent)
 |  
 |  focusNextChild(...)
 |  
 |  focusNextPrevChild(...)
 |      focusNextPrevChild(self, bool) -> bool
 |  
 |  focusOutEvent(...)
 |      focusOutEvent(self, QFocusEvent)
 |  
 |  focusPreviousChild(...)
 |  
 |  hasScaledContents(...)
 |      hasScaledContents(self) -> bool
 |  
 |  hasSelectedText(...)
 |      hasSelectedText(self) -> bool
 |  
 |  heightForWidth(...)
 |      heightForWidth(self, int) -> int
 |  
 |  hideEvent(...)
 |  
 |  indent(...)
 |      indent(self) -> int
 |  
 |  initPainter(...)
 |  
 |  initStyleOption(...)
 |  
 |  inputMethodEvent(...)
 |  
 |  isSignalConnected(...)
 |  
 |  keyPressEvent(...)
 |      keyPressEvent(self, QKeyEvent)
 |  
 |  keyReleaseEvent(...)
 |  
 |  leaveEvent(...)
 |  
 |  linkActivated = <unbound PYQT_SIGNAL linkActivated(QString)>
 |  linkHovered = <unbound PYQT_SIGNAL linkHovered(QString)>
 |  margin(...)
 |      margin(self) -> int
 |  
 |  metric(...)
 |  
 |  minimumSizeHint(...)
 |      minimumSizeHint(self) -> QSize
 |  
 |  mouseDoubleClickEvent(...)
 |  
 |  mouseMoveEvent(...)
 |      mouseMoveEvent(self, QMouseEvent)
 |  
 |  mousePressEvent(...)
 |      mousePressEvent(self, QMouseEvent)
 |  
 |  mouseReleaseEvent(...)
 |      mouseReleaseEvent(self, QMouseEvent)
 |  
 |  moveEvent(...)
 |  
 |  movie(...)
 |      movie(self) -> QMovie
 |  
 |  nativeEvent(...)
 |  
 |  openExternalLinks(...)
 |      openExternalLinks(self) -> bool
 |  
 |  paintEvent(...)
 |      paintEvent(self, QPaintEvent)
 |  
 |  picture(...)
 |      picture(self) -> QPicture
 |  
 |  pixmap(...)
 |      pixmap(self) -> QPixmap
 |  
 |  receivers(...)
 |  
 |  resizeEvent(...)
 |  
 |  selectedText(...)
 |      selectedText(self) -> str
 |  
 |  selectionStart(...)
 |      selectionStart(self) -> int
 |  
 |  sender(...)
 |  
 |  senderSignalIndex(...)
 |  
 |  setAlignment(...)
 |      setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])
 |  
 |  setBuddy(...)
 |      setBuddy(self, QWidget)
 |  
 |  setIndent(...)
 |      setIndent(self, int)
 |  
 |  setMargin(...)
 |      setMargin(self, int)
 |  
 |  setMovie(...)
 |      setMovie(self, QMovie)
 |  
 |  setNum(...)
 |      setNum(self, float)
 |      setNum(self, int)
 |  
 |  setOpenExternalLinks(...)
 |      setOpenExternalLinks(self, bool)
 |  
 |  setPicture(...)
 |      setPicture(self, QPicture)
 |  
 |  setPixmap(...)
 |      setPixmap(self, QPixmap)
 |  
 |  setScaledContents(...)
 |      setScaledContents(self, bool)
 |  
 |  setSelection(...)
 |      setSelection(self, int, int)
 |  
 |  setText(...)
 |      setText(self, str)
 |  
 |  setTextFormat(...)
 |      setTextFormat(self, Qt.TextFormat)
 |  
 |  setTextInteractionFlags(...)
 |      setTextInteractionFlags(self, Union[Qt.TextInteractionFlags, Qt.TextInteractionFlag])
 |  
 |  setWordWrap(...)
 |      setWordWrap(self, bool)
 |  
 |  sharedPainter(...)
 |  
 |  showEvent(...)
 |  
 |  sizeHint(...)
 |      sizeHint(self) -> QSize
 |  
 |  tabletEvent(...)
 |  
 |  text(...)
 |      text(self) -> str
 |  
 |  textFormat(...)
 |      textFormat(self) -> Qt.TextFormat
 |  
 |  textInteractionFlags(...)
 |      textInteractionFlags(self) -> Qt.TextInteractionFlags
 |  
 |  timerEvent(...)
 |  
 |  updateMicroFocus(...)
 |  
 |  wheelEvent(...)
 |  
 |  wordWrap(...)
 |      wordWrap(self) -> bool
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from QFrame:
 |  
 |  frameRect(...)
 |      frameRect(self) -> QRect
 |  
 |  frameShadow(...)
 |      frameShadow(self) -> QFrame.Shadow
 |  
 |  frameShape(...)
 |      frameShape(self) -> QFrame.Shape
 |  
 |  frameStyle(...)
 |      frameStyle(self) -> int
 |  
 |  frameWidth(...)
 |      frameWidth(self) -> int
 |  
 |  lineWidth(...)
 |      lineWidth(self) -> int
 |  
 |  midLineWidth(...)
 |      midLineWidth(self) -> int
 |  
 |  setFrameRect(...)
 |      setFrameRect(self, QRect)
 |  
 |  setFrameShadow(...)
 |      setFrameShadow(self, QFrame.Shadow)
 |  
 |  setFrameShape(...)
 |      setFrameShape(self, QFrame.Shape)
 |  
 |  setFrameStyle(...)
 |      setFrameStyle(self, int)
 |  
 |  setLineWidth(...)
 |      setLineWidth(self, int)
 |  
 |  setMidLineWidth(...)
 |      setMidLineWidth(self, int)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from QFrame:
 |  
 |  Box = 1
 |  
 |  HLine = 4
 |  
 |  NoFrame = 0
 |  
 |  Panel = 2
 |  
 |  Plain = 16
 |  
 |  Raised = 32
 |  
 |  Shadow = <class 'PyQt5.QtWidgets.QFrame.Shadow'>
 |      int(x=0) -> integer
 |      int(x, base=10) -> integer
 |      
 |      Convert a number or string to an integer, or return 0 if no arguments
 |      are given.  If x is a number, return x.__int__().  For floating point
 |      numbers, this truncates towards zero.
 |      
 |      If x is not a number or if base is given, then x must be a string,
 |      bytes, or bytearray instance representing an integer literal in the
 |      given base.  The literal can be preceded by '+' or '-' and be surrounded
 |      by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
 |      Base 0 means to interpret the base from the string as an integer literal.
 |      >>> int('0b100', base=0)
 |      4
 |  
 |  Shadow_Mask = 240
 |  
 |  Shape = <class 'PyQt5.QtWidgets.QFrame.Shape'>
 |      int(x=0) -> integer
 |      int(x, base=10) -> integer
 |      
 |      Convert a number or string to an integer, or return 0 if no arguments
 |      are given.  If x is a number, return x.__int__().  For floating point
 |      numbers, this truncates towards zero.
 |      
 |      If x is not a number or if base is given, then x must be a string,
 |      bytes, or bytearray instance representing an integer literal in the
 |      given base.  The literal can be preceded by '+' or '-' and be surrounded
 |      by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
 |      Base 0 means to interpret the base from the string as an integer literal.
 |      >>> int('0b100', base=0)
 |      4
 |  
 |  Shape_Mask = 15
 |  
 |  StyleMask = <class 'PyQt5.QtWidgets.QFrame.StyleMask'>
 |      int(x=0) -> integer
 |      int(x, base=10) -> integer
 |      
 |      Convert a number or string to an integer, or return 0 if no arguments
 |      are given.  If x is a number, return x.__int__().  For floating point
 |      numbers, this truncates towards zero.
 |      
 |      If x is not a number or if base is given, then x must be a string,
 |      bytes, or bytearray instance representing an integer literal in the
 |      given base.  The literal can be preceded by '+' or '-' and be surrounded
 |      by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
 |      Base 0 means to interpret the base from the string as an integer literal.
 |      >>> int('0b100', base=0)
 |      4
 |  
 |  StyledPanel = 6
 |  
 |  Sunken = 48
 |  
 |  VLine = 5
 |  
 |  WinPanel = 3
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from QWidget:
 |  
 |  acceptDrops(...)
 |      acceptDrops(self) -> bool
 |  
 |  accessibleDescription(...)
 |      accessibleDescription(self) -> str
 |  
 |  accessibleName(...)
 |      accessibleName(self) -> str
 |  
 |  actions(...)
 |      actions(self) -> List[QAction]
 |  
 |  activateWindow(...)
 |      activateWindow(self)
 |  
 |  addAction(...)
 |      addAction(self, QAction)
 |  
 |  addActions(...)
 |      addActions(self, object)
 |  
 |  adjustSize(...)
 |      adjustSize(self)
 |  
 |  autoFillBackground(...)
 |      autoFillBackground(self) -> bool
 |  
 |  backgroundRole(...)
 |      backgroundRole(self) -> QPalette.ColorRole
 |  
 |  baseSize(...)
 |      baseSize(self) -> QSize
 |  
 |  childAt(...)
 |      childAt(self, QPoint) -> QWidget
 |      childAt(self, int, int) -> QWidget
 |  
 |  childrenRect(...)
 |      childrenRect(self) -> QRect
 |  
 |  childrenRegion(...)
 |      childrenRegion(self) -> QRegion
 |  
 |  clearFocus(...)
 |      clearFocus(self)
 |  
 |  clearMask(...)
 |      clearMask(self)
 |  
 |  close(...)
 |      close(self) -> bool
 |  
 |  contentsMargins(...)
 |      contentsMargins(self) -> QMargins
 |  
 |  contentsRect(...)
 |      contentsRect(self) -> QRect
 |  
 |  contextMenuPolicy(...)
 |      contextMenuPolicy(self) -> Qt.ContextMenuPolicy
 |  
 |  createWindowContainer(...)
 |      createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) -> QWidget
 |  
 |  cursor(...)
 |      cursor(self) -> QCursor
 |  
 |  customContextMenuRequested = <unbound PYQT_SIGNAL customContextMenuRequested(QPoint)>
 |  devType(...)
 |      devType(self) -> int
 |  
 |  effectiveWinId(...)
 |      effectiveWinId(self) -> sip.voidptr
 |  
 |  ensurePolished(...)
 |      ensurePolished(self)
 |  
 |  find(...)
 |      find(sip.voidptr) -> QWidget
 |  
 |  focusPolicy(...)
 |      focusPolicy(self) -> Qt.FocusPolicy
 |  
 |  focusProxy(...)
 |      focusProxy(self) -> QWidget
 |  
 |  focusWidget(...)
 |      focusWidget(self) -> QWidget
 |  
 |  font(...)
 |      font(self) -> QFont
 |  
 |  fontInfo(...)
 |      fontInfo(self) -> QFontInfo
 |  
 |  fontMetrics(...)
 |      fontMetrics(self) -> QFontMetrics
 |  
 |  foregroundRole(...)
 |      foregroundRole(self) -> QPalette.ColorRole
 |  
 |  frameGeometry(...)
 |      frameGeometry(self) -> QRect
 |  
 |  frameSize(...)
 |      frameSize(self) -> QSize
 |  
 |  geometry(...)
 |      geometry(self) -> QRect
 |  
 |  getContentsMargins(...)
 |      getContentsMargins(self) -> Tuple[int, int, int, int]
 |  
 |  grab(...)
 |      grab(self, rectangle: QRect = QRect(QPoint(0,0),QSize(-1,-1))) -> QPixmap
 |  
 |  grabGesture(...)
 |      grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags())
 |  
 |  grabKeyboard(...)
 |      grabKeyboard(self)
 |  
 |  grabMouse(...)
 |      grabMouse(self)
 |      grabMouse(self, Union[QCursor, Qt.CursorShape])
 |  
 |  grabShortcut(...)
 |      grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) -> int
 |  
 |  graphicsEffect(...)
 |      graphicsEffect(self) -> QGraphicsEffect
 |  
 |  graphicsProxyWidget(...)
 |      graphicsProxyWidget(self) -> QGraphicsProxyWidget
 |  
 |  hasFocus(...)
 |      hasFocus(self) -> bool
 |  
 |  hasHeightForWidth(...)
 |      hasHeightForWidth(self) -> bool
 |  
 |  hasMouseTracking(...)
 |      hasMouseTracking(self) -> bool
 |  
 |  height(...)
 |      height(self) -> int
 |  
 |  hide(...)
 |      hide(self)
 |  
 |  inputMethodHints(...)
 |      inputMethodHints(self) -> Qt.InputMethodHints
 |  
 |  inputMethodQuery(...)
 |      inputMethodQuery(self, Qt.InputMethodQuery) -> Any
 |  
 |  insertAction(...)
 |      insertAction(self, QAction, QAction)
 |  
 |  insertActions(...)
 |      insertActions(self, QAction, Iterable[QAction])
 |  
 |  isActiveWindow(...)
 |      isActiveWindow(self) -> bool
 |  
 |  isAncestorOf(...)
 |      isAncestorOf(self, QWidget) -> bool
 |  
 |  isEnabled(...)
 |      isEnabled(self) -> bool
 |  
 |  isEnabledTo(...)
 |      isEnabledTo(self, QWidget) -> bool
 |  
 |  isFullScreen(...)
 |      isFullScreen(self) -> bool
 |  
 |  isHidden(...)
 |      isHidden(self) -> bool
 |  
 |  isLeftToRight(...)
 |      isLeftToRight(self) -> bool
 |  
 |  isMaximized(...)
 |      isMaximized(self) -> bool
 |  
 |  isMinimized(...)
 |      isMinimized(self) -> bool
 |  
 |  isModal(...)
 |      isModal(self) -> bool
 |  
 |  isRightToLeft(...)
 |      isRightToLeft(self) -> bool
 |  
 |  isVisible(...)
 |      isVisible(self) -> bool
 |  
 |  isVisibleTo(...)
 |      isVisibleTo(self, QWidget) -> bool
 |  
 |  isWindow(...)
 |      isWindow(self) -> bool
 |  
 |  isWindowModified(...)
 |      isWindowModified(self) -> bool
 |  
 |  keyboardGrabber(...)
 |      keyboardGrabber() -> QWidget
 |  
 |  layout(...)
 |      layout(self) -> QLayout
 |  
 |  layoutDirection(...)
 |      layoutDirection(self) -> Qt.LayoutDirection
 |  
 |  locale(...)
 |      locale(self) -> QLocale
 |  
 |  lower(...)
 |      lower(self)
 |  
 |  mapFrom(...)
 |      mapFrom(self, QWidget, QPoint) -> QPoint
 |  
 |  mapFromGlobal(...)
 |      mapFromGlobal(self, QPoint) -> QPoint
 |  
 |  mapFromParent(...)
 |      mapFromParent(self, QPoint) -> QPoint
 |  
 |  mapTo(...)
 |      mapTo(self, QWidget, QPoint) -> QPoint
 |  
 |  mapToGlobal(...)
 |      mapToGlobal(self, QPoint) -> QPoint
 |  
 |  mapToParent(...)
 |      mapToParent(self, QPoint) -> QPoint
 |  
 |  mask(...)
 |      mask(self) -> QRegion
 |  
 |  maximumHeight(...)
 |      maximumHeight(self) -> int
 |  
 |  maximumSize(...)
 |      maximumSize(self) -> QSize
 |  
 |  maximumWidth(...)
 |      maximumWidth(self) -> int
 |  
 |  minimumHeight(...)
 |      minimumHeight(self) -> int
 |  
 |  minimumSize(...)
 |      minimumSize(self) -> QSize
 |  
 |  minimumWidth(...)
 |      minimumWidth(self) -> int
 |  
 |  mouseGrabber(...)
 |      mouseGrabber() -> QWidget
 |  
 |  move(...)
 |      move(self, QPoint)
 |      move(self, int, int)
 |  
 |  nativeParentWidget(...)
 |      nativeParentWidget(self) -> QWidget
 |  
 |  nextInFocusChain(...)
 |      nextInFocusChain(self) -> QWidget
 |  
 |  normalGeometry(...)
 |      normalGeometry(self) -> QRect
 |  
 |  overrideWindowFlags(...)
 |      overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
 |  
 |  overrideWindowState(...)
 |      overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
 |  
 |  paintEngine(...)
 |      paintEngine(self) -> QPaintEngine
 |  
 |  palette(...)
 |      palette(self) -> QPalette
 |  
 |  parentWidget(...)
 |      parentWidget(self) -> QWidget
 |  
 |  pos(...)
 |      pos(self) -> QPoint
 |  
 |  previousInFocusChain(...)
 |      previousInFocusChain(self) -> QWidget
 |  
 |  raise_(...)
 |      raise_(self)
 |  
 |  rect(...)
 |      rect(self) -> QRect
 |  
 |  releaseKeyboard(...)
 |      releaseKeyboard(self)
 |  
 |  releaseMouse(...)
 |      releaseMouse(self)
 |  
 |  releaseShortcut(...)
 |      releaseShortcut(self, int)
 |  
 |  removeAction(...)
 |      removeAction(self, QAction)
 |  
 |  render(...)
 |      render(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
 |      render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.DrawWindowBackground|QWidget.DrawChildren))
 |  
 |  repaint(...)
 |      repaint(self)
 |      repaint(self, int, int, int, int)
 |      repaint(self, QRect)
 |      repaint(self, QRegion)
 |  
 |  resize(...)
 |      resize(self, QSize)
 |      resize(self, int, int)
 |  
 |  restoreGeometry(...)
 |      restoreGeometry(self, Union[QByteArray, bytes, bytearray]) -> bool
 |  
 |  saveGeometry(...)
 |      saveGeometry(self) -> QByteArray
 |  
 |  scroll(...)
 |      scroll(self, int, int)
 |      scroll(self, int, int, QRect)
 |  
 |  setAcceptDrops(...)
 |      setAcceptDrops(self, bool)
 |  
 |  setAccessibleDescription(...)
 |      setAccessibleDescription(self, str)
 |  
 |  setAccessibleName(...)
 |      setAccessibleName(self, str)
 |  
 |  setAttribute(...)
 |      setAttribute(self, Qt.WidgetAttribute, on: bool = True)
 |  
 |  setAutoFillBackground(...)
 |      setAutoFillBackground(self, bool)
 |  
 |  setBackgroundRole(...)
 |      setBackgroundRole(self, QPalette.ColorRole)
 |  
 |  setBaseSize(...)
 |      setBaseSize(self, int, int)
 |      setBaseSize(self, QSize)
 |  
 |  setContentsMargins(...)
 |      setContentsMargins(self, int, int, int, int)
 |      setContentsMargins(self, QMargins)
 |  
 |  setContextMenuPolicy(...)
 |      setContextMenuPolicy(self, Qt.ContextMenuPolicy)
 |  
 |  setCursor(...)
 |      setCursor(self, Union[QCursor, Qt.CursorShape])
 |  
 |  setDisabled(...)
 |      setDisabled(self, bool)
 |  
 |  setEnabled(...)
 |      setEnabled(self, bool)
 |  
 |  setFixedHeight(...)
 |      setFixedHeight(self, int)
 |  
 |  setFixedSize(...)
 |      setFixedSize(self, QSize)
 |      setFixedSize(self, int, int)
 |  
 |  setFixedWidth(...)
 |      setFixedWidth(self, int)
 |  
 |  setFocus(...)
 |      setFocus(self)
 |      setFocus(self, Qt.FocusReason)
 |  
 |  setFocusPolicy(...)
 |      setFocusPolicy(self, Qt.FocusPolicy)
 |  
 |  setFocusProxy(...)
 |      setFocusProxy(self, QWidget)
 |  
 |  setFont(...)
 |      setFont(self, QFont)
 |  
 |  setForegroundRole(...)
 |      setForegroundRole(self, QPalette.ColorRole)
 |  
 |  setGeometry(...)
 |      setGeometry(self, QRect)
 |      setGeometry(self, int, int, int, int)
 |  
 |  setGraphicsEffect(...)
 |      setGraphicsEffect(self, QGraphicsEffect)
 |  
 |  setHidden(...)
 |      setHidden(self, bool)
 |  
 |  setInputMethodHints(...)
 |      setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])
 |  
 |  setLayout(...)
 |      setLayout(self, QLayout)
 |  
 |  setLayoutDirection(...)
 |      setLayoutDirection(self, Qt.LayoutDirection)
 |  
 |  setLocale(...)
 |      setLocale(self, QLocale)
 |  
 |  setMask(...)
 |      setMask(self, QBitmap)
 |      setMask(self, QRegion)
 |  
 |  setMaximumHeight(...)
 |      setMaximumHeight(self, int)
 |  
 |  setMaximumSize(...)
 |      setMaximumSize(self, int, int)
 |      setMaximumSize(self, QSize)
 |  
 |  setMaximumWidth(...)
 |      setMaximumWidth(self, int)
 |  
 |  setMinimumHeight(...)
 |      setMinimumHeight(self, int)
 |  
 |  setMinimumSize(...)
 |      setMinimumSize(self, int, int)
 |      setMinimumSize(self, QSize)
 |  
 |  setMinimumWidth(...)
 |      setMinimumWidth(self, int)
 |  
 |  setMouseTracking(...)
 |      setMouseTracking(self, bool)
 |  
 |  setPalette(...)
 |      setPalette(self, QPalette)
 |  
 |  setParent(...)
 |      setParent(self, QWidget)
 |      setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
 |  
 |  setShortcutAutoRepeat(...)
 |      setShortcutAutoRepeat(self, int, enabled: bool = True)
 |  
 |  setShortcutEnabled(...)
 |      setShortcutEnabled(self, int, enabled: bool = True)
 |  
 |  setSizeIncrement(...)
 |      setSizeIncrement(self, int, int)
 |      setSizeIncrement(self, QSize)
 |  
 |  setSizePolicy(...)
 |      setSizePolicy(self, QSizePolicy)
 |      setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
 |  
 |  setStatusTip(...)
 |      setStatusTip(self, str)
 |  
 |  setStyle(...)
 |      setStyle(self, QStyle)
 |  
 |  setStyleSheet(...)
 |      setStyleSheet(self, str)
 |  
 |  setTabOrder(...)
 |      setTabOrder(QWidget, QWidget)
 |  
 |  setToolTip(...)
 |      setToolTip(self, str)
 |  
 |  setToolTipDuration(...)
 |      setToolTipDuration(self, int)
 |  
 |  setUpdatesEnabled(...)
 |      setUpdatesEnabled(self, bool)
 |  
 |  setVisible(...)
 |      setVisible(self, bool)
 |  
 |  setWhatsThis(...)
 |      setWhatsThis(self, str)
 |  
 |  setWindowFilePath(...)
 |      setWindowFilePath(self, str)
 |  
 |  setWindowFlags(...)
 |      setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
 |  
 |  setWindowIcon(...)
 |      setWindowIcon(self, QIcon)
 |  
 |  setWindowIconText(...)
 |      setWindowIconText(self, str)
 |  
 |  setWindowModality(...)
 |      setWindowModality(self, Qt.WindowModality)
 |  
 |  setWindowModified(...)
 |      setWindowModified(self, bool)
 |  
 |  setWindowOpacity(...)
 |      setWindowOpacity(self, float)
 |  
 |  setWindowRole(...)
 |      setWindowRole(self, str)
 |  
 |  setWindowState(...)
 |      setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
 |  
 |  setWindowTitle(...)
 |      setWindowTitle(self, str)
 |  
 |  show(...)
 |      show(self)
 |  
 |  showFullScreen(...)
 |      showFullScreen(self)
 |  
 |  showMaximized(...)
 |      showMaximized(self)
 |  
 |  showMinimized(...)
 |      showMinimized(self)
 |  
 |  showNormal(...)
 |      showNormal(self)
 |  
 |  size(...)
 |      size(self) -> QSize
 |  
 |  sizeIncrement(...)
 |      sizeIncrement(self) -> QSize
 |  
 |  sizePolicy(...)
 |      sizePolicy(self) -> QSizePolicy
 |  
 |  stackUnder(...)
 |      stackUnder(self, QWidget)
 |  
 |  statusTip(...)
 |      statusTip(self) -> str
 |  
 |  style(...)
 |      style(self) -> QStyle
 |  
 |  styleSheet(...)
 |      styleSheet(self) -> str
 |  
 |  testAttribute(...)
 |      testAttribute(self, Qt.WidgetAttribute) -> bool
 |  
 |  toolTip(...)
 |      toolTip(self) -> str
 |  
 |  toolTipDuration(...)
 |      toolTipDuration(self) -> int
 |  
 |  underMouse(...)
 |      underMouse(self) -> bool
 |  
 |  ungrabGesture(...)
 |      ungrabGesture(self, Qt.GestureType)
 |  
 |  unsetCursor(...)
 |      unsetCursor(self)
 |  
 |  unsetLayoutDirection(...)
 |      unsetLayoutDirection(self)
 |  
 |  unsetLocale(...)
 |      unsetLocale(self)
 |  
 |  update(...)
 |      update(self)
 |      update(self, QRect)
 |      update(self, QRegion)
 |      update(self, int, int, int, int)
 |  
 |  updateGeometry(...)
 |      updateGeometry(self)
 |  
 |  updatesEnabled(...)
 |      updatesEnabled(self) -> bool
 |  
 |  visibleRegion(...)
 |      visibleRegion(self) -> QRegion
 |  
 |  whatsThis(...)
 |      whatsThis(self) -> str
 |  
 |  width(...)
 |      width(self) -> int
 |  
 |  winId(...)
 |      winId(self) -> sip.voidptr
 |  
 |  window(...)
 |      window(self) -> QWidget
 |  
 |  windowFilePath(...)
 |      windowFilePath(self) -> str
 |  
 |  windowFlags(...)
 |      windowFlags(self) -> Qt.WindowFlags
 |  
 |  windowHandle(...)
 |      windowHandle(self) -> QWindow
 |  
 |  windowIcon(...)
 |      windowIcon(self) -> QIcon
 |  
 |  windowIconChanged = <unbound PYQT_SIGNAL windowIconChanged(QIcon)>
 |  windowIconText(...)
 |      windowIconText(self) -> str
 |  
 |  windowIconTextChanged = <unbound PYQT_SIGNAL windowIconTextChanged(QString)>
 |  windowModality(...)
 |      windowModality(self) -> Qt.WindowModality
 |  
 |  windowOpacity(...)
 |      windowOpacity(self) -> float
 |  
 |  windowRole(...)
 |      windowRole(self) -> str
 |  
 |  windowState(...)
 |      windowState(self) -> Qt.WindowStates
 |  
 |  windowTitle(...)
 |      windowTitle(self) -> str
 |  
 |  windowTitleChanged = <unbound PYQT_SIGNAL windowTitleChanged(QString)>
 |  windowType(...)
 |      windowType(self) -> Qt.WindowType
 |  
 |  x(...)
 |      x(self) -> int
 |  
 |  y(...)
 |      y(self) -> int
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from QWidget:
 |  
 |  DrawChildren = 2
 |  
 |  DrawWindowBackground = 1
 |  
 |  IgnoreMask = 4
 |  
 |  RenderFlag = <class 'PyQt5.QtWidgets.QWidget.RenderFlag'>
 |      int(x=0) -> integer
 |      int(x, base=10) -> integer
 |      
 |      Convert a number or string to an integer, or return 0 if no arguments
 |      are given.  If x is a number, return x.__int__().  For floating point
 |      numbers, this truncates towards zero.
 |      
 |      If x is not a number or if base is given, then x must be a string,
 |      bytes, or bytearray instance representing an integer literal in the
 |      given base.  The literal can be preceded by '+' or '-' and be surrounded
 |      by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
 |      Base 0 means to interpret the base from the string as an integer literal.
 |      >>> int('0b100', base=0)
 |      4
 |  
 |  RenderFlags = <class 'PyQt5.QtWidgets.RenderFlags'>
 |      QWidget.RenderFlags()
 |      QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag])
 |      QWidget.RenderFlags(QWidget.RenderFlags)
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from PyQt5.QtCore.QObject:
 |  
 |  __getattr__(...)
 |      __getattr__(self, str) -> object
 |  
 |  blockSignals(...)
 |      blockSignals(self, bool) -> bool
 |  
 |  children(...)
 |      children(self) -> object
 |  
 |  deleteLater(...)
 |      deleteLater(self)
 |  
 |  destroyed = <unbound PYQT_SIGNAL destroyed(QObject*)>
 |  disconnect(...)
 |      disconnect(self)
 |  
 |  dumpObjectInfo(...)
 |      dumpObjectInfo(self)
 |  
 |  dumpObjectTree(...)
 |      dumpObjectTree(self)
 |  
 |  dynamicPropertyNames(...)
 |      dynamicPropertyNames(self) -> object
 |  
 |  eventFilter(...)
 |      eventFilter(self, QObject, QEvent) -> bool
 |  
 |  findChild(...)
 |      findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
 |      findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
 |  
 |  findChildren(...)
 |      findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |      findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
 |  
 |  inherits(...)
 |      inherits(self, str) -> bool
 |  
 |  installEventFilter(...)
 |      installEventFilter(self, QObject)
 |  
 |  isWidgetType(...)
 |      isWidgetType(self) -> bool
 |  
 |  isWindowType(...)
 |      isWindowType(self) -> bool
 |  
 |  killTimer(...)
 |      killTimer(self, int)
 |  
 |  metaObject(...)
 |      metaObject(self) -> QMetaObject
 |  
 |  moveToThread(...)
 |      moveToThread(self, QThread)
 |  
 |  objectName(...)
 |      objectName(self) -> str
 |  
 |  objectNameChanged = <unbound PYQT_SIGNAL objectNameChanged(QString)>
 |  parent(...)
 |      parent(self) -> QObject
 |  
 |  property(...)
 |      property(self, str) -> Any
 |  
 |  pyqtConfigure(...)
 |      QObject.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.
 |  
 |  removeEventFilter(...)
 |      removeEventFilter(self, QObject)
 |  
 |  setObjectName(...)
 |      setObjectName(self, str)
 |  
 |  setProperty(...)
 |      setProperty(self, str, Any) -> bool
 |  
 |  signalsBlocked(...)
 |      signalsBlocked(self) -> bool
 |  
 |  startTimer(...)
 |      startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) -> int
 |  
 |  thread(...)
 |      thread(self) -> QThread
 |  
 |  tr(...)
 |      tr(self, str, disambiguation: str = None, n: int = -1) -> str
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from PyQt5.QtCore.QObject:
 |  
 |  __weakref__
 |      list of weak references to the object (if defined)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from PyQt5.QtCore.QObject:
 |  
 |  staticMetaObject = <PyQt5.QtCore.QMetaObject object>
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from PyQt5.QtGui.QPaintDevice:
 |  
 |  colorCount(...)
 |      colorCount(self) -> int
 |  
 |  depth(...)
 |      depth(self) -> int
 |  
 |  devicePixelRatio(...)
 |      devicePixelRatio(self) -> int
 |  
 |  devicePixelRatioF(...)
 |      devicePixelRatioF(self) -> float
 |  
 |  devicePixelRatioFScale(...)
 |      devicePixelRatioFScale() -> float
 |  
 |  heightMM(...)
 |      heightMM(self) -> int
 |  
 |  logicalDpiX(...)
 |      logicalDpiX(self) -> int
 |  
 |  logicalDpiY(...)
 |      logicalDpiY(self) -> int
 |  
 |  paintingActive(...)
 |      paintingActive(self) -> bool
 |  
 |  physicalDpiX(...)
 |      physicalDpiX(self) -> int
 |  
 |  physicalDpiY(...)
 |      physicalDpiY(self) -> int
 |  
 |  widthMM(...)
 |      widthMM(self) -> int
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from PyQt5.QtGui.QPaintDevice:
 |  
 |  PaintDeviceMetric = <class 'PyQt5.QtGui.QPaintDevice.PaintDeviceMetric...
 |      int(x=0) -> integer
 |      int(x, base=10) -> integer
 |      
 |      Convert a number or string to an integer, or return 0 if no arguments
 |      are given.  If x is a number, return x.__int__().  For floating point
 |      numbers, this truncates towards zero.
 |      
 |      If x is not a number or if base is given, then x must be a string,
 |      bytes, or bytearray instance representing an integer literal in the
 |      given base.  The literal can be preceded by '+' or '-' and be surrounded
 |      by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
 |      Base 0 means to interpret the base from the string as an integer literal.
 |      >>> int('0b100', base=0)
 |      4
 |  
 |  PdmDepth = 6
 |  
 |  PdmDevicePixelRatio = 11
 |  
 |  PdmDevicePixelRatioScaled = 12
 |  
 |  PdmDpiX = 7
 |  
 |  PdmDpiY = 8
 |  
 |  PdmHeight = 2
 |  
 |  PdmHeightMM = 4
 |  
 |  PdmNumColors = 5
 |  
 |  PdmPhysicalDpiX = 9
 |  
 |  PdmPhysicalDpiY = 10
 |  
 |  PdmWidth = 1
 |  
 |  PdmWidthMM = 3
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from sip.simplewrapper:
 |  
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |  
 |  __new__(*args, **kwargs) from sip.wrappertype
 |      Create and return a new object.  See help(type) for accurate signature.
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from sip.simplewrapper:
 |  
 |  __dict__

QLabel class的更多相关文章

  1. Qt之添加QLabel的点击事件

    QLabel功能为显示了一个字符串或者图片等信息,它本身没有click信号.也就不能够响应click点击事件,有什么办法来实现来,我们可以子类化QLabel,实现MouseXXXEvent.class ...

  2. Qt之重写QLabel类

    在mylabel.h 文件中#ifndef MYLABEL_H#define MYLABEL_H #include <QLabel>/*重新实现QLabel类,使其支持点击事件*/clas ...

  3. Qt使用一个事件队列对所有发出的事件进行维护(QObject的event()函数相当于dispatch函数),用EventLabel 继承QLabel作为例子(简单明了) good

    事件(event)是由系统或者 Qt 本身在不同的时刻发出的.当用户按下鼠标.敲下键盘,或者是窗口需要重新绘制的时候,都会发出一个相应的事件.一些事件在对用户操作做出响应时发出,如键盘事件等:另一些事 ...

  4. QT为QLabel添加Click事件(如果我们使用组件,我们关心的是信号槽;如果我们自定义组件,我们关心的是事件)

    其实就是改写了一个函数:mouseReleaseEvent,当在QLabel放开鼠标的时,就发射点击信号. #ifndef CLICKEDLABEL_H_ #define CLICKEDLABEL_H ...

  5. Qt之QLabel

    简述 QLabel提供了一个文本或图像的显示,没有提供用户交互功能. 一个QLabel可以包含以下任意内容类型: 内容 设置 纯文本 使用setText()设置一个QString 富文本 使用setT ...

  6. qt QLabel 显示网络图片

    在网上试了很多代码都不能使用,自己写了写代码. 直接上代码 Codevoid QMusicLogo::setNetworkPic(const QString &szUrl) { QUrl ur ...

  7. C++为QLabel增加单击事件

    原文来源: http://www.cnblogs.com/findumars/p/4058379.html 原理: 其实就是改写了一个函数:mouseReleaseEvent,当在QLabel放开鼠标 ...

  8. QT的父子Widget之间消息的传递(如果子类没有accept或ignore该事件,则该事件会被传递给其父亲——Qlabel与QPushButton的处理就不一样)

    以前我一直以为:在父widget上摆一个子widget后,当click子widget时:只会进入到子widget的相关事件处理函数中,比如进入到mousePressEvent()中, 而不会进入到父w ...

  9. QLabel

    The QLabel widget provides a text or image display. Content  Setting Plain text  Pass a QString to s ...

  10. 如何给Qlabel添加clicked属性(覆盖mousePressEvent,处理QMouseEvent消息,反正是软绘制,想怎么样就怎么样)

    clickedLabel.h #ifndef CLICKLABEL_H #define CLICKLABEL_H #include <QLabel> #include <QMouse ...

随机推荐

  1. 在 ASP.NET Core 中集成 Skywalking APM

    前言 大家好,今天给大家介绍一下如何在 ASP.NET Core 项目中集成 Skywalking,Skywalking 是 Apache 基金会下面的一个开源 APM 项目,有些同学可能会 APM ...

  2. Java经典面试题+答案(全)

    这套面试题主要目的是帮助那些还没有java软件开发实际工作经验,而正在努力寻找java软件开发工作的朋友在笔试时更好地赢得笔试和面试. 1.一个".java"源文件中是否可以包括多 ...

  3. 发布 ASP.NET Core 2.x 应用到 Ubuntu

    简单绍一下如何将ASP.NET Core 应用发布到Linux (Ubuntu)服务器上,都是文档的东西. 服务器结构 ASP.NET Core 2.x 有两种server: HTTP.sys 只支持 ...

  4. Python基础(文件操作)

    文件读取: #文件读取方式一 f=open("a.txt","r+",encoding="utf8") data=f.read() prin ...

  5. 详解IPTABLES

    详解IPTABLES Iptables 是Linux 内核集成的 IP 信息包过滤系统.如果Linux 系统连接到因特网或 LAN.服务器或连接 LAN 和因特网的代理服务器, 则该系统有利于在 Li ...

  6. 学习ASP.NET Core Razor 编程系列十七——分组

    学习ASP.NET Core Razor 编程系列目录 学习ASP.NET Core Razor 编程系列一 学习ASP.NET Core Razor 编程系列二——添加一个实体 学习ASP.NET ...

  7. 多元线性回归公式推导及R语言实现

    多元线性回归 多元线性回归模型 实际中有很多问题是一个因变量与多个自变量成线性相关,我们可以用一个多元线性回归方程来表示. 为了方便计算,我们将上式写成矩阵形式: Y = XW 假设自变量维度为N W ...

  8. c# aes,des,md5加密等解密算法

    一:可逆加密,即是能加密也能解密 对称可逆加密:加密后能解密回原文,加密key和解密key是一个 加密算法都是公开的,密钥是保密的, 即使拿到密文 你是推算不了密钥 也推算不了原文 加密解密的速度快, ...

  9. WebAPI Angularjs 上传文件

    直接上代码 HTML页面代码: <label>资源URL</label> <input type="text" class="form-co ...

  10. Spring中关于AOP的实践之AspectJ方式实现通知

    (本文中如有不当之处,恳请批评指正) AspectJ方式的简化了通知的出现复杂度.但是对配置文件的操作复杂度有了一定的提升 一. 配置通知 package com.xkx.adviceDemo; im ...