java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QWidgetItem
- All Implemented Interfaces:
QtObjectInterface
,QLayoutItem
public class QWidgetItem extends QtObject implements QLayoutItem
Layout item that represents a widget
Java wrapper for Qt class QWidgetItem
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.widgets.QLayoutItem
QLayoutItem.Impl, QLayoutItem.MemberAccess
-
Constructor Summary
Constructors Modifier Constructor Description protected
QWidgetItem(QtObject.QPrivateConstructor p)
Constructor for internal use only.QWidgetItem(QWidget w)
-
Method Summary
Modifier and Type Method Description Qt.Alignment
alignment()
QSizePolicy.ControlTypes
controlTypes()
Qt.Orientations
expandingDirections()
QRect
geometry()
boolean
hasHeightForWidth()
int
heightForWidth(int arg__1)
void
invalidate()
boolean
isEmpty()
QLayout
layout()
QSize
maximumSize()
int
minimumHeightForWidth(int arg__1)
QSize
minimumSize()
void
setAlignment(Qt.Alignment a)
void
setAlignment(Qt.AlignmentFlag... a)
Overloaded function forsetAlignment(io.qt.core.Qt.Alignment)
.void
setGeometry(QRect arg__1)
protected void
setWidget(QWidget wid)
QSize
sizeHint()
QSpacerItem
spacerItem()
QWidget
widget()
-
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
-