All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.multimedia.widgets.QVideoWidget Maven / Gradle / Ivy

There is a newer version: 6.8.1
Show newest version
package io.qt.multimedia.widgets;

import io.qt.*;


/**
 * 

Widget which presents video produced by a media object

*

Java wrapper for Qt class QVideoWidget

*/ public class QVideoWidget extends io.qt.widgets.QWidget { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QVideoWidget.class); /** *

See QVideoWidget::aspectRatioModeChanged(Qt::AspectRatioMode)

*/ @QtPropertyNotify(name="aspectRatioMode") public final @NonNull Signal1 aspectRatioModeChanged = new Signal1<>(); /** *

See QVideoWidget::fullScreenChanged(bool)

*/ @QtPropertyNotify(name="fullScreen") public final @NonNull Signal1 fullScreenChanged = new Signal1<>(); /** *

See QVideoWidget::QVideoWidget(QWidget*)

*/ public QVideoWidget(io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QVideoWidget instance, io.qt.widgets.QWidget parent); /** *

See QVideoWidget::aspectRatioMode()const

*/ @QtPropertyReader(name="aspectRatioMode") @QtUninvokable public final io.qt.core.Qt.@NonNull AspectRatioMode aspectRatioMode(){ return io.qt.core.Qt.AspectRatioMode.resolve(aspectRatioMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int aspectRatioMode_native_constfct(long __this__nativeId); /** *

See QVideoWidget::setAspectRatioMode(Qt::AspectRatioMode)

*/ @QtPropertyWriter(name="aspectRatioMode") public final void setAspectRatioMode(io.qt.core.Qt.@NonNull AspectRatioMode mode){ setAspectRatioMode_native_Qt_AspectRatioMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } private native void setAspectRatioMode_native_Qt_AspectRatioMode(long __this__nativeId, int mode); /** *

See QVideoWidget::setFullScreen(bool)

*/ @QtPropertyWriter(name="fullScreen") public final void setFullScreen(boolean fullScreen){ setFullScreen_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), fullScreen); } private native void setFullScreen_native_bool(long __this__nativeId, boolean fullScreen); /** *

See QVideoWidget::videoSink()const

*/ @SuppressWarnings({"exports"}) public final io.qt.multimedia.@Nullable QVideoSink videoSink(){ return videoSink_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native io.qt.multimedia.QVideoSink videoSink_native_constfct(long __this__nativeId); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent event){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::hideEvent(QHideEvent*)

*/ @QtUninvokable @Override protected void hideEvent(io.qt.gui.@Nullable QHideEvent event){ hideEvent_native_QHideEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void hideEvent_native_QHideEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::moveEvent(QMoveEvent*)

*/ @QtUninvokable @Override protected void moveEvent(io.qt.gui.@Nullable QMoveEvent event){ moveEvent_native_QMoveEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void moveEvent_native_QMoveEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::resizeEvent(QResizeEvent*)

*/ @QtUninvokable @Override protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent event){ resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::showEvent(QShowEvent*)

*/ @QtUninvokable @Override protected void showEvent(io.qt.gui.@Nullable QShowEvent event){ showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event)); } @QtUninvokable private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long event); /** *

See QWidget::sizeHint()const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QSize sizeHint(){ return sizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize sizeHint_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QVideoWidget(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QVideoWidget(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QVideoWidget instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QVideoWidget(io.qt.widgets.QWidget)} * with parent = null.

*/ public QVideoWidget() { this((io.qt.widgets.QWidget)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #aspectRatioMode()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull AspectRatioMode getAspectRatioMode() { return aspectRatioMode(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy