io.qt.widgets.QMdiArea Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Area in which MDI windows are displayed
* Java wrapper for Qt class QMdiArea
*/
public class QMdiArea extends io.qt.widgets.QAbstractScrollArea
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QMdiArea.class);
/**
* Java wrapper for Qt enum QMdiArea::AreaOption
*
* @see AreaOptions
*/
public enum AreaOption implements QtFlagEnumerator {
/**
* Representing QMdiArea:: DontMaximizeSubWindowOnActivation
*/
DontMaximizeSubWindowOnActivation(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private AreaOption(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull AreaOptions asFlags() {
return new AreaOptions(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull AreaOptions combined(@NonNull AreaOption e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull AreaOptions cleared(@NonNull AreaOption e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link AreaOptions} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull AreaOptions flags(@Nullable AreaOption @NonNull... values) {
return new AreaOptions(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull AreaOption resolve(int value) {
switch (value) {
case 1: return DontMaximizeSubWindowOnActivation;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link AreaOption}
*/
public static final class AreaOptions extends QFlags implements Comparable {
private static final long serialVersionUID = 0x60a1e66994b0821dL;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new AreaOptions where the flags in args
are set.
* @param args enum entries
*/
public AreaOptions(@Nullable AreaOption @NonNull... args){
super(args);
}
/**
* Creates a new AreaOptions with given value
.
* @param value
*/
public AreaOptions(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new AreaOptions
*/
@Override
public final @NonNull AreaOptions combined(@StrictNonNull AreaOption e){
return new AreaOptions(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull AreaOptions setFlag(@Nullable AreaOption e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final @NonNull AreaOptions setFlag(@Nullable AreaOption e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this AreaOptions.
* @return array of enum entries
*/
@Override
public final @NonNull AreaOption @NonNull[] flags(){
return super.flags(AreaOption.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull AreaOptions clone(){
return new AreaOptions(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull AreaOptions other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QMdiArea::ViewMode
*/
public enum ViewMode implements QtEnumerator {
/**
* Representing QMdiArea:: SubWindowView
*/
SubWindowView(0),
/**
* Representing QMdiArea:: TabbedView
*/
TabbedView(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private ViewMode(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull ViewMode resolve(int value) {
switch (value) {
case 0: return SubWindowView;
case 1: return TabbedView;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QMdiArea::WindowOrder
*/
public enum WindowOrder implements QtEnumerator {
/**
* Representing QMdiArea:: CreationOrder
*/
CreationOrder(0),
/**
* Representing QMdiArea:: StackingOrder
*/
StackingOrder(1),
/**
* Representing QMdiArea:: ActivationHistoryOrder
*/
ActivationHistoryOrder(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private WindowOrder(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull WindowOrder resolve(int value) {
switch (value) {
case 0: return CreationOrder;
case 1: return StackingOrder;
case 2: return ActivationHistoryOrder;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QMdiArea:: subWindowActivated(QMdiSubWindow*)
*/
public final @NonNull Signal1 subWindowActivated = new Signal1<>();
/**
* See QMdiArea:: QMdiArea(QWidget*)
*/
public QMdiArea(io.qt.widgets.@Nullable QWidget parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QMdiArea instance, io.qt.widgets.QWidget parent);
/**
* See QMdiArea:: activateNextSubWindow()
*/
public final void activateNextSubWindow(){
activateNextSubWindow_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void activateNextSubWindow_native(long __this__nativeId);
/**
* See QMdiArea:: activatePreviousSubWindow()
*/
public final void activatePreviousSubWindow(){
activatePreviousSubWindow_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void activatePreviousSubWindow_native(long __this__nativeId);
/**
* See QMdiArea:: activationOrder()const
*/
@QtPropertyReader(name="activationOrder")
@QtUninvokable
public final io.qt.widgets.QMdiArea.@NonNull WindowOrder activationOrder(){
return io.qt.widgets.QMdiArea.WindowOrder.resolve(activationOrder_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int activationOrder_native_constfct(long __this__nativeId);
/**
* See QMdiArea:: activeSubWindow()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QMdiSubWindow activeSubWindow(){
return activeSubWindow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QMdiSubWindow activeSubWindow_native_constfct(long __this__nativeId);
/**
* See QMdiArea:: addSubWindow(QWidget*, Qt::WindowFlags)
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QMdiSubWindow addSubWindow(io.qt.widgets.@Nullable QWidget widget, io.qt.core.Qt.@NonNull WindowFlags flags){
return addSubWindow_native_QWidget_ptr_Qt_WindowFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget), flags.value());
}
@QtUninvokable
private native io.qt.widgets.QMdiSubWindow addSubWindow_native_QWidget_ptr_Qt_WindowFlags(long __this__nativeId, long widget, int flags);
/**
* See QMdiArea:: background()const
*/
@QtPropertyReader(name="background")
@QtUninvokable
public final io.qt.gui.@NonNull QBrush background(){
return background_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QBrush background_native_constfct(long __this__nativeId);
/**
* See QMdiArea:: cascadeSubWindows()
*/
public final void cascadeSubWindows(){
cascadeSubWindows_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void cascadeSubWindows_native(long __this__nativeId);
/**
* See QMdiArea:: closeActiveSubWindow()
*/
public final void closeActiveSubWindow(){
closeActiveSubWindow_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void closeActiveSubWindow_native(long __this__nativeId);
/**
* See QMdiArea:: closeAllSubWindows()
*/
public final void closeAllSubWindows(){
closeAllSubWindows_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void closeAllSubWindows_native(long __this__nativeId);
/**
* See QMdiArea:: currentSubWindow()const
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QMdiSubWindow currentSubWindow(){
return currentSubWindow_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.widgets.QMdiSubWindow currentSubWindow_native_constfct(long __this__nativeId);
/**
* See QMdiArea:: documentMode()const
*/
@QtPropertyReader(name="documentMode")
@QtUninvokable
public final boolean documentMode(){
return documentMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean documentMode_native_constfct(long __this__nativeId);
/**
* See QMdiArea:: removeSubWindow(QWidget*)
*/
@QtUninvokable
public final void removeSubWindow(io.qt.widgets.@Nullable QWidget widget){
removeSubWindow_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget));
}
@QtUninvokable
private native void removeSubWindow_native_QWidget_ptr(long __this__nativeId, long widget);
/**
* See QMdiArea:: setActivationOrder(QMdiArea::WindowOrder)
*/
@QtPropertyWriter(name="activationOrder")
@QtUninvokable
public final void setActivationOrder(io.qt.widgets.QMdiArea.@NonNull WindowOrder order){
setActivationOrder_native_QMdiArea_WindowOrder(QtJambi_LibraryUtilities.internal.nativeId(this), order.value());
}
@QtUninvokable
private native void setActivationOrder_native_QMdiArea_WindowOrder(long __this__nativeId, int order);
/**
* See QMdiArea:: setActiveSubWindow(QMdiSubWindow*)
*/
public final void setActiveSubWindow(io.qt.widgets.@Nullable QMdiSubWindow window){
setActiveSubWindow_native_QMdiSubWindow_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(window));
}
private native void setActiveSubWindow_native_QMdiSubWindow_ptr(long __this__nativeId, long window);
/**
* See QMdiArea:: setBackground(QBrush)
*/
@QtPropertyWriter(name="background")
@QtUninvokable
public final void setBackground(io.qt.gui.@NonNull QBrush background){
setBackground_native_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(background));
}
@QtUninvokable
private native void setBackground_native_cref_QBrush(long __this__nativeId, long background);
/**
* See QMdiArea:: setDocumentMode(bool)
*/
@QtPropertyWriter(name="documentMode")
@QtUninvokable
public final void setDocumentMode(boolean enabled){
setDocumentMode_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setDocumentMode_native_bool(long __this__nativeId, boolean enabled);
/**
* See QMdiArea:: setOption(QMdiArea::AreaOption, bool)
*/
@QtUninvokable
public final void setOption(io.qt.widgets.QMdiArea.@NonNull AreaOption option, boolean on){
setOption_native_QMdiArea_AreaOption_bool(QtJambi_LibraryUtilities.internal.nativeId(this), option.value(), on);
}
@QtUninvokable
private native void setOption_native_QMdiArea_AreaOption_bool(long __this__nativeId, int option, boolean on);
/**
* See QMdiArea:: setTabPosition(QTabWidget::TabPosition)
*/
@QtPropertyWriter(name="tabPosition")
@QtUninvokable
public final void setTabPosition(io.qt.widgets.QTabWidget.@NonNull TabPosition position){
setTabPosition_native_QTabWidget_TabPosition(QtJambi_LibraryUtilities.internal.nativeId(this), position.value());
}
@QtUninvokable
private native void setTabPosition_native_QTabWidget_TabPosition(long __this__nativeId, int position);
/**
* See QMdiArea:: setTabShape(QTabWidget::TabShape)
*/
@QtPropertyWriter(name="tabShape")
@QtUninvokable
public final void setTabShape(io.qt.widgets.QTabWidget.@NonNull TabShape shape){
setTabShape_native_QTabWidget_TabShape(QtJambi_LibraryUtilities.internal.nativeId(this), shape.value());
}
@QtUninvokable
private native void setTabShape_native_QTabWidget_TabShape(long __this__nativeId, int shape);
/**
* See QMdiArea:: setTabsClosable(bool)
*/
@QtPropertyWriter(name="tabsClosable")
@QtUninvokable
public final void setTabsClosable(boolean closable){
setTabsClosable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), closable);
}
@QtUninvokable
private native void setTabsClosable_native_bool(long __this__nativeId, boolean closable);
/**
* See QMdiArea:: setTabsMovable(bool)
*/
@QtPropertyWriter(name="tabsMovable")
@QtUninvokable
public final void setTabsMovable(boolean movable){
setTabsMovable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), movable);
}
@QtUninvokable
private native void setTabsMovable_native_bool(long __this__nativeId, boolean movable);
/**
* See QMdiArea:: setViewMode(QMdiArea::ViewMode)
*/
@QtPropertyWriter(name="viewMode")
@QtUninvokable
public final void setViewMode(io.qt.widgets.QMdiArea.@NonNull ViewMode mode){
setViewMode_native_QMdiArea_ViewMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setViewMode_native_QMdiArea_ViewMode(long __this__nativeId, int mode);
/**
* See QMdiArea:: subWindowList(QMdiArea::WindowOrder)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList subWindowList(io.qt.widgets.QMdiArea.@NonNull WindowOrder order){
return subWindowList_native_QMdiArea_WindowOrder_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), order.value());
}
@QtUninvokable
private native io.qt.core.QList subWindowList_native_QMdiArea_WindowOrder_constfct(long __this__nativeId, int order);
/**
* See QMdiArea:: tabPosition()const
*/
@QtPropertyReader(name="tabPosition")
@QtUninvokable
public final io.qt.widgets.QTabWidget.@NonNull TabPosition tabPosition(){
return io.qt.widgets.QTabWidget.TabPosition.resolve(tabPosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int tabPosition_native_constfct(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="tabShape")
@QtUninvokable
public final io.qt.widgets.QTabWidget.@NonNull TabShape tabShape(){
return io.qt.widgets.QTabWidget.TabShape.resolve(tabShape_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int tabShape_native_constfct(long __this__nativeId);
/**
* See QMdiArea:: tabsClosable()const
*/
@QtPropertyReader(name="tabsClosable")
@QtUninvokable
public final boolean tabsClosable(){
return tabsClosable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean tabsClosable_native_constfct(long __this__nativeId);
/**
* See QMdiArea:: tabsMovable()const
*/
@QtPropertyReader(name="tabsMovable")
@QtUninvokable
public final boolean tabsMovable(){
return tabsMovable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean tabsMovable_native_constfct(long __this__nativeId);
/**
* See QMdiArea:: testOption(QMdiArea::AreaOption)const
*/
@QtUninvokable
public final boolean testOption(io.qt.widgets.QMdiArea.@NonNull AreaOption opton){
return testOption_native_QMdiArea_AreaOption_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), opton.value());
}
@QtUninvokable
private native boolean testOption_native_QMdiArea_AreaOption_constfct(long __this__nativeId, int opton);
/**
* See QMdiArea:: tileSubWindows()
*/
public final void tileSubWindows(){
tileSubWindows_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native void tileSubWindows_native(long __this__nativeId);
/**
*
*/
@QtPropertyReader(name="viewMode")
@QtUninvokable
public final io.qt.widgets.QMdiArea.@NonNull ViewMode viewMode(){
return io.qt.widgets.QMdiArea.ViewMode.resolve(viewMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int viewMode_native_constfct(long __this__nativeId);
/**
* See QObject:: childEvent(QChildEvent*)
*/
@QtUninvokable
@Override
protected void childEvent(io.qt.core.@Nullable QChildEvent childEvent){
childEvent_native_QChildEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(childEvent));
}
@QtUninvokable
private native void childEvent_native_QChildEvent_ptr(long __this__nativeId, long childEvent);
/**
*
*/
@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 QObject:: eventFilter(QObject*, QEvent*)
*/
@QtUninvokable
@Override
public boolean eventFilter(io.qt.core.@Nullable QObject object, io.qt.core.@Nullable QEvent event){
return eventFilter_native_QObject_ptr_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(object), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean eventFilter_native_QObject_ptr_QEvent_ptr(long __this__nativeId, long object, long event);
/**
* See QWidget:: minimumSizeHint()const
*/
@QtUninvokable
@Override
public io.qt.core.@NonNull QSize minimumSizeHint(){
return minimumSizeHint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize minimumSizeHint_native_constfct(long __this__nativeId);
/**
* See QWidget:: paintEvent(QPaintEvent*)
*/
@QtUninvokable
@Override
protected void paintEvent(io.qt.gui.@Nullable QPaintEvent paintEvent){
paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(paintEvent));
}
@QtUninvokable
private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long paintEvent);
/**
* See QWidget:: resizeEvent(QResizeEvent*)
*/
@QtUninvokable
@Override
protected void resizeEvent(io.qt.gui.@Nullable QResizeEvent resizeEvent){
resizeEvent_native_QResizeEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resizeEvent));
}
@QtUninvokable
private native void resizeEvent_native_QResizeEvent_ptr(long __this__nativeId, long resizeEvent);
/**
* See QAbstractScrollArea:: scrollContentsBy(int, int)
*/
@QtUninvokable
@Override
protected void scrollContentsBy(int dx, int dy){
scrollContentsBy_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy);
}
@QtUninvokable
private native void scrollContentsBy_native_int_int(long __this__nativeId, int dx, int dy);
/**
* See QAbstractScrollArea:: setupViewport(QWidget*)
*/
@Override
public void setupViewport(io.qt.widgets.@Nullable QWidget viewport){
setupViewport_native_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(viewport));
}
private native void setupViewport_native_QWidget_ptr(long __this__nativeId, long viewport);
/**
* See QWidget:: showEvent(QShowEvent*)
*/
@QtUninvokable
@Override
protected void showEvent(io.qt.gui.@Nullable QShowEvent showEvent){
showEvent_native_QShowEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(showEvent));
}
@QtUninvokable
private native void showEvent_native_QShowEvent_ptr(long __this__nativeId, long showEvent);
/**
*
*/
@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);
/**
* See QObject:: timerEvent(QTimerEvent*)
*/
@QtUninvokable
@Override
protected void timerEvent(io.qt.core.@Nullable QTimerEvent timerEvent){
timerEvent_native_QTimerEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(timerEvent));
}
@QtUninvokable
private native void timerEvent_native_QTimerEvent_ptr(long __this__nativeId, long timerEvent);
/**
* See QAbstractScrollArea:: viewportEvent(QEvent*)
*/
@QtUninvokable
@Override
protected boolean viewportEvent(io.qt.core.@Nullable QEvent event){
return viewportEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(event));
}
@QtUninvokable
private native boolean viewportEvent_native_QEvent_ptr(long __this__nativeId, long event);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QMdiArea(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QMdiArea(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QMdiArea instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QMdiArea(io.qt.widgets.QWidget)}
* with parent = null
.
*/
public QMdiArea() {
this((io.qt.widgets.QWidget)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #activationOrder()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QMdiArea.@NonNull WindowOrder getActivationOrder() {
return activationOrder();
}
/**
* Overloaded function for {@link #addSubWindow(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}
* with flags = new io.qt.core.Qt.WindowFlags(0)
.
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QMdiSubWindow addSubWindow(io.qt.widgets.@Nullable QWidget widget) {
return addSubWindow(widget, new io.qt.core.Qt.WindowFlags(0));
}
/**
* Overloaded function for {@link #addSubWindow(io.qt.widgets.QWidget, io.qt.core.Qt.WindowFlags)}.
*/
@QtUninvokable
public final io.qt.widgets.@Nullable QMdiSubWindow addSubWindow(io.qt.widgets.@Nullable QWidget widget, io.qt.core.Qt.@NonNull WindowType @NonNull... flags) {
return addSubWindow(widget, new io.qt.core.Qt.WindowFlags(flags));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #background()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QBrush getBackground() {
return background();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #documentMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getDocumentMode() {
return documentMode();
}
/**
* Overloaded function for {@link #setBackground(io.qt.gui.QBrush)}.
*/
@QtUninvokable
public final void setBackground(io.qt.core.Qt.@NonNull BrushStyle background) {
setBackground(new io.qt.gui.QBrush(background));
}
/**
* Overloaded function for {@link #setBackground(io.qt.gui.QBrush)}.
*/
@QtUninvokable
public final void setBackground(io.qt.gui.@NonNull QColor background) {
setBackground(new io.qt.gui.QBrush(background));
}
/**
* Overloaded function for {@link #setBackground(io.qt.gui.QBrush)}.
*/
@QtUninvokable
public final void setBackground(io.qt.core.Qt.@NonNull GlobalColor background) {
setBackground(new io.qt.gui.QBrush(background));
}
/**
* Overloaded function for {@link #setBackground(io.qt.gui.QBrush)}.
*/
@QtUninvokable
public final void setBackground(io.qt.gui.@NonNull QPixmap background) {
setBackground(new io.qt.gui.QBrush(background));
}
/**
* Overloaded function for {@link #setBackground(io.qt.gui.QBrush)}.
*/
@QtUninvokable
public final void setBackground(io.qt.gui.@NonNull QImage background) {
setBackground(new io.qt.gui.QBrush(background));
}
/**
* Overloaded function for {@link #setBackground(io.qt.gui.QBrush)}.
*/
@QtUninvokable
public final void setBackground(io.qt.gui.@NonNull QGradient background) {
setBackground(new io.qt.gui.QBrush(background));
}
/**
* Overloaded function for {@link #setOption(io.qt.widgets.QMdiArea.AreaOption, boolean)}
* with on = true
.
*/
@QtUninvokable
public final void setOption(io.qt.widgets.QMdiArea.@NonNull AreaOption option) {
setOption(option, (boolean)true);
}
/**
* Overloaded function for {@link #subWindowList(io.qt.widgets.QMdiArea.WindowOrder)}
* with order = io.qt.widgets.QMdiArea.WindowOrder.CreationOrder
.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList subWindowList() {
return subWindowList(io.qt.widgets.QMdiArea.WindowOrder.CreationOrder);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #tabPosition()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QTabWidget.@NonNull TabPosition getTabPosition() {
return tabPosition();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #tabShape()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QTabWidget.@NonNull TabShape getTabShape() {
return tabShape();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #tabsClosable()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getTabsClosable() {
return tabsClosable();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #tabsMovable()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getTabsMovable() {
return tabsMovable();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #viewMode()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.widgets.QMdiArea.@NonNull ViewMode getViewMode() {
return viewMode();
}
}