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

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

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

import io.qt.*;


/**
 * 

Used to describe the parameters used to draw an item in a view widget

*

Java wrapper for Qt class QStyleOptionViewItem

*/ public class QStyleOptionViewItem extends io.qt.widgets.QStyleOption implements java.lang.Cloneable { @QtPropertyMember(enabled=false) private Object __rcWidget = null; /** *

Java wrapper for Qt enum QStyleOptionViewItem::Position

*/ public enum Position implements QtEnumerator { /** *

Representing QStyleOptionViewItem::Left

*/ Left(0), /** *

Representing QStyleOptionViewItem::Right

*/ Right(1), /** *

Representing QStyleOptionViewItem::Top

*/ Top(2), /** *

Representing QStyleOptionViewItem::Bottom

*/ Bottom(3); static { QtJambi_LibraryUtilities.initialize(); } private Position(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 Position resolve(int value) { switch (value) { case 0: return Left; case 1: return Right; case 2: return Top; case 3: return Bottom; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QStyleOptionViewItem::ViewItemFeature

* * @see ViewItemFeatures */ public enum ViewItemFeature implements QtFlagEnumerator { /** *

Representing QStyleOptionViewItem::None

*/ None(0), /** *

Representing QStyleOptionViewItem::WrapText

*/ WrapText(1), /** *

Representing QStyleOptionViewItem::Alternate

*/ Alternate(2), /** *

Representing QStyleOptionViewItem::HasCheckIndicator

*/ HasCheckIndicator(4), /** *

Representing QStyleOptionViewItem::HasDisplay

*/ HasDisplay(8), /** *

Representing QStyleOptionViewItem::HasDecoration

*/ HasDecoration(16); static { QtJambi_LibraryUtilities.initialize(); } private ViewItemFeature(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull ViewItemFeatures asFlags() { return new ViewItemFeatures(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull ViewItemFeatures combined(@NonNull ViewItemFeature 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 ViewItemFeatures cleared(@NonNull ViewItemFeature e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link ViewItemFeatures} from the entries. * @param values entries * @return new flag */ public static @NonNull ViewItemFeatures flags(@Nullable ViewItemFeature @NonNull... values) { return new ViewItemFeatures(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ViewItemFeature resolve(int value) { switch (value) { case 0: return None; case 1: return WrapText; case 2: return Alternate; case 4: return HasCheckIndicator; case 8: return HasDisplay; case 16: return HasDecoration; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link ViewItemFeature} */ public static final class ViewItemFeatures extends QFlags implements Comparable { private static final long serialVersionUID = 0x3c9059d8c8dcac85L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new ViewItemFeatures where the flags in args are set. * @param args enum entries */ public ViewItemFeatures(@Nullable ViewItemFeature @NonNull... args){ super(args); } /** * Creates a new ViewItemFeatures with given value. * @param value */ public ViewItemFeatures(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new ViewItemFeatures */ @Override public final @NonNull ViewItemFeatures combined(@StrictNonNull ViewItemFeature e){ return new ViewItemFeatures(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull ViewItemFeatures setFlag(@Nullable ViewItemFeature 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 ViewItemFeatures setFlag(@Nullable ViewItemFeature 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 ViewItemFeatures. * @return array of enum entries */ @Override public final @NonNull ViewItemFeature @NonNull[] flags(){ return super.flags(ViewItemFeature.values()); } /** * {@inheritDoc} */ @Override public final @NonNull ViewItemFeatures clone(){ return new ViewItemFeatures(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull ViewItemFeatures other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QStyleOptionViewItem::ViewItemPosition

*/ public enum ViewItemPosition implements QtEnumerator { /** *

Representing QStyleOptionViewItem::Invalid

*/ Invalid(0), /** *

Representing QStyleOptionViewItem::Beginning

*/ Beginning(1), /** *

Representing QStyleOptionViewItem::Middle

*/ Middle(2), /** *

Representing QStyleOptionViewItem::End

*/ End(3), /** *

Representing QStyleOptionViewItem::OnlyOne

*/ OnlyOne(4); static { QtJambi_LibraryUtilities.initialize(); } private ViewItemPosition(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 ViewItemPosition resolve(int value) { switch (value) { case 0: return Invalid; case 1: return Beginning; case 2: return Middle; case 3: return End; case 4: return OnlyOne; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QStyleOptionViewItem::QStyleOptionViewItem()

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

See QStyleOptionViewItem::QStyleOptionViewItem(QStyleOptionViewItem)

*/ public QStyleOptionViewItem(io.qt.widgets.@NonNull QStyleOptionViewItem other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QStyleOptionViewItem instance, io.qt.widgets.QStyleOptionViewItem other); /** *

See QStyleOptionViewItem::operator=(QStyleOptionViewItem)

*/ @QtUninvokable public final void assign(io.qt.widgets.@NonNull QStyleOptionViewItem arg__1){ assign_native_cref_QStyleOptionViewItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QStyleOptionViewItem(long __this__nativeId, long arg__1); /** *

See QStyleOptionViewItem::backgroundBrush

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QBrush backgroundBrush){ setBackgroundBrush_native_cref_QBrush(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(backgroundBrush)); } @QtUninvokable private native void setBackgroundBrush_native_cref_QBrush(long __this__nativeId, long backgroundBrush); /** *

See QStyleOptionViewItem::backgroundBrush

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush backgroundBrush(){ return backgroundBrush_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QBrush backgroundBrush_native(long __this__nativeId); /** *

See QStyleOptionViewItem::checkState

*/ @QtUninvokable public final void setCheckState(io.qt.core.Qt.@NonNull CheckState checkState){ setCheckState_native_cref_Qt_CheckState(QtJambi_LibraryUtilities.internal.nativeId(this), checkState.value()); } @QtUninvokable private native void setCheckState_native_cref_Qt_CheckState(long __this__nativeId, int checkState); /** *

See QStyleOptionViewItem::checkState

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull CheckState checkState(){ return io.qt.core.Qt.CheckState.resolve(checkState_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int checkState_native(long __this__nativeId); /** *

The alignment of the decoration for the item

*

See QStyleOptionViewItem::decorationAlignment

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

The alignment of the decoration for the item

*

See QStyleOptionViewItem::decorationAlignment

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment decorationAlignment(){ return new io.qt.core.Qt.Alignment(decorationAlignment_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int decorationAlignment_native(long __this__nativeId); /** *

The position of the decoration for the item

*

See QStyleOptionViewItem::decorationPosition

*/ @QtUninvokable public final void setDecorationPosition(io.qt.widgets.QStyleOptionViewItem.@NonNull Position decorationPosition){ setDecorationPosition_native_cref_QStyleOptionViewItem_Position(QtJambi_LibraryUtilities.internal.nativeId(this), decorationPosition.value()); } @QtUninvokable private native void setDecorationPosition_native_cref_QStyleOptionViewItem_Position(long __this__nativeId, int decorationPosition); /** *

The position of the decoration for the item

*

See QStyleOptionViewItem::decorationPosition

*/ @QtUninvokable public final io.qt.widgets.QStyleOptionViewItem.@NonNull Position decorationPosition(){ return io.qt.widgets.QStyleOptionViewItem.Position.resolve(decorationPosition_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int decorationPosition_native(long __this__nativeId); /** *

The size of the decoration for the item

*

See QStyleOptionViewItem::decorationSize

*/ @QtUninvokable public final void setDecorationSize(io.qt.core.@NonNull QSize decorationSize){ setDecorationSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(decorationSize)); } @QtUninvokable private native void setDecorationSize_native_cref_QSize(long __this__nativeId, long decorationSize); /** *

The size of the decoration for the item

*

See QStyleOptionViewItem::decorationSize

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

The alignment of the display value for the item

*

See QStyleOptionViewItem::displayAlignment

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

The alignment of the display value for the item

*

See QStyleOptionViewItem::displayAlignment

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment displayAlignment(){ return new io.qt.core.Qt.Alignment(displayAlignment_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int displayAlignment_native(long __this__nativeId); /** *

Bitwise OR of the features that describe this view item

*

See QStyleOptionViewItem::features

*/ @QtUninvokable public final void setFeatures(io.qt.widgets.QStyleOptionViewItem.@NonNull ViewItemFeatures features){ setFeatures_native_cref_QStyleOptionViewItem_ViewItemFeatures(QtJambi_LibraryUtilities.internal.nativeId(this), features.value()); } @QtUninvokable private native void setFeatures_native_cref_QStyleOptionViewItem_ViewItemFeatures(long __this__nativeId, int features); /** *

Bitwise OR of the features that describe this view item

*

See QStyleOptionViewItem::features

*/ @QtUninvokable public final io.qt.widgets.QStyleOptionViewItem.@NonNull ViewItemFeatures features(){ return new io.qt.widgets.QStyleOptionViewItem.ViewItemFeatures(features_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int features_native(long __this__nativeId); /** *

The font used for the item

*

See QStyleOptionViewItem::font

*/ @QtUninvokable public final void setFont(io.qt.gui.@NonNull QFont font){ setFont_native_cref_QFont(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(font)); } @QtUninvokable private native void setFont_native_cref_QFont(long __this__nativeId, long font); /** *

The font used for the item

*

See QStyleOptionViewItem::font

*/ @QtUninvokable public final io.qt.gui.@NonNull QFont font(){ return font_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QFont font_native(long __this__nativeId); /** *

See QStyleOptionViewItem::icon

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

See QStyleOptionViewItem::icon

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

See QStyleOptionViewItem::index

*/ @QtUninvokable public final void setIndex(io.qt.core.@NonNull QModelIndex index){ setIndex_native_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native void setIndex_native_cref_QModelIndex(long __this__nativeId, long index); /** *

See QStyleOptionViewItem::index

*/ @QtUninvokable public final io.qt.core.@NonNull QModelIndex index(){ return index_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QModelIndex index_native(long __this__nativeId); /** *

See QStyleOptionViewItem::locale

*/ @QtUninvokable public final void setLocale(io.qt.core.@NonNull QLocale locale){ setLocale_native_cref_QLocale(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(locale)); } @QtUninvokable private native void setLocale_native_cref_QLocale(long __this__nativeId, long locale); /** *

See QStyleOptionViewItem::locale

*/ @QtUninvokable public final io.qt.core.@NonNull QLocale locale(){ return locale_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QLocale locale_native(long __this__nativeId); /** *

Whether the decoration should be highlighted on selected items

*

See QStyleOptionViewItem::showDecorationSelected

*/ @QtUninvokable public final void setShowDecorationSelected(boolean showDecorationSelected){ setShowDecorationSelected_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), showDecorationSelected); } @QtUninvokable private native void setShowDecorationSelected_native_bool(long __this__nativeId, boolean showDecorationSelected); /** *

Whether the decoration should be highlighted on selected items

*

See QStyleOptionViewItem::showDecorationSelected

*/ @QtUninvokable public final boolean showDecorationSelected(){ return showDecorationSelected_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean showDecorationSelected_native(long __this__nativeId); /** *

See QStyleOptionViewItem::text

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

See QStyleOptionViewItem::text

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

Where ellipsis should be added for text that is too long to fit into an item

*

See QStyleOptionViewItem::textElideMode

*/ @QtUninvokable public final void setTextElideMode(io.qt.core.Qt.@NonNull TextElideMode textElideMode){ setTextElideMode_native_cref_Qt_TextElideMode(QtJambi_LibraryUtilities.internal.nativeId(this), textElideMode.value()); } @QtUninvokable private native void setTextElideMode_native_cref_Qt_TextElideMode(long __this__nativeId, int textElideMode); /** *

Where ellipsis should be added for text that is too long to fit into an item

*

See QStyleOptionViewItem::textElideMode

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull TextElideMode textElideMode(){ return io.qt.core.Qt.TextElideMode.resolve(textElideMode_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int textElideMode_native(long __this__nativeId); /** *

See QStyleOptionViewItem::viewItemPosition

*/ @QtUninvokable public final void setViewItemPosition(io.qt.widgets.QStyleOptionViewItem.@NonNull ViewItemPosition viewItemPosition){ setViewItemPosition_native_cref_QStyleOptionViewItem_ViewItemPosition(QtJambi_LibraryUtilities.internal.nativeId(this), viewItemPosition.value()); } @QtUninvokable private native void setViewItemPosition_native_cref_QStyleOptionViewItem_ViewItemPosition(long __this__nativeId, int viewItemPosition); /** *

See QStyleOptionViewItem::viewItemPosition

*/ @QtUninvokable public final io.qt.widgets.QStyleOptionViewItem.@NonNull ViewItemPosition viewItemPosition(){ return io.qt.widgets.QStyleOptionViewItem.ViewItemPosition.resolve(viewItemPosition_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int viewItemPosition_native(long __this__nativeId); /** *

See QStyleOptionViewItem::widget

*/ @QtUninvokable public final void setWidget(io.qt.widgets.@Nullable QWidget widget){ setWidget_native_const_QWidget_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(widget)); __rcWidget = widget; } @QtUninvokable private native void setWidget_native_const_QWidget_ptr(long __this__nativeId, long widget); /** *

See QStyleOptionViewItem::widget

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget widget(){ return widget_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.widgets.QWidget widget_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QStyleOptionViewItem(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QStyleOptionViewItem::QStyleOptionViewItem(QStyleOptionViewItem)

*/ @QtUninvokable @Override public QStyleOptionViewItem clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QStyleOptionViewItem clone_native(long __this_nativeId); /** * @deprecated Use {@link #assign(io.qt.widgets.QStyleOptionViewItem)} instead. */ @Deprecated @QtUninvokable public final void set(io.qt.widgets.@NonNull QStyleOptionViewItem arg__1) { assign(arg__1); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.core.Qt.@NonNull BrushStyle backgroundBrush) { setBackgroundBrush(new io.qt.gui.QBrush(backgroundBrush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QColor backgroundBrush) { setBackgroundBrush(new io.qt.gui.QBrush(backgroundBrush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.core.Qt.@NonNull GlobalColor backgroundBrush) { setBackgroundBrush(new io.qt.gui.QBrush(backgroundBrush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QPixmap backgroundBrush) { setBackgroundBrush(new io.qt.gui.QBrush(backgroundBrush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QImage backgroundBrush) { setBackgroundBrush(new io.qt.gui.QBrush(backgroundBrush)); } /** *

Overloaded function for {@link #setBackgroundBrush(io.qt.gui.QBrush)}.

*/ @QtUninvokable public final void setBackgroundBrush(io.qt.gui.@NonNull QGradient backgroundBrush) { setBackgroundBrush(new io.qt.gui.QBrush(backgroundBrush)); } /** * @hidden *

Kotlin property getter. In Java use {@link #backgroundBrush()} instead.

*/ @QtUninvokable public final io.qt.gui.@NonNull QBrush getBackgroundBrush() { return backgroundBrush(); } /** * @hidden *

Kotlin property getter. In Java use {@link #checkState()} instead.

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull CheckState getCheckState() { return checkState(); } /** *

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

*/ @QtUninvokable public final void setDecorationAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... decorationAlignment) { setDecorationAlignment(new io.qt.core.Qt.Alignment(decorationAlignment)); } /** * @hidden *

Kotlin property getter. In Java use {@link #decorationAlignment()} instead.

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment getDecorationAlignment() { return decorationAlignment(); } /** * @hidden *

Kotlin property getter. In Java use {@link #decorationPosition()} instead.

*/ @QtUninvokable public final io.qt.widgets.QStyleOptionViewItem.@NonNull Position getDecorationPosition() { return decorationPosition(); } /** * @hidden *

Kotlin property getter. In Java use {@link #decorationSize()} instead.

*/ @QtUninvokable public final io.qt.core.@NonNull QSize getDecorationSize() { return decorationSize(); } /** *

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

*/ @QtUninvokable public final void setDisplayAlignment(io.qt.core.Qt.@NonNull AlignmentFlag @NonNull... displayAlignment) { setDisplayAlignment(new io.qt.core.Qt.Alignment(displayAlignment)); } /** * @hidden *

Kotlin property getter. In Java use {@link #displayAlignment()} instead.

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment getDisplayAlignment() { return displayAlignment(); } /** *

Overloaded function for {@link #setFeatures(io.qt.widgets.QStyleOptionViewItem.ViewItemFeatures)}.

*/ @QtUninvokable public final void setFeatures(io.qt.widgets.QStyleOptionViewItem.@NonNull ViewItemFeature @NonNull... features) { setFeatures(new io.qt.widgets.QStyleOptionViewItem.ViewItemFeatures(features)); } /** * @hidden *

Kotlin property getter. In Java use {@link #features()} instead.

*/ @QtUninvokable public final io.qt.widgets.QStyleOptionViewItem.@NonNull ViewItemFeatures getFeatures() { return features(); } /** *

Overloaded function for {@link #setFont(io.qt.gui.QFont)}.

*/ @QtUninvokable public final void setFont(java.lang.@NonNull String font) { setFont(new io.qt.gui.QFont(font)); } /** * @hidden *

Kotlin property getter. In Java use {@link #font()} instead.

*/ @QtUninvokable public final io.qt.gui.@NonNull QFont getFont() { return font(); } /** *

Overloaded function for {@link #setIcon(io.qt.gui.QIcon)}.

*/ @QtUninvokable public final void setIcon(io.qt.gui.@NonNull QPixmap icon) { setIcon(new io.qt.gui.QIcon(icon)); } /** * @hidden *

Kotlin property getter. In Java use {@link #icon()} instead.

*/ @QtUninvokable public final io.qt.gui.@NonNull QIcon getIcon() { return icon(); } /** * @hidden *

Kotlin property getter. In Java use {@link #index()} instead.

*/ @QtUninvokable public final io.qt.core.@NonNull QModelIndex getIndex() { return index(); } /** *

Overloaded function for {@link #setLocale(io.qt.core.QLocale)}.

*/ @QtUninvokable public final void setLocale(io.qt.core.QLocale.@NonNull Language locale) { setLocale(new io.qt.core.QLocale(locale)); } /** * @hidden *

Kotlin property getter. In Java use {@link #locale()} instead.

*/ @QtUninvokable public final io.qt.core.@NonNull QLocale getLocale() { return locale(); } /** * @hidden *

Kotlin property getter. In Java use {@link #showDecorationSelected()} instead.

*/ @QtUninvokable public final boolean getShowDecorationSelected() { return showDecorationSelected(); } /** * @hidden *

Kotlin property getter. In Java use {@link #text()} instead.

*/ @QtUninvokable public final java.lang.@NonNull String getText() { return text(); } /** * @hidden *

Kotlin property getter. In Java use {@link #textElideMode()} instead.

*/ @QtUninvokable public final io.qt.core.Qt.@NonNull TextElideMode getTextElideMode() { return textElideMode(); } /** * @hidden *

Kotlin property getter. In Java use {@link #viewItemPosition()} instead.

*/ @QtUninvokable public final io.qt.widgets.QStyleOptionViewItem.@NonNull ViewItemPosition getViewItemPosition() { return viewItemPosition(); } /** * @hidden *

Kotlin property getter. In Java use {@link #widget()} instead.

*/ @QtUninvokable public final io.qt.widgets.@Nullable QWidget getWidget() { return widget(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy