java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QPalette
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QPalette extends QtObject implements Cloneable
Contains color groups for each widget state
Java wrapper for Qt class QPalette
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QPalette.ColorGroup
Java wrapper for Qt enum QPalette::ColorGroupstatic class
QPalette.ColorRole
Java wrapper for Qt enum QPalette::ColorRole -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QPalette()
QPalette(Qt.GlobalColor button)
QPalette(QBrush windowText, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush window)
QPalette(QColor button)
QPalette(QColor button, QColor window)
QPalette(QColor windowText, QColor window, QColor light, QColor dark, QColor mid, QColor text, QColor base)
QPalette(QPalette palette)
protected
QPalette(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
Method Details
-
alternateBase
-
background
Deprecated.Usewindow()
instead -
base
-
brightText
-
brush
-
brush
-
button
-
buttonText
-
cacheKey
-
color
-
color
-
currentColorGroup
-
dark
-
foreground
Deprecated.UsewindowText()
instead -
highlight
-
highlightedText
-
isBrushSet
-
isCopyOf
-
isEqual
-
light
-
link
-
linkVisited
-
mid
-
midlight
-
writeTo
-
readFrom
-
placeholderText
-
resolve
-
resolve
-
resolve
-
setBrush
@QtUninvokable public final void setBrush(QPalette.ColorGroup cg, QPalette.ColorRole cr, QBrush brush) -
setBrush
-
setColor
@QtUninvokable public final void setColor(QPalette.ColorGroup cg, QPalette.ColorRole cr, QColor color) -
setColor
-
setColorGroup
-
setCurrentColorGroup
-
shadow
-
swap
-
text
-
toolTipBase
-
toolTipText
-
window
-
windowText
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-