java.lang.Object
io.qt.internal.QtJambiObject
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 enum QPalette::ColorGroupstatic enum
Java wrapper for Qt enum QPalette::ColorRoleNested 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
ModifierConstructorDescriptionQPalette()
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 windowText, QColor window, QColor light, QColor dark, QColor mid, QColor text, QColor base) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QBrush
final QBrush
base()
final QBrush
final QBrush
final QBrush
final QBrush
button()
final QBrush
final long
cacheKey()
clone()
final QColor
final QColor
final QPalette.ColorGroup
final QBrush
dark()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
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) final QPalette
final long
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 void
setResolveMask
(long mask) final QBrush
shadow()
final void
final QBrush
text()
final QBrush
final QBrush
toString()
final QBrush
window()
final QBrush
void
writeTo
(QDataStream ds) 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
-
QPalette
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alternateBase
-
base
-
brightText
-
brush
-
brush
-
button
-
buttonText
-
cacheKey
-
color
-
color
-
currentColorGroup
-
dark
-
highlight
-
highlightedText
-
isBrushSet
-
isCopyOf
-
isEqual
-
light
-
link
-
linkVisited
-
mid
-
midlight
-
writeTo
-
readFrom
-
placeholderText
-
resolve
-
resolveMask
-
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
-
setResolveMask
-
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
-