io.qt.multimedia.widgets.QVideoWidgetControl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-multimediawidgets Show documentation
Show all versions of qtjambi-multimediawidgets Show documentation
Widget classes for audio, video, radio and camera functionality.
package io.qt.multimedia.widgets;
import io.qt.*;
/**
* Media control which implements a video widget
* Java wrapper for Qt's class QVideoWidgetControl
*/
public abstract class QVideoWidgetControl extends io.qt.multimedia.QMediaControl
{
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(QVideoWidgetControl.class);
@NativeAccess
private static final class ConcreteWrapper extends QVideoWidgetControl {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public 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);
@Override
@QtUninvokable
public int brightness(){
return brightness_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int brightness_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public int contrast(){
return contrast_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int contrast_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public int hue(){
return hue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int hue_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public boolean isFullScreen(){
return isFullScreen_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isFullScreen_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public int saturation(){
return saturation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int saturation_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public void setAspectRatioMode(io.qt.core.Qt.@NonNull AspectRatioMode mode){
setAspectRatioMode_native_Qt_AspectRatioMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setAspectRatioMode_native_Qt_AspectRatioMode(long __this__nativeId, int mode);
@Override
@QtUninvokable
public void setBrightness(int brightness){
setBrightness_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), brightness);
}
@QtUninvokable
private native void setBrightness_native_int(long __this__nativeId, int brightness);
@Override
@QtUninvokable
public void setContrast(int contrast){
setContrast_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), contrast);
}
@QtUninvokable
private native void setContrast_native_int(long __this__nativeId, int contrast);
@Override
@QtUninvokable
public void setFullScreen(boolean fullScreen){
setFullScreen_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), fullScreen);
}
@QtUninvokable
private native void setFullScreen_native_bool(long __this__nativeId, boolean fullScreen);
@Override
@QtUninvokable
public void setHue(int hue){
setHue_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), hue);
}
@QtUninvokable
private native void setHue_native_int(long __this__nativeId, int hue);
@Override
@QtUninvokable
public void setSaturation(int saturation){
setSaturation_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), saturation);
}
@QtUninvokable
private native void setSaturation_native_int(long __this__nativeId, int saturation);
@Override
@QtUninvokable
public io.qt.widgets.@Nullable QWidget videoWidget(){
return videoWidget_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QWidget videoWidget_native(long __this__nativeId);
}
public final @NonNull Signal1 brightnessChanged = new Signal1<>();
public final @NonNull Signal1 contrastChanged = new Signal1<>();
public final @NonNull Signal1 fullScreenChanged = new Signal1<>();
public final @NonNull Signal1 hueChanged = new Signal1<>();
public final @NonNull Signal1 saturationChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QVideoWidgetControl(io.qt.core.QObject)}
* with parent = null
.
*/
protected QVideoWidgetControl() {
this((io.qt.core.QObject)null);
}
protected QVideoWidgetControl(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QVideoWidgetControl instance, io.qt.core.QObject parent);
@QtUninvokable
public abstract io.qt.core.Qt.@NonNull AspectRatioMode aspectRatioMode();
@QtUninvokable
private native int aspectRatioMode_native_constfct(long __this__nativeId);
@QtUninvokable
public abstract int brightness();
@QtUninvokable
private native int brightness_native_constfct(long __this__nativeId);
@QtUninvokable
public abstract int contrast();
@QtUninvokable
private native int contrast_native_constfct(long __this__nativeId);
@QtUninvokable
public abstract int hue();
@QtUninvokable
private native int hue_native_constfct(long __this__nativeId);
@QtUninvokable
public abstract boolean isFullScreen();
@QtUninvokable
private native boolean isFullScreen_native_constfct(long __this__nativeId);
@QtUninvokable
public abstract int saturation();
@QtUninvokable
private native int saturation_native_constfct(long __this__nativeId);
@QtUninvokable
public abstract void setAspectRatioMode(io.qt.core.Qt.@NonNull AspectRatioMode mode);
@QtUninvokable
private native void setAspectRatioMode_native_Qt_AspectRatioMode(long __this__nativeId, int mode);
@QtUninvokable
public abstract void setBrightness(int brightness);
@QtUninvokable
private native void setBrightness_native_int(long __this__nativeId, int brightness);
@QtUninvokable
public abstract void setContrast(int contrast);
@QtUninvokable
private native void setContrast_native_int(long __this__nativeId, int contrast);
@QtUninvokable
public abstract void setFullScreen(boolean fullScreen);
@QtUninvokable
private native void setFullScreen_native_bool(long __this__nativeId, boolean fullScreen);
@QtUninvokable
public abstract void setHue(int hue);
@QtUninvokable
private native void setHue_native_int(long __this__nativeId, int hue);
@QtUninvokable
public abstract void setSaturation(int saturation);
@QtUninvokable
private native void setSaturation_native_int(long __this__nativeId, int saturation);
@QtUninvokable
public abstract io.qt.widgets.@Nullable QWidget videoWidget();
@QtUninvokable
private native io.qt.widgets.QWidget videoWidget_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QVideoWidgetControl(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QVideoWidgetControl(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QVideoWidgetControl instance, QDeclarativeConstructor constructor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy