PythonQt.QtGui.QPalette · declarations 002
Back to PythonQt.QtGui.QPalette
link
link() -> Any
X.link() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::link() const
Returns the unvisited link text brush of the current color group.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
link(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#link
linkVisited
linkVisited() -> Any
X.linkVisited() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::linkVisited() const
Returns the visited link text brush of the current color group.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
linkVisited(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#linkVisited
mid
mid() -> Any
X.mid() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::mid() const
Returns the mid brush of the current color group.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
mid(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#mid
midlight
midlight() -> Any
X.midlight() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::midlight() const
Returns the midlight brush of the current color group.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
midlight(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#midlight
resolve
resolve(arg__1: Any) -> int
X.resolve(arg__1) -> int
Supplemental documentation: Qt 5 reference:
QPalette QPalette::resolve(const QPalette \&other) const
Returns a new QPalette that is a union of this instance and other. Color roles set in this instance take precedence.
Upstream PySide2 reference signatures (binding differences may apply):
resolve(self) -> int
resolve(self, arg__1: PySide2.QtGui.QPalette) -> PySide2.QtGui.QPalette
resolve(self, mask: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#resolve
setBrush
setBrush(cg: Any, cr: Any, brush: Any) -> None
X.setBrush(cg, cr, brush)
Supplemental documentation: Qt 5 reference:
void QPalette::setBrush(QPalette::ColorRole role, const QBrush \&brush)
Sets the brush for the given color role to the specified brush for all groups in the palette.
See also brush(), setColor(), and ColorRole.
void QPalette::setBrush(QPalette::ColorGroup group, QPalette::ColorRole role, const QBrush \&brush)
This is an overloaded function.
Sets the brush in the specified color group, used for the given color role, to brush.
See also brush(), setColor(), and ColorRole.
Upstream PySide2 reference signatures (binding differences may apply):
setBrush(self, cg: PySide2.QtGui.QPalette.ColorGroup, cr: PySide2.QtGui.QPalette.ColorRole, brush: PySide2.QtGui.QBrush) -> None
setBrush(self, cr: PySide2.QtGui.QPalette.ColorRole, brush: PySide2.QtGui.QBrush) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#setBrush
setColor
setColor(cg: Any, cr: Any, color: Any) -> None
X.setColor(cg, cr, color)
Supplemental documentation: Qt 5 reference:
void QPalette::setColor(QPalette::ColorGroup group, QPalette::ColorRole role, const QColor \&color)
Sets the color in the specified color group, used for the given color role, to the specified solid color.
See also setBrush(), color(), and ColorRole.
void QPalette::setColor(QPalette::ColorRole role, const QColor \&color)
This is an overloaded function.
Sets the color used for the given color role, in all color groups, to the specified solid color.
See also brush(), setColor(), and ColorRole.
Upstream PySide2 reference signatures (binding differences may apply):
setColor(self, cg: PySide2.QtGui.QPalette.ColorGroup, cr: PySide2.QtGui.QPalette.ColorRole, color: PySide2.QtGui.QColor) -> None
setColor(self, cr: PySide2.QtGui.QPalette.ColorRole, color: PySide2.QtGui.QColor) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#setColor
setColorGroup
setColorGroup(cr: Any, windowText: Any, button: Any, light: Any, dark: Any, mid: Any, text: Any, bright_text: Any, base: Any, window: Any) -> None
X.setColorGroup(cr, windowText, button, light, dark, mid, text, bright_text, base, window)
Supplemental documentation: Qt 5 reference:
void QPalette::setColorGroup(QPalette::ColorGroup cg, const QBrush \&windowText, const QBrush \&button, const QBrush \&light, const QBrush \&dark, const QBrush \&mid, const QBrush \&text, const QBrush \&bright_text, const QBrush \&base, const QBrush \&window)
Sets a the group at cg. You can pass either brushes, pixmaps or plain colors for windowText, button, light, dark, mid, text, bright_text, base and window.
See also QBrush.
Upstream PySide2 reference signatures (binding differences may apply):
setColorGroup(self, cr: PySide2.QtGui.QPalette.ColorGroup, windowText: PySide2.QtGui.QBrush, button: PySide2.QtGui.QBrush, light: PySide2.QtGui.QBrush, dark: PySide2.QtGui.QBrush, mid: PySide2.QtGui.QBrush, text: PySide2.QtGui.QBrush, bright_text: PySide2.QtGui.QBrush, base: PySide2.QtGui.QBrush, window: PySide2.QtGui.QBrush) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#setColorGroup
setCurrentColorGroup
setCurrentColorGroup(cg: Any) -> None
X.setCurrentColorGroup(cg)
Supplemental documentation: Qt 5 reference:
void QPalette::setCurrentColorGroup(QPalette::ColorGroup cg)
Set the palette's current color group to cg.
See also currentColorGroup().
Upstream PySide2 reference signatures (binding differences may apply):
setCurrentColorGroup(self, cg: PySide2.QtGui.QPalette.ColorGroup) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#setCurrentColorGroup
shadow
shadow() -> Any
X.shadow() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::shadow() const
Returns the shadow brush of the current color group.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
shadow(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#shadow
swap
swap(other: Any) -> None
X.swap(other)
Supplemental documentation: Qt 5 reference:
void QPalette::swap(QPalette \&other)
Swaps this palette instance with other. This function is very fast and never fails.
This function was introduced in Qt 5.0.
Upstream PySide2 reference signatures (binding differences may apply):
swap(self, other: PySide2.QtGui.QPalette) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#swap
text
text() -> Any
X.text() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::text() const
Returns the text foreground brush of the current color group.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
text(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#text
toolTipBase
toolTipBase() -> Any
X.toolTipBase() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::toolTipBase() const
Returns the tool tip base brush of the current color group. This brush is used by QToolTip and QWhatsThis.
Note: Tool tips use the Inactive color group of QPalette, because tool tips are not active windows.
This function was introduced in Qt 4.4.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
toolTipBase(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#toolTipBase
toolTipText
toolTipText() -> Any
X.toolTipText() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::toolTipText() const
Returns the tool tip text brush of the current color group. This brush is used by QToolTip and QWhatsThis.
Note: Tool tips use the Inactive color group of QPalette, because tool tips are not active windows.
This function was introduced in Qt 4.4.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
toolTipText(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#toolTipText
window
window() -> Any
X.window() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::window() const
Returns the window (general background) brush of the current color group.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
window(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#window
windowText
windowText() -> Any
X.windowText() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
const QBrush \&QPalette::windowText() const
Returns the window text (general foreground) brush of the current color group.
See also ColorRole and brush().
Upstream PySide2 reference signatures (binding differences may apply):
windowText(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qpalette.html#windowText