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

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

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

import io.qt.*;


/**
 * 

Scalable icons in different modes and states

*

Java wrapper for Qt class QIcon

*/ public class QIcon extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QIcon::Mode

*/ public enum Mode implements QtEnumerator { /** *

Representing QIcon::Normal

*/ Normal(0), /** *

Representing QIcon::Disabled

*/ Disabled(1), /** *

Representing QIcon::Active

*/ Active(2), /** *

Representing QIcon::Selected

*/ Selected(3); static { QtJambi_LibraryUtilities.initialize(); } private Mode(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 Mode resolve(int value) { switch (value) { case 0: return Normal; case 1: return Disabled; case 2: return Active; case 3: return Selected; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QIcon::State

*/ public enum State implements QtEnumerator { /** *

Representing QIcon::On

*/ On(0), /** *

Representing QIcon::Off

*/ Off(1); static { QtJambi_LibraryUtilities.initialize(); } private State(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 State resolve(int value) { switch (value) { case 0: return On; case 1: return Off; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QIcon::QIcon()

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

See QIcon::QIcon(QIcon)

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

See QIcon::QIcon(QIconEngine*)

*/ public QIcon(io.qt.gui.@Nullable QIconEngine engine){ super((QPrivateConstructor)null); initialize_native(this, engine); } private native static void initialize_native(QIcon instance, io.qt.gui.QIconEngine engine); /** *

See QIcon::QIcon(QPixmap)

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

See QIcon::QIcon(QString)

*/ public QIcon(java.lang.@NonNull String fileName){ super((QPrivateConstructor)null); initialize_native(this, fileName); } private native static void initialize_native(QIcon instance, java.lang.String fileName); /** *

See QIcon::actualSize(QSize,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final io.qt.core.@NonNull QSize actualSize(io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ return actualSize_native_cref_QSize_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size), mode.value(), state.value()); } @QtUninvokable private native io.qt.core.QSize actualSize_native_cref_QSize_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, long size, int mode, int state); /** *

See QIcon::actualSize(QWindow*,QSize,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final io.qt.core.@NonNull QSize actualSize(io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ return actualSize_native_QWindow_ptr_cref_QSize_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(window), QtJambi_LibraryUtilities.internal.checkedNativeId(size), mode.value(), state.value()); } @QtUninvokable private native io.qt.core.QSize actualSize_native_QWindow_ptr_cref_QSize_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, long window, long size, int mode, int state); /** *

See QIcon::addFile(QString,QSize,QIcon::Mode,QIcon::State)

*/ @QtUninvokable public final void addFile(java.lang.@NonNull String fileName, io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ addFile_native_cref_QString_cref_QSize_QIcon_Mode_QIcon_State(QtJambi_LibraryUtilities.internal.nativeId(this), fileName, QtJambi_LibraryUtilities.internal.checkedNativeId(size), mode.value(), state.value()); } @QtUninvokable private native void addFile_native_cref_QString_cref_QSize_QIcon_Mode_QIcon_State(long __this__nativeId, java.lang.String fileName, long size, int mode, int state); /** *

See QIcon::addPixmap(QPixmap,QIcon::Mode,QIcon::State)

*/ @QtUninvokable public final void addPixmap(io.qt.gui.@NonNull QPixmap pixmap, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ addPixmap_native_cref_QPixmap_QIcon_Mode_QIcon_State(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap), mode.value(), state.value()); } @QtUninvokable private native void addPixmap_native_cref_QPixmap_QIcon_Mode_QIcon_State(long __this__nativeId, long pixmap, int mode, int state); /** *

See QIcon::availableSizes(QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList availableSizes(io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ return availableSizes_native_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value(), state.value()); } @QtUninvokable private native io.qt.core.QList availableSizes_native_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, int mode, int state); /** *

See QIcon::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 QIcon::detach()

*/ @QtUninvokable public final void detach(){ detach_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void detach_native(long __this__nativeId); /** *

See QIcon::isDetached()const

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

See QIcon::isMask()const

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

See QIcon::isNull()const

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

See QIcon::name()const

*/ @QtUninvokable public final java.lang.@NonNull String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See operator<<(QDataStream&,QIcon)

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

See QIcon::operator=(QIcon)

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

See operator>>(QDataStream&,QIcon&)

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

See QIcon::paint(QPainter*,QRect,Qt::Alignment,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final void paint(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, io.qt.core.Qt.@NonNull Alignment alignment, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ paint_native_QPainter_ptr_cref_QRect_Qt_Alignment_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), alignment.value(), mode.value(), state.value()); } @QtUninvokable private native void paint_native_QPainter_ptr_cref_QRect_Qt_Alignment_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, long painter, long rect, int alignment, int mode, int state); /** *

See QIcon::paint(QPainter*,int,int,int,int,Qt::Alignment,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final void paint(io.qt.gui.@Nullable QPainter painter, int x, int y, int w, int h, io.qt.core.Qt.@NonNull Alignment alignment, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ paint_native_QPainter_ptr_int_int_int_int_Qt_Alignment_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), x, y, w, h, alignment.value(), mode.value(), state.value()); } @QtUninvokable private native void paint_native_QPainter_ptr_int_int_int_int_Qt_Alignment_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, long painter, int x, int y, int w, int h, int alignment, int mode, int state); /** *

See QIcon::pixmap(QSize,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ return pixmap_native_cref_QSize_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size), mode.value(), state.value()); } @QtUninvokable private native io.qt.gui.QPixmap pixmap_native_cref_QSize_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, long size, int mode, int state); /** *

See QIcon::pixmap(QSize,qreal,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.core.@NonNull QSize size, double devicePixelRatio, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ return pixmap_native_cref_QSize_qreal_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size), devicePixelRatio, mode.value(), state.value()); } @QtUninvokable private native io.qt.gui.QPixmap pixmap_native_cref_QSize_qreal_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, long size, double devicePixelRatio, int mode, int state); /** *

See QIcon::pixmap(QWindow*,QSize,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ return pixmap_native_QWindow_ptr_cref_QSize_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(window), QtJambi_LibraryUtilities.internal.checkedNativeId(size), mode.value(), state.value()); } @QtUninvokable private native io.qt.gui.QPixmap pixmap_native_QWindow_ptr_cref_QSize_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, long window, long size, int mode, int state); /** *

See QIcon::pixmap(int,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(int extent, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ return pixmap_native_int_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), extent, mode.value(), state.value()); } @QtUninvokable private native io.qt.gui.QPixmap pixmap_native_int_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, int extent, int mode, int state); /** *

See QIcon::pixmap(int,int,QIcon::Mode,QIcon::State)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(int w, int h, io.qt.gui.QIcon.@NonNull Mode mode, io.qt.gui.QIcon.@NonNull State state){ return pixmap_native_int_int_QIcon_Mode_QIcon_State_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), w, h, mode.value(), state.value()); } @QtUninvokable private native io.qt.gui.QPixmap pixmap_native_int_int_QIcon_Mode_QIcon_State_constfct(long __this__nativeId, int w, int h, int mode, int state); /** *

See QIcon::setIsMask(bool)

*/ @QtUninvokable public final void setIsMask(boolean isMask){ setIsMask_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), isMask); } @QtUninvokable private native void setIsMask_native_bool(long __this__nativeId, boolean isMask); /** *

See QIcon::swap(QIcon&)

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

See QIcon::fallbackSearchPaths()

*/ public native static io.qt.core.@NonNull QStringList fallbackSearchPaths(); /** *

See QIcon::fallbackThemeName()

*/ public native static java.lang.@NonNull String fallbackThemeName(); /** *

See QIcon::fromTheme(QString)

*/ public native static io.qt.gui.@NonNull QIcon fromTheme(java.lang.@NonNull String name); /** *

See QIcon::fromTheme(QString,QIcon)

*/ public static io.qt.gui.@NonNull QIcon fromTheme(java.lang.@NonNull String name, io.qt.gui.@NonNull QIcon fallback){ return fromTheme_native_cref_QString_cref_QIcon(name, QtJambi_LibraryUtilities.internal.checkedNativeId(fallback)); } private native static io.qt.gui.QIcon fromTheme_native_cref_QString_cref_QIcon(java.lang.String name, long fallback); /** *

See QIcon::hasThemeIcon(QString)

*/ public native static boolean hasThemeIcon(java.lang.@NonNull String name); /** *

See QIcon::setFallbackSearchPaths(QStringList)

*/ public native static void setFallbackSearchPaths(java.util.@NonNull Collection paths); /** *

See QIcon::setFallbackThemeName(QString)

*/ public native static void setFallbackThemeName(java.lang.@NonNull String name); /** *

See QIcon::setThemeName(QString)

*/ public native static void setThemeName(java.lang.@NonNull String path); /** *

See QIcon::setThemeSearchPaths(QStringList)

*/ public native static void setThemeSearchPaths(java.util.@NonNull Collection searchpath); /** *

See QIcon::themeName()

*/ public native static java.lang.@NonNull String themeName(); /** *

See QIcon::themeSearchPaths()

*/ public native static io.qt.core.@NonNull QStringList themeSearchPaths(); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QIcon(QPrivateConstructor p) { super(p); } /** *

See operator<<(QDebug,QIcon)

*/ @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 QIcon::QIcon(QIcon)

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

Overloaded function for {@link #actualSize(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final io.qt.core.@NonNull QSize actualSize(io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode) { return actualSize(size, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #actualSize(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QSize actualSize(io.qt.core.@NonNull QSize size) { return actualSize(size, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #actualSize(io.qt.gui.QWindow, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final io.qt.core.@NonNull QSize actualSize(io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode) { return actualSize(window, size, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #actualSize(io.qt.gui.QWindow, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QSize actualSize(io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QSize size) { return actualSize(window, size, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #addFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final void addFile(java.lang.@NonNull String fileName, io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode) { addFile(fileName, size, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #addFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final void addFile(java.lang.@NonNull String fileName, io.qt.core.@NonNull QSize size) { addFile(fileName, size, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #addFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • size = new io.qt.core.QSize()
  • *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final void addFile(java.lang.@NonNull String fileName) { addFile(fileName, new io.qt.core.QSize(), io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #addPixmap(io.qt.gui.QPixmap, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final void addPixmap(io.qt.gui.@NonNull QPixmap pixmap, io.qt.gui.QIcon.@NonNull Mode mode) { addPixmap(pixmap, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #addPixmap(io.qt.gui.QPixmap, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final void addPixmap(io.qt.gui.@NonNull QPixmap pixmap) { addPixmap(pixmap, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #availableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final io.qt.core.@NonNull QList availableSizes(io.qt.gui.QIcon.@NonNull Mode mode) { return availableSizes(mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #availableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final io.qt.core.@NonNull QList availableSizes() { return availableSizes(io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #assign(io.qt.gui.QIcon)}.

*/ @QtUninvokable public final void assign(io.qt.gui.@NonNull QPixmap other) { assign(new io.qt.gui.QIcon(other)); } /** *

Overloaded function for {@link #paint(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final void paint(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, io.qt.core.Qt.@NonNull Alignment alignment, io.qt.gui.QIcon.@NonNull Mode mode) { paint(painter, rect, alignment, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #paint(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final void paint(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, io.qt.core.Qt.@NonNull Alignment alignment) { paint(painter, rect, alignment, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #paint(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • alignment = new io.qt.core.Qt.Alignment(132)
  • *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final void paint(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect) { paint(painter, rect, new io.qt.core.Qt.Alignment(132), io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #paint(io.qt.gui.QPainter, int, int, int, int, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final void paint(io.qt.gui.@Nullable QPainter painter, int x, int y, int w, int h, io.qt.core.Qt.@NonNull Alignment alignment, io.qt.gui.QIcon.@NonNull Mode mode) { paint(painter, x, y, w, h, alignment, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #paint(io.qt.gui.QPainter, int, int, int, int, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final void paint(io.qt.gui.@Nullable QPainter painter, int x, int y, int w, int h, io.qt.core.Qt.@NonNull Alignment alignment) { paint(painter, x, y, w, h, alignment, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #paint(io.qt.gui.QPainter, int, int, int, int, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • alignment = new io.qt.core.Qt.Alignment(132)
  • *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final void paint(io.qt.gui.@Nullable QPainter painter, int x, int y, int w, int h) { paint(painter, x, y, w, h, new io.qt.core.Qt.Alignment(132), io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode) { return pixmap(size, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.core.@NonNull QSize size) { return pixmap(size, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(io.qt.core.QSize, double, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.core.@NonNull QSize size, double devicePixelRatio, io.qt.gui.QIcon.@NonNull Mode mode) { return pixmap(size, devicePixelRatio, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(io.qt.core.QSize, double, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.core.@NonNull QSize size, double devicePixelRatio) { return pixmap(size, devicePixelRatio, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(io.qt.gui.QWindow, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QSize size, io.qt.gui.QIcon.@NonNull Mode mode) { return pixmap(window, size, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(io.qt.gui.QWindow, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(io.qt.gui.@Nullable QWindow window, io.qt.core.@NonNull QSize size) { return pixmap(window, size, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(int extent, io.qt.gui.QIcon.@NonNull Mode mode) { return pixmap(extent, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(int extent) { return pixmap(extent, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(int, int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)} * with state = io.qt.gui.QIcon.State.Off.

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(int w, int h, io.qt.gui.QIcon.@NonNull Mode mode) { return pixmap(w, h, mode, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #pixmap(int, int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)}

*

with:

    *
  • mode = io.qt.gui.QIcon.Mode.Normal
  • *
  • state = io.qt.gui.QIcon.State.Off
  • *
*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap pixmap(int w, int h) { return pixmap(w, h, io.qt.gui.QIcon.Mode.Normal, io.qt.gui.QIcon.State.Off); } /** *

Overloaded function for {@link #fromTheme(java.lang.String, io.qt.gui.QIcon)}.

*/ public static io.qt.gui.@NonNull QIcon fromTheme(java.lang.@NonNull String name, io.qt.gui.@NonNull QPixmap fallback) { return fromTheme(name, new io.qt.gui.QIcon(fallback)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy