- All Implemented Interfaces:
QtObjectInterface
,QLayoutItem
public class QSpacerItem extends QtObject implements QLayoutItem
Blank space in a layout
Java wrapper for Qt class QSpacerItem
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.widgets.QLayoutItem
QLayoutItem.Impl, QLayoutItem.MemberAccess
-
Constructor Summary
Constructors Modifier Constructor Description QSpacerItem(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)
protected
QSpacerItem(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Constructor Details
-
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
-
QSpacerItem
-
QSpacerItem
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alignment
See QLayoutItem::
- Specified by:
alignment
in interfaceQLayoutItem
-
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
-
changeSize
@QtUninvokable public final void changeSize(int w, int h, QSizePolicy.Policy hData, QSizePolicy.Policy vData) -
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
.- Specified by:
setAlignment
in interfaceQLayoutItem
-
setAlignment
See QLayoutItem::
- Specified by:
setAlignment
in interfaceQLayoutItem
-
sizePolicy
-
controlTypes
See QLayoutItem::
- Specified by:
controlTypes
in interfaceQLayoutItem
-
expandingDirections
- Specified by:
expandingDirections
in interfaceQLayoutItem
-
geometry
- Specified by:
geometry
in interfaceQLayoutItem
-
hasHeightForWidth
See QLayoutItem::
- Specified by:
hasHeightForWidth
in interfaceQLayoutItem
-
heightForWidth
See QLayoutItem::
- Specified by:
heightForWidth
in interfaceQLayoutItem
-
invalidate
See QLayoutItem::
- Specified by:
invalidate
in interfaceQLayoutItem
-
isEmpty
- Specified by:
isEmpty
in interfaceQLayoutItem
-
layout
See QLayoutItem::
- Specified by:
layout
in interfaceQLayoutItem
-
maximumSize
- Specified by:
maximumSize
in interfaceQLayoutItem
-
minimumHeightForWidth
See QLayoutItem::
- Specified by:
minimumHeightForWidth
in interfaceQLayoutItem
-
minimumSize
- Specified by:
minimumSize
in interfaceQLayoutItem
-
setGeometry
- Specified by:
setGeometry
in interfaceQLayoutItem
-
sizeHint
- Specified by:
sizeHint
in interfaceQLayoutItem
-
spacerItem
- Specified by:
spacerItem
in interfaceQLayoutItem
-
widget
See QLayoutItem::
- Specified by:
widget
in interfaceQLayoutItem
-