- All Implemented Interfaces:
QtObjectInterface
,QtSignalBlockerInterface
,QtSignalEmitterInterface
,QtThreadAffineInterface
- Direct Known Subclasses:
QCommonStyle
public abstract class QStyle extends QObject
Abstract base class that encapsulates the look and feel of a GUI
Java wrapper for Qt class QStyle
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QStyle.ComplexControl
Java wrapper for Qt enum QStyle::ComplexControlstatic class
QStyle.ContentsType
Java wrapper for Qt enum QStyle::ContentsTypestatic class
QStyle.ControlElement
Java wrapper for Qt enum QStyle::ControlElementstatic class
QStyle.PixelMetric
Java wrapper for Qt enum QStyle::PixelMetricstatic class
QStyle.PrimitiveElement
Java wrapper for Qt enum QStyle::PrimitiveElementstatic class
QStyle.RequestSoftwareInputPanel
Java wrapper for Qt enum QStyle::RequestSoftwareInputPanelstatic class
QStyle.StandardPixmap
Java wrapper for Qt enum QStyle::StandardPixmapstatic class
QStyle.State
QFlags type for enumQStyle.StateFlag
static class
QStyle.StateFlag
Java wrapper for Qt enum QStyle::StateFlagstatic class
QStyle.StyleHint
Java wrapper for Qt enum QStyle::StyleHintstatic class
QStyle.SubControl
Java wrapper for Qt enum QStyle::SubControlstatic class
QStyle.SubElement
Java wrapper for Qt enum QStyle::SubElementNested classes/interfaces inherited from class io.qt.core.QObject
QObject.MultiSignal, QObject.PrivateSignal0, QObject.PrivateSignal1<A>, QObject.PrivateSignal2<A,B>, QObject.PrivateSignal3<A,B,C>, QObject.PrivateSignal4<A,B,C,D>, QObject.PrivateSignal5<A,B,C,D,E>, QObject.PrivateSignal6<A,B,C,D,E,F>, QObject.PrivateSignal7<A,B,C,D,E,F,G>, QObject.PrivateSignal8<A,B,C,D,E,F,G,H>, QObject.PrivateSignal9<A,B,C,D,E,F,G,H,I>, QObject.QBooleanProperty, QObject.QByteProperty, QObject.QCharProperty, QObject.QComputedBooleanProperty, QObject.QComputedByteProperty, QObject.QComputedCharProperty, QObject.QComputedDoubleProperty, QObject.QComputedFloatProperty, QObject.QComputedIntProperty, QObject.QComputedLongProperty, QObject.QComputedProperty<T>, QObject.QComputedShortProperty, QObject.QDeclarativeConstructor, QObject.QDoubleProperty, QObject.QFloatProperty, QObject.QIntProperty, QObject.QLongProperty, QObject.QProperty<T>, QObject.QShortProperty, QObject.Signal0, QObject.Signal1<A>, QObject.Signal1Default1<A>, QObject.Signal2<A,B>, QObject.Signal2Default1<A,B>, QObject.Signal2Default2<A,B>, QObject.Signal3<A,B,C>, QObject.Signal3Default1<A,B,C>, QObject.Signal3Default2<A,B,C>, QObject.Signal3Default3<A,B,C>, QObject.Signal4<A,B,C,D>, QObject.Signal4Default1<A,B,C,D>, QObject.Signal4Default2<A,B,C,D>, QObject.Signal4Default3<A,B,C,D>, QObject.Signal4Default4<A,B,C,D>, QObject.Signal5<A,B,C,D,E>, QObject.Signal5Default1<A,B,C,D,E>, QObject.Signal5Default2<A,B,C,D,E>, QObject.Signal5Default3<A,B,C,D,E>, QObject.Signal5Default4<A,B,C,D,E>, QObject.Signal5Default5<A,B,C,D,E>, QObject.Signal6<A,B,C,D,E,F>, QObject.Signal6Default1<A,B,C,D,E,F>, QObject.Signal6Default2<A,B,C,D,E,F>, QObject.Signal6Default3<A,B,C,D,E,F>, QObject.Signal6Default4<A,B,C,D,E,F>, QObject.Signal6Default5<A,B,C,D,E,F>, QObject.Signal6Default6<A,B,C,D,E,F>, QObject.Signal7<A,B,C,D,E,F,G>, QObject.Signal7Default1<A,B,C,D,E,F,G>, QObject.Signal7Default2<A,B,C,D,E,F,G>, QObject.Signal7Default3<A,B,C,D,E,F,G>, QObject.Signal7Default4<A,B,C,D,E,F,G>, QObject.Signal7Default5<A,B,C,D,E,F,G>, QObject.Signal7Default6<A,B,C,D,E,F,G>, QObject.Signal7Default7<A,B,C,D,E,F,G>, QObject.Signal8<A,B,C,D,E,F,G,H>, QObject.Signal8Default1<A,B,C,D,E,F,G,H>, QObject.Signal8Default2<A,B,C,D,E,F,G,H>, QObject.Signal8Default3<A,B,C,D,E,F,G,H>, QObject.Signal8Default4<A,B,C,D,E,F,G,H>, QObject.Signal8Default5<A,B,C,D,E,F,G,H>, QObject.Signal8Default6<A,B,C,D,E,F,G,H>, QObject.Signal8Default7<A,B,C,D,E,F,G,H>, QObject.Signal8Default8<A,B,C,D,E,F,G,H>, QObject.Signal9<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default1<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default2<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default3<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default4<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default5<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default6<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default7<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default8<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default9<A,B,C,D,E,F,G,H,I>, QObject.SignalConfiguration
-
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QStyle()
See QStyle::QStyle()protected
QStyle(QObject.QDeclarativeConstructor constructor)
Constructor for internal use only.protected
QStyle(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Methods inherited from class io.qt.core.QObject
blockSignals, childEvent, children, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connectNotify, customEvent, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectNotify, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, event, eventFilter, findChild, findChild, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, inherits, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, qt_metacast, receivers, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, startTimer, thread, timerEvent, toString, tr, tr, tr
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QStyle
public QStyle()See QStyle::QStyle()
-
QStyle
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QStyle
Constructor for internal use only. It is not allowed to call the declarative constructor from inside Java.
-
-
Method Details
-
combinedLayoutSpacing
@QtUninvokable public final int combinedLayoutSpacing(QSizePolicy.ControlTypes controls1, QSizePolicy.ControlTypes controls2, Qt.Orientation orientation, QStyleOption option) -
combinedLayoutSpacing
@QtUninvokable public final int combinedLayoutSpacing(QSizePolicy.ControlTypes controls1, QSizePolicy.ControlTypes controls2, Qt.Orientation orientation)Overloaded function for
combinedLayoutSpacing(io.qt.widgets.QSizePolicy.ControlTypes, io.qt.widgets.QSizePolicy.ControlTypes, io.qt.core.Qt.Orientation, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
with:
option = null
widget = null
-
combinedLayoutSpacing
@QtUninvokable public final int combinedLayoutSpacing(QSizePolicy.ControlTypes controls1, QSizePolicy.ControlTypes controls2, Qt.Orientation orientation, QStyleOption option, QWidget widget) -
proxy
-
drawComplexControl
@QtUninvokable public final void drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p)Overloaded function for
drawComplexControl(io.qt.widgets.QStyle.ComplexControl, io.qt.widgets.QStyleOptionComplex, io.qt.gui.QPainter, io.qt.widgets.QWidget)
withwidget = null
. -
drawComplexControl
@QtUninvokable public abstract void drawComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPainter p, QWidget widget) -
drawControl
@QtUninvokable public final void drawControl(QStyle.ControlElement element, QStyleOption opt, QPainter p)Overloaded function for
drawControl(io.qt.widgets.QStyle.ControlElement, io.qt.widgets.QStyleOption, io.qt.gui.QPainter, io.qt.widgets.QWidget)
withw = null
. -
drawControl
@QtUninvokable public abstract void drawControl(QStyle.ControlElement element, QStyleOption opt, QPainter p, QWidget w) -
drawItemPixmap
@QtUninvokable public void drawItemPixmap(QPainter painter, QRect rect, int alignment, QPixmap pixmap) -
drawItemText
@QtUninvokable public final void drawItemText(QPainter painter, QRect rect, int flags, QPalette pal, boolean enabled, String text)Overloaded function for
drawItemText(io.qt.gui.QPainter, io.qt.core.QRect, int, io.qt.gui.QPalette, boolean, java.lang.String, io.qt.gui.QPalette.ColorRole)
withtextRole = io.qt.gui.QPalette.ColorRole.NoRole
. -
drawItemText
@QtUninvokable public void drawItemText(QPainter painter, QRect rect, int flags, QPalette pal, boolean enabled, String text, QPalette.ColorRole textRole) -
drawPrimitive
@QtUninvokable public final void drawPrimitive(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p)Overloaded function for
drawPrimitive(io.qt.widgets.QStyle.PrimitiveElement, io.qt.widgets.QStyleOption, io.qt.gui.QPainter, io.qt.widgets.QWidget)
withw = null
. -
drawPrimitive
@QtUninvokable public abstract void drawPrimitive(QStyle.PrimitiveElement pe, QStyleOption opt, QPainter p, QWidget w) -
generatedIconPixmap
@QtUninvokable public abstract QPixmap generatedIconPixmap(QIcon.Mode iconMode, QPixmap pixmap, QStyleOption opt) -
hitTestComplexControl
@QtUninvokable public final int hitTestComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPoint pt)Overloaded function for
hitTestComplexControl(io.qt.widgets.QStyle.ComplexControl, io.qt.widgets.QStyleOptionComplex, io.qt.core.QPoint, io.qt.widgets.QWidget)
withwidget = null
. -
hitTestComplexControl
@QtUninvokable public abstract int hitTestComplexControl(QStyle.ComplexControl cc, QStyleOptionComplex opt, QPoint pt, QWidget widget) -
itemPixmapRect
-
itemTextRect
@QtUninvokable public QRect itemTextRect(QFontMetrics fm, QRect r, int flags, boolean enabled, String text) -
layoutSpacing
@QtUninvokable public final int layoutSpacing(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation, QStyleOption option)Overloaded function for
layoutSpacing(io.qt.widgets.QSizePolicy.ControlType, io.qt.widgets.QSizePolicy.ControlType, io.qt.core.Qt.Orientation, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
withwidget = null
. -
layoutSpacing
@QtUninvokable public final int layoutSpacing(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation)Overloaded function for
layoutSpacing(io.qt.widgets.QSizePolicy.ControlType, io.qt.widgets.QSizePolicy.ControlType, io.qt.core.Qt.Orientation, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
with:
option = null
widget = null
-
layoutSpacing
@QtUninvokable public abstract int layoutSpacing(QSizePolicy.ControlType control1, QSizePolicy.ControlType control2, Qt.Orientation orientation, QStyleOption option, QWidget widget) -
pixelMetric
Overloaded function for
pixelMetric(io.qt.widgets.QStyle.PixelMetric, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
withwidget = null
. -
pixelMetric
Overloaded function for
pixelMetric(io.qt.widgets.QStyle.PixelMetric, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
with:
option = null
widget = null
-
pixelMetric
@QtUninvokable public abstract int pixelMetric(QStyle.PixelMetric metric, QStyleOption option, QWidget widget) -
polish
-
polish
-
polish
-
sizeFromContents
@QtUninvokable public final QSize sizeFromContents(QStyle.ContentsType ct, QStyleOption opt, QSize contentsSize)Overloaded function for
sizeFromContents(io.qt.widgets.QStyle.ContentsType, io.qt.widgets.QStyleOption, io.qt.core.QSize, io.qt.widgets.QWidget)
withw = null
. -
sizeFromContents
@QtUninvokable public abstract QSize sizeFromContents(QStyle.ContentsType ct, QStyleOption opt, QSize contentsSize, QWidget w) -
standardIcon
@QtUninvokable public final QIcon standardIcon(QStyle.StandardPixmap standardIcon, QStyleOption option)Overloaded function for
standardIcon(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
withwidget = null
. -
standardIcon
Overloaded function for
standardIcon(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
with:
option = null
widget = null
-
standardIcon
@QtUninvokable public abstract QIcon standardIcon(QStyle.StandardPixmap standardIcon, QStyleOption option, QWidget widget) -
standardPalette
-
standardPixmap
@QtUninvokable public final QPixmap standardPixmap(QStyle.StandardPixmap standardPixmap, QStyleOption opt)Overloaded function for
standardPixmap(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
withwidget = null
. -
standardPixmap
Overloaded function for
standardPixmap(io.qt.widgets.QStyle.StandardPixmap, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
with:
opt = null
widget = null
-
standardPixmap
@QtUninvokable public abstract QPixmap standardPixmap(QStyle.StandardPixmap standardPixmap, QStyleOption opt, QWidget widget) -
styleHint
@QtUninvokable public final int styleHint(QStyle.StyleHint stylehint, QStyleOption opt, QWidget widget)Overloaded function for
styleHint(io.qt.widgets.QStyle.StyleHint, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget, io.qt.widgets.QStyleHintReturn)
withreturnData = null
. -
styleHint
Overloaded function for
styleHint(io.qt.widgets.QStyle.StyleHint, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget, io.qt.widgets.QStyleHintReturn)
with:
widget = null
returnData = null
-
styleHint
Overloaded function for
styleHint(io.qt.widgets.QStyle.StyleHint, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget, io.qt.widgets.QStyleHintReturn)
with:
opt = null
widget = null
returnData = null
-
styleHint
@QtUninvokable public abstract int styleHint(QStyle.StyleHint stylehint, QStyleOption opt, QWidget widget, QStyleHintReturn returnData) -
subControlRect
@QtUninvokable public final QRect subControlRect(QStyle.ComplexControl cc, QStyleOptionComplex opt, int sc)Overloaded function for
subControlRect(io.qt.widgets.QStyle.ComplexControl, io.qt.widgets.QStyleOptionComplex, int, io.qt.widgets.QWidget)
withwidget = null
. -
subControlRect
@QtUninvokable public abstract QRect subControlRect(QStyle.ComplexControl cc, QStyleOptionComplex opt, int sc, QWidget widget) -
subElementRect
@QtUninvokable public final QRect subElementRect(QStyle.SubElement subElement, QStyleOption option)Overloaded function for
subElementRect(io.qt.widgets.QStyle.SubElement, io.qt.widgets.QStyleOption, io.qt.widgets.QWidget)
withwidget = null
. -
subElementRect
@QtUninvokable public abstract QRect subElementRect(QStyle.SubElement subElement, QStyleOption option, QWidget widget) -
unpolish
-
unpolish
-
alignedRect
public static QRect alignedRect(Qt.LayoutDirection direction, Qt.Alignment alignment, QSize size, QRect rectangle) -
sliderPositionFromValue
public static int sliderPositionFromValue(int min, int max, int val, int space)Overloaded function for
sliderPositionFromValue(int, int, int, int, boolean)
withupsideDown = false
. -
sliderPositionFromValue
public static int sliderPositionFromValue(int min, int max, int val, int space, boolean upsideDown) -
sliderValueFromPosition
public static int sliderValueFromPosition(int min, int max, int pos, int space)Overloaded function for
sliderValueFromPosition(int, int, int, int, boolean)
withupsideDown = false
. -
sliderValueFromPosition
public static int sliderValueFromPosition(int min, int max, int pos, int space, boolean upsideDown) -
visualAlignment
public static Qt.Alignment visualAlignment(Qt.LayoutDirection direction, Qt.AlignmentFlag... alignment)Overloaded function for
visualAlignment(io.qt.core.Qt.LayoutDirection, io.qt.core.Qt.Alignment)
. -
visualAlignment
-
visualPos
public static QPoint visualPos(Qt.LayoutDirection direction, QRect boundingRect, QPoint logicalPos) -
visualRect
public static QRect visualRect(Qt.LayoutDirection direction, QRect boundingRect, QRect logicalRect)
-