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; } /** *

Java wrapper for Qt enum QIcon::ThemeIcon

*/ public enum ThemeIcon implements QtEnumerator { /** *

Representing QIcon::ThemeIcon::AddressBookNew

*/ AddressBookNew(0), /** *

Representing QIcon::ThemeIcon::ApplicationExit

*/ ApplicationExit(1), /** *

Representing QIcon::ThemeIcon::AppointmentNew

*/ AppointmentNew(2), /** *

Representing QIcon::ThemeIcon::CallStart

*/ CallStart(3), /** *

Representing QIcon::ThemeIcon::CallStop

*/ CallStop(4), /** *

Representing QIcon::ThemeIcon::ContactNew

*/ ContactNew(5), /** *

Representing QIcon::ThemeIcon::DocumentNew

*/ DocumentNew(6), /** *

Representing QIcon::ThemeIcon::DocumentOpen

*/ DocumentOpen(7), /** *

Representing QIcon::ThemeIcon::DocumentOpenRecent

*/ DocumentOpenRecent(8), /** *

Representing QIcon::ThemeIcon::DocumentPageSetup

*/ DocumentPageSetup(9), /** *

Representing QIcon::ThemeIcon::DocumentPrint

*/ DocumentPrint(10), /** *

Representing QIcon::ThemeIcon::DocumentPrintPreview

*/ DocumentPrintPreview(11), /** *

Representing QIcon::ThemeIcon::DocumentProperties

*/ DocumentProperties(12), /** *

Representing QIcon::ThemeIcon::DocumentRevert

*/ DocumentRevert(13), /** *

Representing QIcon::ThemeIcon::DocumentSave

*/ DocumentSave(14), /** *

Representing QIcon::ThemeIcon::DocumentSaveAs

*/ DocumentSaveAs(15), /** *

Representing QIcon::ThemeIcon::DocumentSend

*/ DocumentSend(16), /** *

Representing QIcon::ThemeIcon::EditClear

*/ EditClear(17), /** *

Representing QIcon::ThemeIcon::EditCopy

*/ EditCopy(18), /** *

Representing QIcon::ThemeIcon::EditCut

*/ EditCut(19), /** *

Representing QIcon::ThemeIcon::EditDelete

*/ EditDelete(20), /** *

Representing QIcon::ThemeIcon::EditFind

*/ EditFind(21), /** *

Representing QIcon::ThemeIcon::EditPaste

*/ EditPaste(22), /** *

Representing QIcon::ThemeIcon::EditRedo

*/ EditRedo(23), /** *

Representing QIcon::ThemeIcon::EditSelectAll

*/ EditSelectAll(24), /** *

Representing QIcon::ThemeIcon::EditUndo

*/ EditUndo(25), /** *

Representing QIcon::ThemeIcon::FolderNew

*/ FolderNew(26), /** *

Representing QIcon::ThemeIcon::FormatIndentLess

*/ FormatIndentLess(27), /** *

Representing QIcon::ThemeIcon::FormatIndentMore

*/ FormatIndentMore(28), /** *

Representing QIcon::ThemeIcon::FormatJustifyCenter

*/ FormatJustifyCenter(29), /** *

Representing QIcon::ThemeIcon::FormatJustifyFill

*/ FormatJustifyFill(30), /** *

Representing QIcon::ThemeIcon::FormatJustifyLeft

*/ FormatJustifyLeft(31), /** *

Representing QIcon::ThemeIcon::FormatJustifyRight

*/ FormatJustifyRight(32), /** *

Representing QIcon::ThemeIcon::FormatTextDirectionLtr

*/ FormatTextDirectionLtr(33), /** *

Representing QIcon::ThemeIcon::FormatTextDirectionRtl

*/ FormatTextDirectionRtl(34), /** *

Representing QIcon::ThemeIcon::FormatTextBold

*/ FormatTextBold(35), /** *

Representing QIcon::ThemeIcon::FormatTextItalic

*/ FormatTextItalic(36), /** *

Representing QIcon::ThemeIcon::FormatTextUnderline

*/ FormatTextUnderline(37), /** *

Representing QIcon::ThemeIcon::FormatTextStrikethrough

*/ FormatTextStrikethrough(38), /** *

Representing QIcon::ThemeIcon::GoDown

*/ GoDown(39), /** *

Representing QIcon::ThemeIcon::GoHome

*/ GoHome(40), /** *

Representing QIcon::ThemeIcon::GoNext

*/ GoNext(41), /** *

Representing QIcon::ThemeIcon::GoPrevious

*/ GoPrevious(42), /** *

Representing QIcon::ThemeIcon::GoUp

*/ GoUp(43), /** *

Representing QIcon::ThemeIcon::HelpAbout

*/ HelpAbout(44), /** *

Representing QIcon::ThemeIcon::HelpFaq

*/ HelpFaq(45), /** *

Representing QIcon::ThemeIcon::InsertImage

*/ InsertImage(46), /** *

Representing QIcon::ThemeIcon::InsertLink

*/ InsertLink(47), /** *

Representing QIcon::ThemeIcon::InsertText

*/ InsertText(48), /** *

Representing QIcon::ThemeIcon::ListAdd

*/ ListAdd(49), /** *

Representing QIcon::ThemeIcon::ListRemove

*/ ListRemove(50), /** *

Representing QIcon::ThemeIcon::MailForward

*/ MailForward(51), /** *

Representing QIcon::ThemeIcon::MailMarkImportant

*/ MailMarkImportant(52), /** *

Representing QIcon::ThemeIcon::MailMarkRead

*/ MailMarkRead(53), /** *

Representing QIcon::ThemeIcon::MailMarkUnread

*/ MailMarkUnread(54), /** *

Representing QIcon::ThemeIcon::MailMessageNew

*/ MailMessageNew(55), /** *

Representing QIcon::ThemeIcon::MailReplyAll

*/ MailReplyAll(56), /** *

Representing QIcon::ThemeIcon::MailReplySender

*/ MailReplySender(57), /** *

Representing QIcon::ThemeIcon::MailSend

*/ MailSend(58), /** *

Representing QIcon::ThemeIcon::MediaEject

*/ MediaEject(59), /** *

Representing QIcon::ThemeIcon::MediaPlaybackPause

*/ MediaPlaybackPause(60), /** *

Representing QIcon::ThemeIcon::MediaPlaybackStart

*/ MediaPlaybackStart(61), /** *

Representing QIcon::ThemeIcon::MediaPlaybackStop

*/ MediaPlaybackStop(62), /** *

Representing QIcon::ThemeIcon::MediaRecord

*/ MediaRecord(63), /** *

Representing QIcon::ThemeIcon::MediaSeekBackward

*/ MediaSeekBackward(64), /** *

Representing QIcon::ThemeIcon::MediaSeekForward

*/ MediaSeekForward(65), /** *

Representing QIcon::ThemeIcon::MediaSkipBackward

*/ MediaSkipBackward(66), /** *

Representing QIcon::ThemeIcon::MediaSkipForward

*/ MediaSkipForward(67), /** *

Representing QIcon::ThemeIcon::ObjectRotateLeft

*/ ObjectRotateLeft(68), /** *

Representing QIcon::ThemeIcon::ObjectRotateRight

*/ ObjectRotateRight(69), /** *

Representing QIcon::ThemeIcon::ProcessStop

*/ ProcessStop(70), /** *

Representing QIcon::ThemeIcon::SystemLockScreen

*/ SystemLockScreen(71), /** *

Representing QIcon::ThemeIcon::SystemLogOut

*/ SystemLogOut(72), /** *

Representing QIcon::ThemeIcon::SystemSearch

*/ SystemSearch(73), /** *

Representing QIcon::ThemeIcon::SystemReboot

*/ SystemReboot(74), /** *

Representing QIcon::ThemeIcon::SystemShutdown

*/ SystemShutdown(75), /** *

Representing QIcon::ThemeIcon::ToolsCheckSpelling

*/ ToolsCheckSpelling(76), /** *

Representing QIcon::ThemeIcon::ViewFullscreen

*/ ViewFullscreen(77), /** *

Representing QIcon::ThemeIcon::ViewRefresh

*/ ViewRefresh(78), /** *

Representing QIcon::ThemeIcon::ViewRestore

*/ ViewRestore(79), /** *

Representing QIcon::ThemeIcon::WindowClose

*/ WindowClose(80), /** *

Representing QIcon::ThemeIcon::WindowNew

*/ WindowNew(81), /** *

Representing QIcon::ThemeIcon::ZoomFitBest

*/ ZoomFitBest(82), /** *

Representing QIcon::ThemeIcon::ZoomIn

*/ ZoomIn(83), /** *

Representing QIcon::ThemeIcon::ZoomOut

*/ ZoomOut(84), /** *

Representing QIcon::ThemeIcon::AudioCard

*/ AudioCard(85), /** *

Representing QIcon::ThemeIcon::AudioInputMicrophone

*/ AudioInputMicrophone(86), /** *

Representing QIcon::ThemeIcon::Battery

*/ Battery(87), /** *

Representing QIcon::ThemeIcon::CameraPhoto

*/ CameraPhoto(88), /** *

Representing QIcon::ThemeIcon::CameraVideo

*/ CameraVideo(89), /** *

Representing QIcon::ThemeIcon::CameraWeb

*/ CameraWeb(90), /** *

Representing QIcon::ThemeIcon::Computer

*/ Computer(91), /** *

Representing QIcon::ThemeIcon::DriveHarddisk

*/ DriveHarddisk(92), /** *

Representing QIcon::ThemeIcon::DriveOptical

*/ DriveOptical(93), /** *

Representing QIcon::ThemeIcon::InputGaming

*/ InputGaming(94), /** *

Representing QIcon::ThemeIcon::InputKeyboard

*/ InputKeyboard(95), /** *

Representing QIcon::ThemeIcon::InputMouse

*/ InputMouse(96), /** *

Representing QIcon::ThemeIcon::InputTablet

*/ InputTablet(97), /** *

Representing QIcon::ThemeIcon::MediaFlash

*/ MediaFlash(98), /** *

Representing QIcon::ThemeIcon::MediaOptical

*/ MediaOptical(99), /** *

Representing QIcon::ThemeIcon::MediaTape

*/ MediaTape(100), /** *

Representing QIcon::ThemeIcon::MultimediaPlayer

*/ MultimediaPlayer(101), /** *

Representing QIcon::ThemeIcon::NetworkWired

*/ NetworkWired(102), /** *

Representing QIcon::ThemeIcon::NetworkWireless

*/ NetworkWireless(103), /** *

Representing QIcon::ThemeIcon::Phone

*/ Phone(104), /** *

Representing QIcon::ThemeIcon::Printer

*/ Printer(105), /** *

Representing QIcon::ThemeIcon::Scanner

*/ Scanner(106), /** *

Representing QIcon::ThemeIcon::VideoDisplay

*/ VideoDisplay(107), /** *

Representing QIcon::ThemeIcon::AppointmentMissed

*/ AppointmentMissed(108), /** *

Representing QIcon::ThemeIcon::AppointmentSoon

*/ AppointmentSoon(109), /** *

Representing QIcon::ThemeIcon::AudioVolumeHigh

*/ AudioVolumeHigh(110), /** *

Representing QIcon::ThemeIcon::AudioVolumeLow

*/ AudioVolumeLow(111), /** *

Representing QIcon::ThemeIcon::AudioVolumeMedium

*/ AudioVolumeMedium(112), /** *

Representing QIcon::ThemeIcon::AudioVolumeMuted

*/ AudioVolumeMuted(113), /** *

Representing QIcon::ThemeIcon::BatteryCaution

*/ BatteryCaution(114), /** *

Representing QIcon::ThemeIcon::BatteryLow

*/ BatteryLow(115), /** *

Representing QIcon::ThemeIcon::DialogError

*/ DialogError(116), /** *

Representing QIcon::ThemeIcon::DialogInformation

*/ DialogInformation(117), /** *

Representing QIcon::ThemeIcon::DialogPassword

*/ DialogPassword(118), /** *

Representing QIcon::ThemeIcon::DialogQuestion

*/ DialogQuestion(119), /** *

Representing QIcon::ThemeIcon::DialogWarning

*/ DialogWarning(120), /** *

Representing QIcon::ThemeIcon::FolderDragAccept

*/ FolderDragAccept(121), /** *

Representing QIcon::ThemeIcon::FolderOpen

*/ FolderOpen(122), /** *

Representing QIcon::ThemeIcon::FolderVisiting

*/ FolderVisiting(123), /** *

Representing QIcon::ThemeIcon::ImageLoading

*/ ImageLoading(124), /** *

Representing QIcon::ThemeIcon::ImageMissing

*/ ImageMissing(125), /** *

Representing QIcon::ThemeIcon::MailAttachment

*/ MailAttachment(126), /** *

Representing QIcon::ThemeIcon::MailUnread

*/ MailUnread(127), /** *

Representing QIcon::ThemeIcon::MailRead

*/ MailRead(128), /** *

Representing QIcon::ThemeIcon::MailReplied

*/ MailReplied(129), /** *

Representing QIcon::ThemeIcon::MediaPlaylistRepeat

*/ MediaPlaylistRepeat(130), /** *

Representing QIcon::ThemeIcon::MediaPlaylistShuffle

*/ MediaPlaylistShuffle(131), /** *

Representing QIcon::ThemeIcon::NetworkOffline

*/ NetworkOffline(132), /** *

Representing QIcon::ThemeIcon::PrinterPrinting

*/ PrinterPrinting(133), /** *

Representing QIcon::ThemeIcon::SecurityHigh

*/ SecurityHigh(134), /** *

Representing QIcon::ThemeIcon::SecurityLow

*/ SecurityLow(135), /** *

Representing QIcon::ThemeIcon::SoftwareUpdateAvailable

*/ SoftwareUpdateAvailable(136), /** *

Representing QIcon::ThemeIcon::SoftwareUpdateUrgent

*/ SoftwareUpdateUrgent(137), /** *

Representing QIcon::ThemeIcon::SyncError

*/ SyncError(138), /** *

Representing QIcon::ThemeIcon::SyncSynchronizing

*/ SyncSynchronizing(139), /** *

Representing QIcon::ThemeIcon::UserAvailable

*/ UserAvailable(140), /** *

Representing QIcon::ThemeIcon::UserOffline

*/ UserOffline(141), /** *

Representing QIcon::ThemeIcon::WeatherClear

*/ WeatherClear(142), /** *

Representing QIcon::ThemeIcon::WeatherClearNight

*/ WeatherClearNight(143), /** *

Representing QIcon::ThemeIcon::WeatherFewClouds

*/ WeatherFewClouds(144), /** *

Representing QIcon::ThemeIcon::WeatherFewCloudsNight

*/ WeatherFewCloudsNight(145), /** *

Representing QIcon::ThemeIcon::WeatherFog

*/ WeatherFog(146), /** *

Representing QIcon::ThemeIcon::WeatherShowers

*/ WeatherShowers(147), /** *

Representing QIcon::ThemeIcon::WeatherSnow

*/ WeatherSnow(148), /** *

Representing QIcon::ThemeIcon::WeatherStorm

*/ WeatherStorm(149), /** *

Representing QIcon::ThemeIcon::NThemeIcons

*/ NThemeIcons(150); static { QtJambi_LibraryUtilities.initialize(); } private ThemeIcon(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 ThemeIcon resolve(int value) { switch (value) { case 0: return AddressBookNew; case 1: return ApplicationExit; case 2: return AppointmentNew; case 3: return CallStart; case 4: return CallStop; case 5: return ContactNew; case 6: return DocumentNew; case 7: return DocumentOpen; case 8: return DocumentOpenRecent; case 9: return DocumentPageSetup; case 10: return DocumentPrint; case 11: return DocumentPrintPreview; case 12: return DocumentProperties; case 13: return DocumentRevert; case 14: return DocumentSave; case 15: return DocumentSaveAs; case 16: return DocumentSend; case 17: return EditClear; case 18: return EditCopy; case 19: return EditCut; case 20: return EditDelete; case 21: return EditFind; case 22: return EditPaste; case 23: return EditRedo; case 24: return EditSelectAll; case 25: return EditUndo; case 26: return FolderNew; case 27: return FormatIndentLess; case 28: return FormatIndentMore; case 29: return FormatJustifyCenter; case 30: return FormatJustifyFill; case 31: return FormatJustifyLeft; case 32: return FormatJustifyRight; case 33: return FormatTextDirectionLtr; case 34: return FormatTextDirectionRtl; case 35: return FormatTextBold; case 36: return FormatTextItalic; case 37: return FormatTextUnderline; case 38: return FormatTextStrikethrough; case 39: return GoDown; case 40: return GoHome; case 41: return GoNext; case 42: return GoPrevious; case 43: return GoUp; case 44: return HelpAbout; case 45: return HelpFaq; case 46: return InsertImage; case 47: return InsertLink; case 48: return InsertText; case 49: return ListAdd; case 50: return ListRemove; case 51: return MailForward; case 52: return MailMarkImportant; case 53: return MailMarkRead; case 54: return MailMarkUnread; case 55: return MailMessageNew; case 56: return MailReplyAll; case 57: return MailReplySender; case 58: return MailSend; case 59: return MediaEject; case 60: return MediaPlaybackPause; case 61: return MediaPlaybackStart; case 62: return MediaPlaybackStop; case 63: return MediaRecord; case 64: return MediaSeekBackward; case 65: return MediaSeekForward; case 66: return MediaSkipBackward; case 67: return MediaSkipForward; case 68: return ObjectRotateLeft; case 69: return ObjectRotateRight; case 70: return ProcessStop; case 71: return SystemLockScreen; case 72: return SystemLogOut; case 73: return SystemSearch; case 74: return SystemReboot; case 75: return SystemShutdown; case 76: return ToolsCheckSpelling; case 77: return ViewFullscreen; case 78: return ViewRefresh; case 79: return ViewRestore; case 80: return WindowClose; case 81: return WindowNew; case 82: return ZoomFitBest; case 83: return ZoomIn; case 84: return ZoomOut; case 85: return AudioCard; case 86: return AudioInputMicrophone; case 87: return Battery; case 88: return CameraPhoto; case 89: return CameraVideo; case 90: return CameraWeb; case 91: return Computer; case 92: return DriveHarddisk; case 93: return DriveOptical; case 94: return InputGaming; case 95: return InputKeyboard; case 96: return InputMouse; case 97: return InputTablet; case 98: return MediaFlash; case 99: return MediaOptical; case 100: return MediaTape; case 101: return MultimediaPlayer; case 102: return NetworkWired; case 103: return NetworkWireless; case 104: return Phone; case 105: return Printer; case 106: return Scanner; case 107: return VideoDisplay; case 108: return AppointmentMissed; case 109: return AppointmentSoon; case 110: return AudioVolumeHigh; case 111: return AudioVolumeLow; case 112: return AudioVolumeMedium; case 113: return AudioVolumeMuted; case 114: return BatteryCaution; case 115: return BatteryLow; case 116: return DialogError; case 117: return DialogInformation; case 118: return DialogPassword; case 119: return DialogQuestion; case 120: return DialogWarning; case 121: return FolderDragAccept; case 122: return FolderOpen; case 123: return FolderVisiting; case 124: return ImageLoading; case 125: return ImageMissing; case 126: return MailAttachment; case 127: return MailUnread; case 128: return MailRead; case 129: return MailReplied; case 130: return MediaPlaylistRepeat; case 131: return MediaPlaylistShuffle; case 132: return NetworkOffline; case 133: return PrinterPrinting; case 134: return SecurityHigh; case 135: return SecurityLow; case 136: return SoftwareUpdateAvailable; case 137: return SoftwareUpdateUrgent; case 138: return SyncError; case 139: return SyncSynchronizing; case 140: return UserAvailable; case 141: return UserOffline; case 142: return WeatherClear; case 143: return WeatherClearNight; case 144: return WeatherFewClouds; case 145: return WeatherFewCloudsNight; case 146: return WeatherFog; case 147: return WeatherShowers; case 148: return WeatherSnow; case 149: return WeatherStorm; case 150: return NThemeIcons; 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(QIcon::ThemeIcon)

*/ public static io.qt.gui.@NonNull QIcon fromTheme(io.qt.gui.QIcon.@NonNull ThemeIcon icon){ return fromTheme_native_QIcon_ThemeIcon(icon.value()); } private native static io.qt.gui.QIcon fromTheme_native_QIcon_ThemeIcon(int icon); /** *

See QIcon::fromTheme(QIcon::ThemeIcon,QIcon)

*/ public static io.qt.gui.@NonNull QIcon fromTheme(io.qt.gui.QIcon.@NonNull ThemeIcon icon, io.qt.gui.@NonNull QIcon fallback){ return fromTheme_native_QIcon_ThemeIcon_cref_QIcon(icon.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(fallback)); } private native static io.qt.gui.QIcon fromTheme_native_QIcon_ThemeIcon_cref_QIcon(int icon, long fallback); /** *

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

*/ public static boolean hasThemeIcon(io.qt.gui.QIcon.@NonNull ThemeIcon icon){ return hasThemeIcon_native_QIcon_ThemeIcon(icon.value()); } private native static boolean hasThemeIcon_native_QIcon_ThemeIcon(int icon); /** *

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(io.qt.gui.QIcon.ThemeIcon, io.qt.gui.QIcon)}.

*/ public static io.qt.gui.@NonNull QIcon fromTheme(io.qt.gui.QIcon.@NonNull ThemeIcon icon, io.qt.gui.@NonNull QPixmap fallback) { return fromTheme(icon, new io.qt.gui.QIcon(fallback)); } /** *

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