io.qt.activex.QAxSelect Maven / Gradle / Ivy
package io.qt.activex;
import io.qt.*;
/**
* Selection dialog for registered COM components
* Java wrapper for Qt class QAxSelect
*/
public class QAxSelect extends io.qt.widgets.QDialog
{
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(QAxSelect.class);
/**
* Java wrapper for Qt enum QAxSelect::SandboxingLevel
*/
@QtUnlistedEnum
public enum SandboxingLevel implements QtEnumerator {
/**
* Representing QAxSelect:: SandboxingNone
*/
SandboxingNone(0),
/**
* Representing QAxSelect:: SandboxingProcess
*/
SandboxingProcess(1),
/**
* Representing QAxSelect:: SandboxingLowIntegrity
*/
SandboxingLowIntegrity(2),
/**
* Representing QAxSelect:: SandboxingAppContainer
*/
SandboxingAppContainer(3);
static {
QtJambi_LibraryUtilities.initialize();
}
private SandboxingLevel(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull SandboxingLevel resolve(int value) {
switch (value) {
case 0: return SandboxingNone;
case 1: return SandboxingProcess;
case 2: return SandboxingLowIntegrity;
case 3: return SandboxingAppContainer;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QAxSelect:: QAxSelect(QWidget*, Qt::WindowFlags)
* @param parent
* @param flags
*/
public QAxSelect(io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowFlags flags){
super((QPrivateConstructor)null);
initialize_native(this, parent, flags);
}
private native static void initialize_native(QAxSelect instance, io.qt.widgets.QWidget parent, io.qt.core.Qt.WindowFlags flags);
/**
*
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String clsid(){
return clsid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String clsid_native_constfct(long __this__nativeId);
/**
* See QAxSelect:: sandboxingLevel()const
* @return
*/
@QtUninvokable
public final io.qt.activex.QAxSelect.@NonNull SandboxingLevel sandboxingLevel(){
return io.qt.activex.QAxSelect.SandboxingLevel.resolve(sandboxingLevel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int sandboxingLevel_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAxSelect(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QAxSelect(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QAxSelect instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QAxSelect(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with flags = new io.qt.core.Qt.WindowFlags(0)
.
*/
public QAxSelect(io.qt.widgets.@Nullable QWidget parent) {
this(parent, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded constructor for {@link #QAxSelect(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with:
* parent = null
* flags = new io.qt.core.Qt.WindowFlags(0)
*
*/
public QAxSelect() {
this((io.qt.widgets.QWidget)null, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded constructor for {@link #QAxSelect(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.
*/
public QAxSelect(io.qt.widgets.@Nullable QWidget parent, io.qt.core.Qt.@NonNull WindowType @NonNull... flags) {
this(parent, new io.qt.core.Qt.WindowFlags(flags));
}
}