@Properties(inherit=Qt5Gui.class) public class QIcon extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
Active
enum QIcon::Mode
|
static int |
Disabled
enum QIcon::Mode
|
static int |
Normal
enum QIcon::Mode
|
static int |
Off
enum QIcon::State
|
static int |
On
enum QIcon::State
|
static int |
Selected
enum QIcon::Mode
|
Constructor and Description |
---|
QIcon() |
QIcon(long size)
Native array allocator.
|
QIcon(Pointer p)
Pointer cast constructor.
|
QIcon(QIcon other) |
QIcon(QString fileName) |
Modifier and Type | Method and Description |
---|---|
QSize |
actualSize(QSize size) |
QSize |
actualSize(QSize size,
int mode,
int state) |
void |
addFile(QString fileName) |
void |
addFile(QString fileName,
QSize size,
int mode,
int state) |
QVariant |
asQVariant() |
long |
cacheKey() |
PointerPointer |
data_ptr() |
void |
detach() |
static QString |
fallbackThemeName() |
static QIcon |
fromTheme(QString name) |
static QIcon |
fromTheme(QString name,
QIcon fallback) |
static boolean |
hasThemeIcon(QString name) |
boolean |
isDetached() |
boolean |
isMask() |
boolean |
isNull() |
QString |
name() |
QIcon |
position(long position) |
QIcon |
put(QIcon other) |
static void |
setFallbackThemeName(QString name) |
void |
setIsMask(boolean isMask) |
static void |
setThemeName(QString path) |
void |
swap(QIcon other) |
static QString |
themeName() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int Normal
public static final int Disabled
public static final int Active
public static final int Selected
public static final int On
public static final int Off
public QIcon(Pointer p)
Pointer.Pointer(Pointer)
.public QIcon(long size)
Pointer.position(long)
.public QIcon()
@NoException public void swap(@ByRef QIcon other)
@ByVal public QSize actualSize(@Const @ByRef QSize size, @Cast(value="QIcon::Mode") int mode, @Cast(value="QIcon::State") int state)
public void detach()
public long cacheKey()
public void addFile(@Const @ByRef QString fileName, @Const @ByRef(nullValue="QSize()") QSize size, @Cast(value="QIcon::Mode") int mode, @Cast(value="QIcon::State") int state)
@ByVal public static QIcon fromTheme(@Const @ByRef QString name, @Const @ByRef QIcon fallback)
@Cast(value="QIcon::DataPtr*") @ByRef public PointerPointer data_ptr()
Copyright © 2020. All rights reserved.