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

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

The newest version!
package io.qt.widgets;


/**
 * 

Used to describe the parameter for drawing a combobox

*

Java wrapper for Qt class QStyleOptionComboBox

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

See QStyleOptionComboBox::QStyleOptionComboBox()

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

See QStyleOptionComboBox::QStyleOptionComboBox(QStyleOptionComboBox)

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

The icon for the current item of the combo box

*

See QStyleOptionComboBox::currentIcon

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

The icon for the current item of the combo box

*

See QStyleOptionComboBox::currentIcon

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

The text for the current item of the combo box

*

See QStyleOptionComboBox::currentText

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

The text for the current item of the combo box

*

See QStyleOptionComboBox::currentText

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

Whether or not the combobox is editable or not

*

See QStyleOptionComboBox::editable

*/ @io.qt.QtUninvokable public final void setEditable(boolean editable){ setEditable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), editable); } @io.qt.QtUninvokable private native void setEditable_native_bool(long __this__nativeId, boolean editable); /** *

Whether or not the combobox is editable or not

*

See QStyleOptionComboBox::editable

*/ @io.qt.QtUninvokable public final boolean editable(){ return editable_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean editable_native(long __this__nativeId); /** *

Whether the combo box has a frame

*

See QStyleOptionComboBox::frame

*/ @io.qt.QtUninvokable public final void setFrame(boolean frame){ setFrame_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), frame); } @io.qt.QtUninvokable private native void setFrame_native_bool(long __this__nativeId, boolean frame); /** *

Whether the combo box has a frame

*

See QStyleOptionComboBox::frame

*/ @io.qt.QtUninvokable public final boolean frame(){ return frame_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean frame_native(long __this__nativeId); /** *

The icon size for the current item of the combo box

*

See QStyleOptionComboBox::iconSize

*/ @io.qt.QtUninvokable public final void setIconSize(io.qt.core.QSize iconSize){ setIconSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(iconSize)); } @io.qt.QtUninvokable private native void setIconSize_native_cref_QSize(long __this__nativeId, long iconSize); /** *

The icon size for the current item of the combo box

*

See QStyleOptionComboBox::iconSize

*/ @io.qt.QtUninvokable public final io.qt.core.QSize iconSize(){ return iconSize_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QSize iconSize_native(long __this__nativeId); /** *

The popup rectangle for the combobox

*

See QStyleOptionComboBox::popupRect

*/ @io.qt.QtUninvokable public final void setPopupRect(io.qt.core.QRect popupRect){ setPopupRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(popupRect)); } @io.qt.QtUninvokable private native void setPopupRect_native_cref_QRect(long __this__nativeId, long popupRect); /** *

The popup rectangle for the combobox

*

See QStyleOptionComboBox::popupRect

*/ @io.qt.QtUninvokable public final io.qt.core.QRect popupRect(){ return popupRect_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect popupRect_native(long __this__nativeId); /** *

Overloaded function for {@link #setTextAlignment(io.qt.core.Qt.Alignment)}.

*/ @io.qt.QtUninvokable public final void setTextAlignment(io.qt.core.Qt.AlignmentFlag ... textAlignment){ setTextAlignment(new io.qt.core.Qt.Alignment(textAlignment)); } /** *

The alignment of the current text in the combo box

*

See QStyleOptionComboBox::textAlignment

*/ @io.qt.QtUninvokable public final void setTextAlignment(io.qt.core.Qt.Alignment textAlignment){ setTextAlignment_native_cref_QFlags_Qt_AlignmentFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), textAlignment.value()); } @io.qt.QtUninvokable private native void setTextAlignment_native_cref_QFlags_Qt_AlignmentFlag_(long __this__nativeId, int textAlignment); /** *

The alignment of the current text in the combo box

*

See QStyleOptionComboBox::textAlignment

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy