- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QStyleOptionGroupBox extends QStyleOptionComplex implements Cloneable
Describes the parameters for drawing a group box
Java wrapper for Qt class QStyleOptionGroupBox
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QStyleOptionGroupBox()
protected
QStyleOptionGroupBox(QtObject.QPrivateConstructor p)
Constructor for internal use only.QStyleOptionGroupBox(QStyleOptionGroupBox other)
-
Method Summary
Modifier and Type Method Description QStyleOptionGroupBox
clone()
QStyleOptionFrame.FrameFeatures
features()
The features of the group box frameint
lineWidth()
The line width for drawing the panelint
midLineWidth()
The mid-line width for drawing the panelvoid
set(QStyleOptionGroupBox arg__1)
void
setFeatures(QStyleOptionFrame.FrameFeature... features)
Overloaded function forsetFeatures(io.qt.widgets.QStyleOptionFrame.FrameFeatures)
.void
setFeatures(QStyleOptionFrame.FrameFeatures features)
The features of the group box framevoid
setLineWidth(int lineWidth)
The line width for drawing the panelvoid
setMidLineWidth(int midLineWidth)
The mid-line width for drawing the panelvoid
setText(String text)
The text of the group boxvoid
setTextAlignment(Qt.Alignment textAlignment)
The alignment of the group box titlevoid
setTextAlignment(Qt.AlignmentFlag... textAlignment)
Overloaded function forsetTextAlignment(io.qt.core.Qt.Alignment)
.void
setTextColor(QColor textColor)
The color of the group box titleString
text()
The text of the group boxQt.Alignment
textAlignment()
The alignment of the group box titleQColor
textColor()
The color of the group box titleMethods inherited from class io.qt.widgets.QStyleOptionComplex
activeSubControls, set, setActiveSubControls, setSubControls, subControls
Methods inherited from class io.qt.widgets.QStyleOption
direction, fontMetrics, init, initFrom, palette, rect, set, setDirection, setFontMetrics, setPalette, setRect, setState, setState, setStyleObject, state, styleObject, toString
-
Constructor Details
-
QStyleOptionGroupBox
public QStyleOptionGroupBox() -
QStyleOptionGroupBox
-
QStyleOptionGroupBox
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setLineWidth
The line width for drawing the panel
-
lineWidth
The line width for drawing the panel
-
setTextAlignment
Overloaded function for
setTextAlignment(io.qt.core.Qt.Alignment)
. -
setTextAlignment
The alignment of the group box title
See QStyleOptionGroupBox::setTextAlignment(QFlags<Qt::AlignmentFlag> textAlignment)
-
textAlignment
The alignment of the group box title
-
setText
The text of the group box
-
text
The text of the group box
-
setTextColor
The color of the group box title
See QStyleOptionGroupBox::setTextColor(const QColor & textColor)
-
textColor
The color of the group box title
-
setFeatures
Overloaded function for
setFeatures(io.qt.widgets.QStyleOptionFrame.FrameFeatures)
. -
setFeatures
The features of the group box frame
See QStyleOptionGroupBox::setFeatures(QFlags<QStyleOptionFrame::FrameFeature> features)
-
features
The features of the group box frame
-
setMidLineWidth
The mid-line width for drawing the panel
-
midLineWidth
The mid-line width for drawing the panel
-
clone
- Overrides:
clone
in classQStyleOptionComplex
-