All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QPalette Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

Contains color groups for each widget state

*

Java wrapper for Qt class QPalette

*/ public class QPalette extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPalette.class); /** *

Java wrapper for Qt enum QPalette::ColorGroup

*/ @QtRejectedEntries({"Normal"}) public enum ColorGroup implements QtEnumerator { /** *

Representing QPalette::Active

*/ Active(0), /** *

Representing QPalette::Disabled

*/ Disabled(1), /** *

Representing QPalette::Inactive

*/ Inactive(2), /** *

Representing QPalette::NColorGroups

*/ NColorGroups(3), /** *

Representing QPalette::Current

*/ Current(4), /** *

Representing QPalette::All

*/ All(5), /** *

Representing QPalette::Normal

*/ Normal(0); static { QtJambi_LibraryUtilities.initialize(); } private ColorGroup(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ColorGroup resolve(int value) { switch (value) { case 0: return Active; case 1: return Disabled; case 2: return Inactive; case 3: return NColorGroups; case 4: return Current; case 5: return All; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPalette::ColorRole

*/ public enum ColorRole implements QtEnumerator { /** *

Representing QPalette::WindowText

*/ WindowText(0), /** *

Representing QPalette::Button

*/ Button(1), /** *

Representing QPalette::Light

*/ Light(2), /** *

Representing QPalette::Midlight

*/ Midlight(3), /** *

Representing QPalette::Dark

*/ Dark(4), /** *

Representing QPalette::Mid

*/ Mid(5), /** *

Representing QPalette::Text

*/ Text(6), /** *

Representing QPalette::BrightText

*/ BrightText(7), /** *

Representing QPalette::ButtonText

*/ ButtonText(8), /** *

Representing QPalette::Base

*/ Base(9), /** *

Representing QPalette::Window

*/ Window(10), /** *

Representing QPalette::Shadow

*/ Shadow(11), /** *

Representing QPalette::Highlight

*/ Highlight(12), /** *

Representing QPalette::HighlightedText

*/ HighlightedText(13), /** *

Representing QPalette::Link

*/ Link(14), /** *

Representing QPalette::LinkVisited

*/ LinkVisited(15), /** *

Representing QPalette::AlternateBase

*/ AlternateBase(16), /** *

Representing QPalette::NoRole

*/ NoRole(17), /** *

Representing QPalette::ToolTipBase

*/ ToolTipBase(18), /** *

Representing QPalette::ToolTipText

*/ ToolTipText(19), /** *

Representing QPalette::PlaceholderText

*/ PlaceholderText(20), /** *

Representing QPalette::Accent

*/ Accent(21), /** *

Representing QPalette::NColorRoles

*/ NColorRoles(22); static { QtJambi_LibraryUtilities.initialize(); } private ColorRole(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ColorRole resolve(int value) { switch (value) { case 0: return WindowText; case 1: return Button; case 2: return Light; case 3: return Midlight; case 4: return Dark; case 5: return Mid; case 6: return Text; case 7: return BrightText; case 8: return ButtonText; case 9: return Base; case 10: return Window; case 11: return Shadow; case 12: return Highlight; case 13: return HighlightedText; case 14: return Link; case 15: return LinkVisited; case 16: return AlternateBase; case 17: return NoRole; case 18: return ToolTipBase; case 19: return ToolTipText; case 20: return PlaceholderText; case 21: return Accent; case 22: return NColorRoles; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QPalette::QPalette()

*/ public QPalette(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QPalette instance); /** *

See QPalette::QPalette(QBrush,QBrush,QBrush,QBrush,QBrush,QBrush,QBrush,QBrush,QBrush)

*/ public QPalette(io.qt.gui.@NonNull QBrush windowText, io.qt.gui.@NonNull QBrush button, io.qt.gui.@NonNull QBrush light, io.qt.gui.@NonNull QBrush dark, io.qt.gui.@NonNull QBrush mid, io.qt.gui.@NonNull QBrush text, io.qt.gui.@NonNull QBrush bright_text, io.qt.gui.@NonNull QBrush base, io.qt.gui.@NonNull QBrush window){ super((QPrivateConstructor)null); initialize_native(this, windowText, button, light, dark, mid, text, bright_text, base, window); } private native static void initialize_native(QPalette instance, io.qt.gui.QBrush windowText, io.qt.gui.QBrush button, io.qt.gui.QBrush light, io.qt.gui.QBrush dark, io.qt.gui.QBrush mid, io.qt.gui.QBrush text, io.qt.gui.QBrush bright_text, io.qt.gui.QBrush base, io.qt.gui.QBrush window); /** *

See QPalette::QPalette(QColor)

*/ public QPalette(io.qt.gui.@NonNull QColor button){ super((QPrivateConstructor)null); initialize_native(this, button); } private native static void initialize_native(QPalette instance, io.qt.gui.QColor button); /** *

See QPalette::QPalette(QColor,QColor)

*/ public QPalette(io.qt.gui.@NonNull QColor button, io.qt.gui.@NonNull QColor window){ super((QPrivateConstructor)null); initialize_native(this, button, window); } private native static void initialize_native(QPalette instance, io.qt.gui.QColor button, io.qt.gui.QColor window); /** *

See QPalette::QPalette(QColor,QColor,QColor,QColor,QColor,QColor,QColor)

*/ public QPalette(io.qt.gui.@NonNull QColor windowText, io.qt.gui.@NonNull QColor window, io.qt.gui.@NonNull QColor light, io.qt.gui.@NonNull QColor dark, io.qt.gui.@NonNull QColor mid, io.qt.gui.@NonNull QColor text, io.qt.gui.@NonNull QColor base){ super((QPrivateConstructor)null); initialize_native(this, windowText, window, light, dark, mid, text, base); } private native static void initialize_native(QPalette instance, io.qt.gui.QColor windowText, io.qt.gui.QColor window, io.qt.gui.QColor light, io.qt.gui.QColor dark, io.qt.gui.QColor mid, io.qt.gui.QColor text, io.qt.gui.QColor base); /** *

See QPalette::QPalette(QPalette)

*/ public QPalette(io.qt.gui.@NonNull QPalette palette){ super((QPrivateConstructor)null); initialize_native(this, palette); } private native static void initialize_native(QPalette instance, io.qt.gui.QPalette palette); /** *

See QPalette::QPalette(Qt::GlobalColor)

*/ public QPalette(io.qt.core.Qt.@NonNull GlobalColor button){ super((QPrivateConstructor)null); initialize_native(this, button); } private native static void initialize_native(QPalette instance, io.qt.core.Qt.GlobalColor button); /** *

See QPalette::accent()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush accent(){ return accent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush accent_native_constfct(long __this__nativeId); /** *

See QPalette::alternateBase()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush alternateBase(){ return alternateBase_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush alternateBase_native_constfct(long __this__nativeId); /** *

See QPalette::base()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush base(){ return base_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush base_native_constfct(long __this__nativeId); /** *

See QPalette::brightText()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush brightText(){ return brightText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush brightText_native_constfct(long __this__nativeId); /** *

See QPalette::brush(QPalette::ColorGroup,QPalette::ColorRole)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush brush(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr){ return brush_native_QPalette_ColorGroup_QPalette_ColorRole_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cg.value(), cr.value()); } @QtUninvokable private native io.qt.gui.QBrush brush_native_QPalette_ColorGroup_QPalette_ColorRole_constfct(long __this__nativeId, int cg, int cr); /** *

See QPalette::brush(QPalette::ColorRole)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush brush(io.qt.gui.QPalette.@NonNull ColorRole cr){ return brush_native_QPalette_ColorRole_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cr.value()); } @QtUninvokable private native io.qt.gui.QBrush brush_native_QPalette_ColorRole_constfct(long __this__nativeId, int cr); /** *

See QPalette::button()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush button(){ return button_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush button_native_constfct(long __this__nativeId); /** *

See QPalette::buttonText()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush buttonText(){ return buttonText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush buttonText_native_constfct(long __this__nativeId); /** *

See QPalette::cacheKey()const

*/ @QtUninvokable public final long cacheKey(){ return cacheKey_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long cacheKey_native_constfct(long __this__nativeId); /** *

See QPalette::color(QPalette::ColorGroup,QPalette::ColorRole)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QColor color(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr){ return color_native_QPalette_ColorGroup_QPalette_ColorRole_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cg.value(), cr.value()); } @QtUninvokable private native io.qt.gui.QColor color_native_QPalette_ColorGroup_QPalette_ColorRole_constfct(long __this__nativeId, int cg, int cr); /** *

See QPalette::color(QPalette::ColorRole)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QColor color(io.qt.gui.QPalette.@NonNull ColorRole cr){ return color_native_QPalette_ColorRole_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cr.value()); } @QtUninvokable private native io.qt.gui.QColor color_native_QPalette_ColorRole_constfct(long __this__nativeId, int cr); /** *

See QPalette::currentColorGroup()const

*/ @QtUninvokable public final io.qt.gui.QPalette.@NonNull ColorGroup currentColorGroup(){ return io.qt.gui.QPalette.ColorGroup.resolve(currentColorGroup_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int currentColorGroup_native_constfct(long __this__nativeId); /** *

See QPalette::dark()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush dark(){ return dark_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush dark_native_constfct(long __this__nativeId); /** *

See QPalette::highlight()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush highlight(){ return highlight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush highlight_native_constfct(long __this__nativeId); /** *

See QPalette::highlightedText()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush highlightedText(){ return highlightedText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush highlightedText_native_constfct(long __this__nativeId); /** *

See QPalette::isBrushSet(QPalette::ColorGroup,QPalette::ColorRole)const

*/ @QtUninvokable public final boolean isBrushSet(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr){ return isBrushSet_native_QPalette_ColorGroup_QPalette_ColorRole_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cg.value(), cr.value()); } @QtUninvokable private native boolean isBrushSet_native_QPalette_ColorGroup_QPalette_ColorRole_constfct(long __this__nativeId, int cg, int cr); /** *

See QPalette::isCopyOf(QPalette)const

*/ @QtUninvokable public final boolean isCopyOf(io.qt.gui.@NonNull QPalette p){ return isCopyOf_native_cref_QPalette_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native boolean isCopyOf_native_cref_QPalette_constfct(long __this__nativeId, long p); /** *

See QPalette::isEqual(QPalette::ColorGroup,QPalette::ColorGroup)const

*/ @QtUninvokable public final boolean isEqual(io.qt.gui.QPalette.@NonNull ColorGroup cr1, io.qt.gui.QPalette.@NonNull ColorGroup cr2){ return isEqual_native_QPalette_ColorGroup_QPalette_ColorGroup_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), cr1.value(), cr2.value()); } @QtUninvokable private native boolean isEqual_native_QPalette_ColorGroup_QPalette_ColorGroup_constfct(long __this__nativeId, int cr1, int cr2); /** *

See QPalette::light()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush light(){ return light_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush light_native_constfct(long __this__nativeId); /** *

See QPalette::link()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush link(){ return link_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush link_native_constfct(long __this__nativeId); /** *

See QPalette::linkVisited()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush linkVisited(){ return linkVisited_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush linkVisited_native_constfct(long __this__nativeId); /** *

See QPalette::mid()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush mid(){ return mid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush mid_native_constfct(long __this__nativeId); /** *

See QPalette::midlight()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush midlight(){ return midlight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush midlight_native_constfct(long __this__nativeId); /** *

See operator<<(QDataStream&,QPalette)

*/ @QtUninvokable public void writeTo(io.qt.core.@StrictNonNull QDataStream s){ java.util.Objects.requireNonNull(s, "Argument 's': null not expected."); writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(s)); } @QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long s); /** *

See QPalette::operator=(QPalette)

*/ @QtUninvokable public final void assign(io.qt.gui.@NonNull QPalette palette){ assign_native_cref_QPalette(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(palette)); } @QtUninvokable private native void assign_native_cref_QPalette(long __this__nativeId, long palette); /** *

See QPalette::operator==(QPalette)const

*/ @QtUninvokable public final boolean equals(io.qt.gui.@NonNull QPalette p){ return equals_native_cref_QPalette_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native boolean equals_native_cref_QPalette_constfct(long __this__nativeId, long p); /** *

See operator>>(QDataStream&,QPalette&)

*/ @QtUninvokable public void readFrom(io.qt.core.@StrictNonNull QDataStream ds){ java.util.Objects.requireNonNull(ds, "Argument 'ds': null not expected."); readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ds)); } @QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long ds); /** *

See QPalette::placeholderText()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush placeholderText(){ return placeholderText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush placeholderText_native_constfct(long __this__nativeId); /** *

See QPalette::resolve(QPalette)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPalette resolve(io.qt.gui.@NonNull QPalette other){ return resolve_native_cref_QPalette_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native io.qt.gui.QPalette resolve_native_cref_QPalette_constfct(long __this__nativeId, long other); /** *

See QPalette::resolveMask()const

*/ @QtUninvokable public final long resolveMask(){ return resolveMask_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long resolveMask_native_constfct(long __this__nativeId); /** *

See QPalette::setBrush(QPalette::ColorGroup,QPalette::ColorRole,QBrush)

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QBrush brush){ setBrush_native_QPalette_ColorGroup_QPalette_ColorRole_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), cg.value(), cr.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); } @QtUninvokable private native void setBrush_native_QPalette_ColorGroup_QPalette_ColorRole_cref_QBrush(long __this__nativeId, int cg, int cr, long brush); /** *

See QPalette::setBrush(QPalette::ColorRole,QBrush)

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QBrush brush){ setBrush_native_QPalette_ColorRole_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), cr.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(brush)); } @QtUninvokable private native void setBrush_native_QPalette_ColorRole_cref_QBrush(long __this__nativeId, int cr, long brush); /** *

See QPalette::setColor(QPalette::ColorGroup,QPalette::ColorRole,QColor)

*/ @QtUninvokable public final void setColor(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QColor color){ setColor_native_QPalette_ColorGroup_QPalette_ColorRole_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), cg.value(), cr.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(color)); } @QtUninvokable private native void setColor_native_QPalette_ColorGroup_QPalette_ColorRole_cref_QColor(long __this__nativeId, int cg, int cr, long color); /** *

See QPalette::setColor(QPalette::ColorRole,QColor)

*/ @QtUninvokable public final void setColor(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QColor color){ setColor_native_QPalette_ColorRole_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), cr.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(color)); } @QtUninvokable private native void setColor_native_QPalette_ColorRole_cref_QColor(long __this__nativeId, int cr, long color); /** *

See QPalette::setColorGroup(QPalette::ColorGroup,QBrush,QBrush,QBrush,QBrush,QBrush,QBrush,QBrush,QBrush,QBrush)

*/ @QtUninvokable public final void setColorGroup(io.qt.gui.QPalette.@NonNull ColorGroup cr, io.qt.gui.@NonNull QBrush windowText, io.qt.gui.@NonNull QBrush button, io.qt.gui.@NonNull QBrush light, io.qt.gui.@NonNull QBrush dark, io.qt.gui.@NonNull QBrush mid, io.qt.gui.@NonNull QBrush text, io.qt.gui.@NonNull QBrush bright_text, io.qt.gui.@NonNull QBrush base, io.qt.gui.@NonNull QBrush window){ setColorGroup_native_QPalette_ColorGroup_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), cr.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(windowText), QtJambi_LibraryUtilities.internal.checkedNativeId(button), QtJambi_LibraryUtilities.internal.checkedNativeId(light), QtJambi_LibraryUtilities.internal.checkedNativeId(dark), QtJambi_LibraryUtilities.internal.checkedNativeId(mid), QtJambi_LibraryUtilities.internal.checkedNativeId(text), QtJambi_LibraryUtilities.internal.checkedNativeId(bright_text), QtJambi_LibraryUtilities.internal.checkedNativeId(base), QtJambi_LibraryUtilities.internal.checkedNativeId(window)); } @QtUninvokable private native void setColorGroup_native_QPalette_ColorGroup_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush_cref_QBrush(long __this__nativeId, int cr, long windowText, long button, long light, long dark, long mid, long text, long bright_text, long base, long window); /** *

See QPalette::setCurrentColorGroup(QPalette::ColorGroup)

*/ @QtUninvokable public final void setCurrentColorGroup(io.qt.gui.QPalette.@NonNull ColorGroup cg){ setCurrentColorGroup_native_QPalette_ColorGroup(QtJambi_LibraryUtilities.internal.nativeId(this), cg.value()); } @QtUninvokable private native void setCurrentColorGroup_native_QPalette_ColorGroup(long __this__nativeId, int cg); /** *

See QPalette::setResolveMask(QPalette::ResolveMask)

*/ @QtUninvokable public final void setResolveMask(long mask){ setResolveMask_native_quint64(QtJambi_LibraryUtilities.internal.nativeId(this), mask); } @QtUninvokable private native void setResolveMask_native_quint64(long __this__nativeId, long mask); /** *

See QPalette::shadow()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush shadow(){ return shadow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush shadow_native_constfct(long __this__nativeId); /** *

See QPalette::swap(QPalette&)

*/ @QtUninvokable public final void swap(io.qt.gui.@StrictNonNull QPalette other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QPalette(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QPalette(long __this__nativeId, long other); /** *

See QPalette::text()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush text(){ return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush text_native_constfct(long __this__nativeId); /** *

See QPalette::toolTipBase()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush toolTipBase(){ return toolTipBase_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush toolTipBase_native_constfct(long __this__nativeId); /** *

See QPalette::toolTipText()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush toolTipText(){ return toolTipText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush toolTipText_native_constfct(long __this__nativeId); /** *

See QPalette::window()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush window(){ return window_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush window_native_constfct(long __this__nativeId); /** *

See QPalette::windowText()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush windowText(){ return windowText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush windowText_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPalette(QPrivateConstructor p) { super(p); } /** *

See QPalette::operator==(QPalette)const

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QPalette) { return equals((io.qt.gui.QPalette) other); } return false; } /** * Returns the objects's hash code computed by qHash(QPalette). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

See operator<<(QDebug,QPalette)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QPalette::QPalette(QPalette)

*/ @QtUninvokable @Override public QPalette clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QPalette clone_native(long __this_nativeId); /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.core.Qt.@NonNull BrushStyle brush) { setBrush(cg, cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QColor brush) { setBrush(cg, cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.core.Qt.@NonNull GlobalColor brush) { setBrush(cg, cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QPixmap brush) { setBrush(cg, cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QImage brush) { setBrush(cg, cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QGradient brush) { setBrush(cg, cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.core.Qt.@NonNull BrushStyle brush) { setBrush(cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QColor brush) { setBrush(cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.core.Qt.@NonNull GlobalColor brush) { setBrush(cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QPixmap brush) { setBrush(cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QImage brush) { setBrush(cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setBrush(io.qt.gui.QPalette.ColorRole, io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBrush(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QGradient brush) { setBrush(cr, new io.qt.gui.QBrush(brush)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setColor(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.core.Qt.@NonNull GlobalColor color) { setColor(cg, cr, new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setColor(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QRgba64 color) { setColor(cg, cr, new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QPalette.ColorGroup, io.qt.gui.QPalette.ColorRole, io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setColor(io.qt.gui.QPalette.@NonNull ColorGroup cg, io.qt.gui.QPalette.@NonNull ColorRole cr, java.lang.@NonNull String color) { setColor(cg, cr, new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QPalette.ColorRole, io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setColor(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.core.Qt.@NonNull GlobalColor color) { setColor(cr, new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QPalette.ColorRole, io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setColor(io.qt.gui.QPalette.@NonNull ColorRole cr, io.qt.gui.@NonNull QRgba64 color) { setColor(cr, new io.qt.gui.QColor(color)); } /** *

Overloaded function for {@link #setColor(io.qt.gui.QPalette.ColorRole, io.qt.gui.QColor)}.

*/ @QtUninvokable public final void setColor(io.qt.gui.QPalette.@NonNull ColorRole cr, java.lang.@NonNull String color) { setColor(cr, new io.qt.gui.QColor(color)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy