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

io.qt.widgets.QStyleOptionTitleBar Maven / Gradle / Ivy

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


/**
 * 

Used to describe the parameters for drawing a title bar

*

Java wrapper for Qt class QStyleOptionTitleBar

*/ public class QStyleOptionTitleBar extends io.qt.widgets.QStyleOptionComplex implements java.lang.Cloneable { /** *

See QStyleOptionTitleBar::QStyleOptionTitleBar()

*/ public QStyleOptionTitleBar(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QStyleOptionTitleBar instance); /** *

See QStyleOptionTitleBar::QStyleOptionTitleBar(QStyleOptionTitleBar)

*/ public QStyleOptionTitleBar(io.qt.widgets.QStyleOptionTitleBar other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStyleOptionTitleBar instance, io.qt.widgets.QStyleOptionTitleBar other); @io.qt.QtUninvokable public final void set(io.qt.widgets.QStyleOptionTitleBar arg__1){ set_native_cref_QStyleOptionTitleBar(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @io.qt.QtUninvokable private native void set_native_cref_QStyleOptionTitleBar(long __this__nativeId, long arg__1); /** *

The icon for the title bar

*

See QStyleOptionTitleBar::icon

*/ @io.qt.QtUninvokable public final void setIcon(io.qt.gui.QIcon icon){ setIcon_native_cref_QIcon(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(icon)); } @io.qt.QtUninvokable private native void setIcon_native_cref_QIcon(long __this__nativeId, long icon); /** *

The icon for the title bar

*

See QStyleOptionTitleBar::icon

*/ @io.qt.QtUninvokable public final io.qt.gui.QIcon icon(){ return icon_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QIcon icon_native(long __this__nativeId); /** *

The text of the title bar

*

See QStyleOptionTitleBar::text

*/ @io.qt.QtUninvokable public final void setText(java.lang.String text){ setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @io.qt.QtUninvokable private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text); /** *

The text of the title bar

*

See QStyleOptionTitleBar::text

*/ @io.qt.QtUninvokable public final java.lang.String text(){ return text_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String text_native(long __this__nativeId); /** *

Overloaded function for {@link #setTitleBarFlags(io.qt.core.Qt.WindowFlags)}.

*/ @io.qt.QtUninvokable public final void setTitleBarFlags(io.qt.core.Qt.WindowType ... titleBarFlags){ setTitleBarFlags(new io.qt.core.Qt.WindowFlags(titleBarFlags)); } /** *

The widget flags for the title bar

*

See QStyleOptionTitleBar::titleBarFlags

*/ @io.qt.QtUninvokable public final void setTitleBarFlags(io.qt.core.Qt.WindowFlags titleBarFlags){ setTitleBarFlags_native_cref_QFlags_Qt_WindowType_(QtJambi_LibraryUtilities.internal.nativeId(this), titleBarFlags.value()); } @io.qt.QtUninvokable private native void setTitleBarFlags_native_cref_QFlags_Qt_WindowType_(long __this__nativeId, int titleBarFlags); /** *

The widget flags for the title bar

*

See QStyleOptionTitleBar::titleBarFlags

*/ @io.qt.QtUninvokable public final io.qt.core.Qt.WindowFlags titleBarFlags(){ return new io.qt.core.Qt.WindowFlags(titleBarFlags_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int titleBarFlags_native(long __this__nativeId); /** *

The state of the title bar

*

See QStyleOptionTitleBar::titleBarState

*/ @io.qt.QtUninvokable public final void setTitleBarState(int titleBarState){ setTitleBarState_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), titleBarState); } @io.qt.QtUninvokable private native void setTitleBarState_native_int(long __this__nativeId, int titleBarState); /** *

The state of the title bar

*

See QStyleOptionTitleBar::titleBarState

*/ @io.qt.QtUninvokable public final int titleBarState(){ return titleBarState_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int titleBarState_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QStyleOptionTitleBar(QPrivateConstructor p) { super(p); } @Override public QStyleOptionTitleBar clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QStyleOptionTitleBar clone_native(long __this_nativeId); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy