java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.widgets.QWidgetItem
- All Implemented Interfaces:
QtObjectInterface
,QLayoutItem
Layout item that represents a widget
Java wrapper for Qt's class QWidgetItem
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
Nested classes/interfaces inherited from interface io.qt.widgets.QLayoutItem
QLayoutItem.Impl
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.Alignment
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) protected final void
sizeHint()
widget()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QWidgetItem
-
QWidgetItem
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
alignment
- Specified by:
alignment
in interfaceQLayoutItem
-
setAlignment
Overloaded function for
setAlignment(io.qt.core.Qt.Alignment)
.- Specified by:
setAlignment
in interfaceQLayoutItem
-
setAlignment
- Specified by:
setAlignment
in interfaceQLayoutItem
-
controlTypes
- Specified by:
controlTypes
in interfaceQLayoutItem
-
expandingDirections
- Specified by:
expandingDirections
in interfaceQLayoutItem
-
geometry
- Specified by:
geometry
in interfaceQLayoutItem
-
hasHeightForWidth
- Specified by:
hasHeightForWidth
in interfaceQLayoutItem
-
heightForWidth
- Specified by:
heightForWidth
in interfaceQLayoutItem
-
invalidate
- Specified by:
invalidate
in interfaceQLayoutItem
-
isEmpty
- Specified by:
isEmpty
in interfaceQLayoutItem
-
layout
- Specified by:
layout
in interfaceQLayoutItem
-
maximumSize
- Specified by:
maximumSize
in interfaceQLayoutItem
-
minimumHeightForWidth
- 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
- Specified by:
widget
in interfaceQLayoutItem
-
setWidget
-