Skip to content

PythonQt.QtGui.QFrame · declarations 001

Back to PythonQt.QtGui.QFrame

changeEvent

changeEvent(arg__1: Any) -> None

X.changeEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QFrame::changeEvent(QEvent *ev)

Reimplements: QWidget::changeEvent(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

changeEvent(self, arg__1: PySide2.QtCore.QEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#changeEvent

customContextMenuRequested

customContextMenuRequested(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFrame.customContextMenuRequested; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFrame.destroyed; argument details are not documented.

drawFrame

drawFrame(arg__1: Any) -> None

X.drawFrame(arg__1)

Upstream PySide2 reference signatures (binding differences may apply):

drawFrame(self, arg__1: PySide2.QtGui.QPainter) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#drawFrame

event

event(e: Any) -> bool

X.event(e) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual protected] bool QFrame::event(QEvent *e)

Reimplements: QWidget::event(QEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

event(self, e: PySide2.QtCore.QEvent) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#event

frameRect instance-attribute

frameRect: QRect

Qt 5 reference:

frameRect : QRect

This property holds the frame's rectangle

The frame's rectangle is the rectangle the frame is drawn in. By default, this is the entire widget. Setting the rectangle doesn't cause a widget update. The frame rectangle is automatically adjusted when the widget changes size.

If you set the rectangle to a null rectangle (for example, QRect(0, 0, 0, 0)), then the resulting frame rectangle is equivalent to the widget rectangle.

Access functions:

QRect frameRect() const
void setFrameRect(const QRect \&)

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#frameRect

frameShadow instance-attribute

frameShadow: Any

Qt 5 reference:

frameShadow : Shadow

This property holds the frame shadow value from the frame style

Access functions:

QFrame::Shadow frameShadow() const
void setFrameShadow(QFrame::Shadow)

See also frameStyle() and frameShape().

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#frameShadow

frameShape instance-attribute

frameShape: Any

Qt 5 reference:

frameShape : Shape

This property holds the frame shape value from the frame style

Access functions:

QFrame::Shape frameShape() const
void setFrameShape(QFrame::Shape)

See also frameStyle() and frameShadow().

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#frameShape

frameStyle

frameStyle() -> int

X.frameStyle() -> int

Supplemental documentation: Qt 5 reference:

int QFrame::frameStyle() const

Returns the frame style.

The default value is QFrame::Plain.

See also setFrameStyle(), frameShape(), and frameShadow().

Upstream PySide2 reference signatures (binding differences may apply):

frameStyle(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#frameStyle

frameWidth instance-attribute

frameWidth: int

Qt 5 reference:

frameWidth : const int

This property holds the width of the frame that is drawn.

Note that the frame width depends on the frame style, not only the line width and the mid-line width. For example, the style specified by NoFrame always has a frame width of 0, whereas the style Panel has a frame width equivalent to the line width.

Access functions:

int frameWidth() const

See also lineWidth(), midLineWidth(), and frameStyle().

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#frameWidth

initStyleOption

initStyleOption(option: Any) -> None

X.initStyleOption(option)

Supplemental documentation: Qt 5 reference:

[protected] void QFrame::initStyleOption(QStyleOptionFrame *option) const

Initializes option with the values from this QFrame. This method is useful for subclasses when they need a QStyleOptionFrame but don't want to fill in all the information themselves.

This function was introduced in Qt 5.5.

See also QStyleOption::initFrom().

Upstream PySide2 reference signatures (binding differences may apply):

initStyleOption(self, option: PySide2.QtWidgets.QStyleOptionFrame) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#initStyleOption

lineWidth instance-attribute

lineWidth: int

Qt 5 reference:

lineWidth : int

This property holds the line width

Note that the total line width for frames used as separators (HLine and VLine) is specified by frameWidth.

The default value is 1.

Access functions:

int lineWidth() const
void setLineWidth(int)

See also midLineWidth and frameWidth.

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#lineWidth

midLineWidth instance-attribute

midLineWidth: int

Qt 5 reference:

midLineWidth : int

This property holds the width of the mid-line

The default value is 0.

Access functions:

int midLineWidth() const
void setMidLineWidth(int)

See also lineWidth and frameWidth.

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#midLineWidth

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFrame.objectNameChanged; argument details are not documented.

paintEvent

paintEvent(arg__1: Any) -> None

X.paintEvent(arg__1)

Supplemental documentation: Qt 5 reference:

[override virtual protected] void QFrame::paintEvent(QPaintEvent *)

Reimplements: QWidget::paintEvent(QPaintEvent *event).

Upstream PySide2 reference signatures (binding differences may apply):

paintEvent(self, arg__1: PySide2.QtGui.QPaintEvent) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#paintEvent

setFrameRect

setFrameRect(arg__1: Any) -> None

X.setFrameRect(arg__1)

Upstream PySide2 reference signatures (binding differences may apply):

setFrameRect(self, arg__1: PySide2.QtCore.QRect) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#setFrameRect

setFrameShadow

setFrameShadow(arg__1: Any) -> None

X.setFrameShadow(arg__1)

Upstream PySide2 reference signatures (binding differences may apply):

setFrameShadow(self, arg__1: PySide2.QtWidgets.QFrame.Shadow) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#setFrameShadow

setFrameShape

setFrameShape(arg__1: Any) -> None

X.setFrameShape(arg__1)

Upstream PySide2 reference signatures (binding differences may apply):

setFrameShape(self, arg__1: PySide2.QtWidgets.QFrame.Shape) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#setFrameShape

setFrameStyle

setFrameStyle(arg__1: int) -> None

X.setFrameStyle(arg__1)

Supplemental documentation: Qt 5 reference:

void QFrame::setFrameStyle(int style)

Sets the frame style to style.

The style is the bitwise OR between a frame shape and a frame shadow style. See the picture of the frames in the main class documentation.

The frame shapes are given in QFrame::Shape and the shadow styles in QFrame::Shadow.

If a mid-line width greater than 0 is specified, an additional line is drawn for Raised or Sunken Box, HLine, and VLine frames. The mid-color of the current color group is used for drawing middle lines.

See also frameStyle().

Upstream PySide2 reference signatures (binding differences may apply):

setFrameStyle(self, arg__1: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#setFrameStyle

setLineWidth

setLineWidth(arg__1: int) -> None

X.setLineWidth(arg__1)

Upstream PySide2 reference signatures (binding differences may apply):

setLineWidth(self, arg__1: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#setLineWidth

setMidLineWidth

setMidLineWidth(arg__1: int) -> None

X.setMidLineWidth(arg__1)

Upstream PySide2 reference signatures (binding differences may apply):

setMidLineWidth(self, arg__1: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#setMidLineWidth

sizeHint instance-attribute

sizeHint: QSize

Qt 5 reference:

[override virtual] QSize QFrame::sizeHint() const

Reimplements an access function for property: QWidget::sizeHint.

Source: https://doc.qt.io/archives/qt-5.15/qframe.html#sizeHint

windowIconChanged

windowIconChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFrame.windowIconChanged; argument details are not documented.

windowIconTextChanged

windowIconTextChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFrame.windowIconTextChanged; argument details are not documented.

windowTitleChanged

windowTitleChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QFrame.windowTitleChanged; argument details are not documented.