Home
·
All Classes
·
Modules
QPalette Class Reference
[
QtGui
module]
Types
enum
ColorGroup
{ Active, Disabled, Inactive, NColorGroups, ..., Normal }
enum
ColorRole
{ WindowText, Foreground, Button, Light, ..., NoRole }
Methods
__init__
(
self
)
__init__
(
self
, QColor)
__init__
(
self
, Qt.GlobalColor)
__init__
(
self
, QColor, QColor)
__init__
(
self
, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush)
__init__
(
self
, QColor, QColor, QColor, QColor, QColor, QColor, QColor)
__init__
(
self
, QPalette)
__init__
(
self
, QVariant
variant
)
QBrush
alternateBase
(
self
)
QBrush
background
(
self
)
QBrush
base
(
self
)
QBrush
brightText
(
self
)
QBrush
brush
(
self
, ColorGroup, ColorRole)
QBrush
brush
(
self
, ColorRole)
QBrush
button
(
self
)
QBrush
buttonText
(
self
)
int
cacheKey
(
self
)
QColor
color
(
self
, ColorGroup, ColorRole)
QColor
color
(
self
, ColorRole)
ColorGroup
currentColorGroup
(
self
)
QBrush
dark
(
self
)
QBrush
foreground
(
self
)
QBrush
highlight
(
self
)
QBrush
highlightedText
(
self
)
bool
isBrushSet
(
self
, ColorGroup, ColorRole)
bool
isCopyOf
(
self
, QPalette)
bool
isEqual
(
self
, ColorGroup, ColorGroup)
QBrush
light
(
self
)
QBrush
link
(
self
)
QBrush
linkVisited
(
self
)
QBrush
mid
(
self
)
QBrush
midlight
(
self
)
QPalette
resolve
(
self
, QPalette)
int
resolve
(
self
)
resolve
(
self
, int)
int
serialNumber
(
self
)
setBrush
(
self
, ColorGroup, ColorRole, QBrush)
setBrush
(
self
, ColorRole, QBrush)
setColor
(
self
, ColorGroup, ColorRole, QColor)
setColor
(
self
, ColorRole, QColor)
setColorGroup
(
self
, ColorGroup, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush, QBrush)
setCurrentColorGroup
(
self
, ColorGroup)
QBrush
shadow
(
self
)
QBrush
text
(
self
)
QBrush
toolTipBase
(
self
)
QBrush
toolTipText
(
self
)
QBrush
window
(
self
)
QBrush
windowText
(
self
)
Special Methods
bool
__eq__
(
self
, QPalette)
bool
__ne__
(
self
, QPalette)
Detailed Description
Type Documentation
QPalette.ColorGroup
QPalette.ColorRole
Method Documentation
QPalette.__init__ (
self
)
QPalette.__init__ (
self
,
QColor
)
QPalette.__init__ (
self
,
Qt.GlobalColor
)
QPalette.__init__ (
self
,
QColor
,
QColor
)
QPalette.__init__ (
self
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
)
QPalette.__init__ (
self
,
QColor
,
QColor
,
QColor
,
QColor
,
QColor
,
QColor
,
QColor
)
QPalette.__init__ (
self
,
QPalette
)
QPalette.__init__ (
self
, QVariant
variant
)
QBrush
QPalette.alternateBase (
self
)
QBrush
QPalette.background (
self
)
QBrush
QPalette.base (
self
)
QBrush
QPalette.brightText (
self
)
QBrush
QPalette.brush (
self
,
ColorGroup
,
ColorRole
)
QBrush
QPalette.brush (
self
,
ColorRole
)
QBrush
QPalette.button (
self
)
QBrush
QPalette.buttonText (
self
)
int QPalette.cacheKey (
self
)
QColor
QPalette.color (
self
,
ColorGroup
,
ColorRole
)
QColor
QPalette.color (
self
,
ColorRole
)
ColorGroup
QPalette.currentColorGroup (
self
)
QBrush
QPalette.dark (
self
)
QBrush
QPalette.foreground (
self
)
QBrush
QPalette.highlight (
self
)
QBrush
QPalette.highlightedText (
self
)
bool QPalette.isBrushSet (
self
,
ColorGroup
,
ColorRole
)
bool QPalette.isCopyOf (
self
,
QPalette
)
bool QPalette.isEqual (
self
,
ColorGroup
,
ColorGroup
)
QBrush
QPalette.light (
self
)
QBrush
QPalette.link (
self
)
QBrush
QPalette.linkVisited (
self
)
QBrush
QPalette.mid (
self
)
QBrush
QPalette.midlight (
self
)
QPalette
QPalette.resolve (
self
,
QPalette
)
int QPalette.resolve (
self
)
QPalette.resolve (
self
, int)
int QPalette.serialNumber (
self
)
QPalette.setBrush (
self
,
ColorGroup
,
ColorRole
,
QBrush
)
QPalette.setBrush (
self
,
ColorRole
,
QBrush
)
QPalette.setColor (
self
,
ColorGroup
,
ColorRole
,
QColor
)
QPalette.setColor (
self
,
ColorRole
,
QColor
)
QPalette.setColorGroup (
self
,
ColorGroup
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
,
QBrush
)
QPalette.setCurrentColorGroup (
self
,
ColorGroup
)
QBrush
QPalette.shadow (
self
)
QBrush
QPalette.text (
self
)
QBrush
QPalette.toolTipBase (
self
)
QBrush
QPalette.toolTipText (
self
)
QBrush
QPalette.window (
self
)
QBrush
QPalette.windowText (
self
)
bool QPalette.__eq__ (
self
,
QPalette
)
bool QPalette.__ne__ (
self
,
QPalette
)
PyQt 4.8 for X11
Copyright ©
Riverbank Computing Ltd
and
Nokia
2010
Qt 4.7.0