java.lang.Object
io.qt.QtObject
io.qt.widgets.QSpacerItem
- All Implemented Interfaces:
QtObjectInterface
,QLayoutItem
,Cloneable
Blank space in a layout
Java wrapper for Qt class QSpacerItem
-
Constructor Summary
ConstructorDescriptionQSpacerItem
(int w, int h) Overloaded constructor forQSpacerItem(int, int, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy)
QSpacerItem
(int w, int h, QSizePolicy.Policy hData) Overloaded constructor forQSpacerItem(int, int, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy)
withvData = io.qt.widgets.QSizePolicy.Policy.Minimum
.QSpacerItem
(int w, int h, QSizePolicy.Policy hData, QSizePolicy.Policy vData) QSpacerItem
(QSpacerItem other) -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.Alignment
final void
changeSize
(int w, int h) Overloaded function forchangeSize(int, int, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy)
final void
changeSize
(int w, int h, QSizePolicy.Policy hData) Overloaded function forchangeSize(int, int, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy)
withvData = io.qt.widgets.QSizePolicy.Policy.Minimum
.final void
changeSize
(int w, int h, QSizePolicy.Policy hData, QSizePolicy.Policy vData) clone()
Creates and returns a copy of this object.geometry()
boolean
int
heightForWidth
(int arg__1) void
boolean
isEmpty()
layout()
int
minimumHeightForWidth
(int arg__1) final void
final void
setAlignment
(Qt.AlignmentFlag ... a) Overloaded function forsetAlignment(io.qt.core.Qt.Alignment)
.void
setGeometry
(QRect arg__1) sizeHint()
final QSizePolicy
widget()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QSpacerItem
- Parameters:
other
-
-
QSpacerItem
- Parameters:
w
-h
-hData
-vData
-
-
QSpacerItem
Overloaded constructor for
QSpacerItem(int, int, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy)
withvData = io.qt.widgets.QSizePolicy.Policy.Minimum
. -
QSpacerItem
public QSpacerItem(int w, int h) Overloaded constructor for
QSpacerItem(int, int, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy)
with:
hData = io.qt.widgets.QSizePolicy.Policy.Minimum
vData = io.qt.widgets.QSizePolicy.Policy.Minimum
-
-
Method Details
-
alignment
- Specified by:
alignment
in interfaceQLayoutItem
- Returns:
-
changeSize
@QtUninvokable public final void changeSize(int w, int h, QSizePolicy.Policy hData, QSizePolicy.Policy vData) - Parameters:
w
-h
-hData
-vData
-
-
setAlignment
- Specified by:
setAlignment
in interfaceQLayoutItem
- Parameters:
a
-
-
sizePolicy
- Returns:
-
controlTypes
- Specified by:
controlTypes
in interfaceQLayoutItem
- Returns:
-
expandingDirections
- Specified by:
expandingDirections
in interfaceQLayoutItem
- Returns:
-
geometry
- Specified by:
geometry
in interfaceQLayoutItem
- Returns:
-
hasHeightForWidth
- Specified by:
hasHeightForWidth
in interfaceQLayoutItem
- Returns:
-
heightForWidth
- Specified by:
heightForWidth
in interfaceQLayoutItem
- Parameters:
arg__1
-- Returns:
-
invalidate
- Specified by:
invalidate
in interfaceQLayoutItem
-
isEmpty
- Specified by:
isEmpty
in interfaceQLayoutItem
- Returns:
-
layout
- Specified by:
layout
in interfaceQLayoutItem
- Returns:
-
maximumSize
- Specified by:
maximumSize
in interfaceQLayoutItem
- Returns:
-
minimumHeightForWidth
- Specified by:
minimumHeightForWidth
in interfaceQLayoutItem
- Parameters:
arg__1
-- Returns:
-
minimumSize
- Specified by:
minimumSize
in interfaceQLayoutItem
- Returns:
-
setGeometry
- Specified by:
setGeometry
in interfaceQLayoutItem
- Parameters:
arg__1
-
-
sizeHint
- Specified by:
sizeHint
in interfaceQLayoutItem
- Returns:
-
spacerItem
- Specified by:
spacerItem
in interfaceQLayoutItem
- Returns:
-
widget
- Specified by:
widget
in interfaceQLayoutItem
- Returns:
-
clone
Creates and returns a copy of this object.
-
changeSize
Overloaded function for
changeSize(int, int, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy)
withvData = io.qt.widgets.QSizePolicy.Policy.Minimum
. -
changeSize
Overloaded function for
changeSize(int, int, io.qt.widgets.QSizePolicy.Policy, io.qt.widgets.QSizePolicy.Policy)
with:
hData = io.qt.widgets.QSizePolicy.Policy.Minimum
vData = io.qt.widgets.QSizePolicy.Policy.Minimum
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
.- Specified by:
setAlignment
in interfaceQLayoutItem
-