@Properties(inherit=Qt5Widgets.class) public class QSizePolicy extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
QSizePolicy.ControlType |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
ExpandFlag
enum QSizePolicy::PolicyFlag
|
static int |
Expanding
enum QSizePolicy::Policy
|
static int |
Fixed
enum QSizePolicy::Policy
|
static int |
GrowFlag
enum QSizePolicy::PolicyFlag
|
static int |
Ignored
enum QSizePolicy::Policy
|
static int |
IgnoreFlag
enum QSizePolicy::PolicyFlag
|
static int |
Maximum
enum QSizePolicy::Policy
|
static int |
Minimum
enum QSizePolicy::Policy
|
static int |
MinimumExpanding
enum QSizePolicy::Policy
|
static int |
Preferred
enum QSizePolicy::Policy
|
static int |
ShrinkFlag
enum QSizePolicy::PolicyFlag
|
Constructor and Description |
---|
QSizePolicy() |
QSizePolicy(int horizontal,
int vertical) |
QSizePolicy(int horizontal,
int vertical,
QSizePolicy.ControlType type) |
QSizePolicy(long size)
Native array allocator.
|
QSizePolicy(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
QVariant |
asQVariant() |
QSizePolicy.ControlType |
controlType() |
boolean |
equals(QSizePolicy s) |
boolean |
hasHeightForWidth() |
boolean |
hasWidthForHeight() |
int |
horizontalPolicy() |
int |
horizontalStretch() |
boolean |
notEquals(QSizePolicy s) |
QSizePolicy |
position(long position) |
boolean |
retainSizeWhenHidden() |
void |
setControlType(QSizePolicy.ControlType type) |
void |
setHeightForWidth(boolean b) |
void |
setHorizontalPolicy(int d) |
void |
setHorizontalStretch(int stretchFactor) |
void |
setRetainSizeWhenHidden(boolean retainSize) |
void |
setVerticalPolicy(int d) |
void |
setVerticalStretch(int stretchFactor) |
void |
setWidthForHeight(boolean b) |
void |
transpose() |
QSizePolicy |
transposed() |
int |
verticalPolicy() |
int |
verticalStretch() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, 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 GrowFlag
public static final int ExpandFlag
public static final int ShrinkFlag
public static final int IgnoreFlag
public static final int Fixed
public static final int Minimum
public static final int Maximum
public static final int Preferred
public static final int MinimumExpanding
public static final int Expanding
public static final int Ignored
public QSizePolicy(Pointer p)
Pointer.Pointer(Pointer)
.public QSizePolicy(long size)
Pointer.position(long)
.public QSizePolicy()
public QSizePolicy(@Cast(value="QSizePolicy::Policy") int horizontal, @Cast(value="QSizePolicy::Policy") int vertical, QSizePolicy.ControlType type)
public QSizePolicy position(long position)
@NoException @Cast(value="QSizePolicy::Policy") public int horizontalPolicy()
@NoException @Cast(value="QSizePolicy::Policy") public int verticalPolicy()
@NoException public QSizePolicy.ControlType controlType()
@NoException public void setHorizontalPolicy(@Cast(value="QSizePolicy::Policy") int d)
@NoException public void setVerticalPolicy(@Cast(value="QSizePolicy::Policy") int d)
@NoException public void setControlType(QSizePolicy.ControlType type)
@NoException public void setHeightForWidth(@Cast(value="bool") boolean b)
@Cast(value="bool") @NoException public boolean hasHeightForWidth()
@NoException public void setWidthForHeight(@Cast(value="bool") boolean b)
@Cast(value="bool") @NoException public boolean hasWidthForHeight()
@Cast(value="bool") @Name(value="operator ==") @NoException public boolean equals(@Const @ByRef QSizePolicy s)
@Cast(value="bool") @Name(value="operator !=") @NoException public boolean notEquals(@Const @ByRef QSizePolicy s)
@NoException public int horizontalStretch()
@NoException public int verticalStretch()
public void setHorizontalStretch(int stretchFactor)
public void setVerticalStretch(int stretchFactor)
@Cast(value="bool") @NoException public boolean retainSizeWhenHidden()
@NoException public void setRetainSizeWhenHidden(@Cast(value="bool") boolean retainSize)
@NoException public void transpose()
@ByVal @NoException public QSizePolicy transposed()
Copyright © 2020. All rights reserved.