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

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

package io.qt.multimedia.widgets;


/**
 * 

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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QVideoWidget.class); /** *

See QVideoWidget::aspectRatioModeChanged(Qt::AspectRatioMode)

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

See QVideoWidget::fullScreenChanged(bool)

*/ @io.qt.QtPropertyNotify(name="fullScreen") public final Signal1<@io.qt.QtPrimitiveType Boolean> fullScreenChanged = new Signal1<>(); /** *

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

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

See QVideoWidget::QVideoWidget(QWidget*)

*/ public QVideoWidget(io.qt.widgets.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

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

See QVideoWidget::setAspectRatioMode(Qt::AspectRatioMode)

*/ @io.qt.QtPropertyWriter(name="aspectRatioMode") public final void setAspectRatioMode(io.qt.core.Qt.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)

*/ @io.qt.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); @SuppressWarnings({"exports"}) public final io.qt.multimedia.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*)

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

See QWidget::hideEvent(QHideEvent*)

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

See QWidget::moveEvent(QMoveEvent*)

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

See QWidget::resizeEvent(QResizeEvent*)

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

See QWidget::showEvent(QShowEvent*)

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

See QWidget::sizeHint()const

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy