java.lang.Object
io.qt.QtObject
io.qt.gui.QPalette
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains color groups for each widget state
Java wrapper for Qt class QPalette
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQPalette::ColorGroup
static enum
Java wrapper for Qt enumQPalette::ColorRole
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQPalette()
QPalette
(Qt.GlobalColor button) QPalette
(QBrush windowText, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush window) -
Method Summary
Modifier and TypeMethodDescriptionfinal QBrush
final void
final QBrush
Deprecated.final QBrush
base()
final QBrush
final QBrush
final QBrush
final QBrush
button()
final QBrush
final long
cacheKey()
clone()
Creates and returns a copy of this object.final QColor
final QColor
final QPalette.ColorGroup
final QBrush
dark()
boolean
final QBrush
Deprecated.UsewindowText()
insteadint
hashCode()
Returns the objects's hash code computed byqHash(QPalette)
.final QBrush
final QBrush
final boolean
final boolean
final boolean
isEqual
(QPalette.ColorGroup cr1, QPalette.ColorGroup cr2) final QBrush
light()
final QBrush
link()
final QBrush
final QBrush
mid()
final QBrush
midlight()
final QBrush
void
readFrom
(QDataStream ds) Seeoperator>>(QDataStream&,
QPalette&) final int
resolve()
final void
resolve
(int mask) final QPalette
final void
setBrush
(QPalette.ColorGroup cg, QPalette.ColorRole cr, QBrush brush) final void
setBrush
(QPalette.ColorRole cr, QBrush brush) final void
setColor
(QPalette.ColorGroup cg, QPalette.ColorRole cr, QColor color) final void
setColor
(QPalette.ColorRole cr, QColor color) final void
setColorGroup
(QPalette.ColorGroup cr, QBrush windowText, QBrush button, QBrush light, QBrush dark, QBrush mid, QBrush text, QBrush bright_text, QBrush base, QBrush window) final void
final QBrush
shadow()
final void
final QBrush
text()
final QBrush
final QBrush
toString()
Seeoperator<<(QDebug,
QPalette) final QBrush
window()
final QBrush
void
writeTo
(QDataStream ds) Seeoperator<<(QDataStream&,
QPalette) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QPalette
public QPalette() -
QPalette
-
QPalette
-
QPalette
-
QPalette
-
QPalette
-
QPalette
-
-
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
See
operator<<(QDataStream&,
QPalette) -
assign
-
readFrom
See
operator>>(QDataStream&,
QPalette&) -
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
-
hashCode
Returns the objects's hash code computed byqHash(QPalette)
. -
toString
See
operator<<(QDebug,
QPalette) -
clone
Creates and returns a copy of this object.
-
window()
instead