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

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

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

import io.qt.*;


/**
 * 

Header row or header column for item views

*

Java wrapper for Qt class QHeaderView

*/ public class QHeaderView extends io.qt.widgets.QAbstractItemView { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QHeaderView.class); /** *

Java wrapper for Qt enum QHeaderView::ResizeMode

*/ @QtRejectedEntries({"Custom"}) public enum ResizeMode implements QtEnumerator { /** *

Representing QHeaderView::Interactive

*/ Interactive(0), /** *

Representing QHeaderView::Stretch

*/ Stretch(1), /** *

Representing QHeaderView::Fixed

*/ Fixed(2), /** *

Representing QHeaderView::ResizeToContents

*/ ResizeToContents(3), /** *

Representing QHeaderView::Custom

*/ Custom(2); static { QtJambi_LibraryUtilities.initialize(); } private ResizeMode(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 ResizeMode resolve(int value) { switch (value) { case 0: return Interactive; case 1: return Stretch; case 2: return Fixed; case 3: return ResizeToContents; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

See QHeaderView::geometriesChanged()

*/ public final @NonNull Signal0 geometriesChanged = new Signal0(); /** *

See QHeaderView::sectionClicked(int)

*/ public final @NonNull Signal1 sectionClicked = new Signal1<>(); /** *

See QHeaderView::sectionCountChanged(int,int)

*/ public final @NonNull Signal2 sectionCountChanged = new Signal2<>(); /** *

See QHeaderView::sectionDoubleClicked(int)

*/ public final @NonNull Signal1 sectionDoubleClicked = new Signal1<>(); /** *

See QHeaderView::sectionEntered(int)

*/ public final @NonNull Signal1 sectionEntered = new Signal1<>(); /** *

See QHeaderView::sectionHandleDoubleClicked(int)

*/ public final @NonNull Signal1 sectionHandleDoubleClicked = new Signal1<>(); /** *

See QHeaderView::sectionMoved(int,int,int)

*/ public final @NonNull Signal3 sectionMoved = new Signal3<>(); /** *

See QHeaderView::sectionPressed(int)

*/ public final @NonNull Signal1 sectionPressed = new Signal1<>(); /** *

See QHeaderView::sectionResized(int,int,int)

*/ public final @NonNull Signal3 sectionResized = new Signal3<>(); /** *

See QHeaderView::sortIndicatorChanged(int,Qt::SortOrder)

*/ public final @NonNull Signal2 sortIndicatorChanged = new Signal2<>(); /** *

See QHeaderView::sortIndicatorClearableChanged(bool)

*/ @QtPropertyNotify(name="sortIndicatorClearable") public final @NonNull Signal1 sortIndicatorClearableChanged = new Signal1<>(); /** *

See QHeaderView::QHeaderView(Qt::Orientation,QWidget*)

*/ public QHeaderView(io.qt.core.Qt.@NonNull Orientation orientation, io.qt.widgets.@Nullable QWidget parent){ super((QPrivateConstructor)null); initialize_native(this, orientation, parent); } private native static void initialize_native(QHeaderView instance, io.qt.core.Qt.Orientation orientation, io.qt.widgets.QWidget parent); /** *

See QHeaderView::cascadingSectionResizes()const

*/ @QtPropertyReader(name="cascadingSectionResizes") @QtUninvokable public final boolean cascadingSectionResizes(){ return cascadingSectionResizes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean cascadingSectionResizes_native_constfct(long __this__nativeId); /** *

See QHeaderView::count()const

*/ @QtUninvokable public final int count(){ return count_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int count_native_constfct(long __this__nativeId); /** *

See QHeaderView::defaultAlignment()const

*/ @QtPropertyReader(name="defaultAlignment") @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment defaultAlignment(){ return new io.qt.core.Qt.Alignment(defaultAlignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int defaultAlignment_native_constfct(long __this__nativeId); /** *

See QHeaderView::defaultSectionSize()const

*/ @QtPropertyReader(name="defaultSectionSize") @QtUninvokable public final int defaultSectionSize(){ return defaultSectionSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int defaultSectionSize_native_constfct(long __this__nativeId); /** *

See QHeaderView::headerDataChanged(Qt::Orientation,int,int)

*/ public final void headerDataChanged(io.qt.core.Qt.@NonNull Orientation orientation, int logicalFirst, int logicalLast){ headerDataChanged_native_Qt_Orientation_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), orientation.value(), logicalFirst, logicalLast); } private native void headerDataChanged_native_Qt_Orientation_int_int(long __this__nativeId, int orientation, int logicalFirst, int logicalLast); /** *

See QHeaderView::hiddenSectionCount()const

*/ @QtUninvokable public final int hiddenSectionCount(){ return hiddenSectionCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int hiddenSectionCount_native_constfct(long __this__nativeId); /** *

See QHeaderView::hideSection(int)

*/ @QtUninvokable public final void hideSection(int logicalIndex){ hideSection_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native void hideSection_native_int(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::highlightSections()const

*/ @QtPropertyReader(name="highlightSections") @QtUninvokable public final boolean highlightSections(){ return highlightSections_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean highlightSections_native_constfct(long __this__nativeId); /** * Function has no implementation because its native counterpart is private. */ @Deprecated @QtUninvokable @Override protected final void initStyleOption(io.qt.widgets.@Nullable QStyleOptionFrame option) throws QNoImplementationException { throw new QNoImplementationException(); } /** *

See QHeaderView::initialize()

*/ @QtUninvokable protected final void initialize(){ initialize_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void initialize_native(long __this__nativeId); /** *

See QHeaderView::initializeSections()

*/ @QtUninvokable protected final void initializeSections(){ initializeSections_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void initializeSections_native(long __this__nativeId); /** *

See QHeaderView::initializeSections(int,int)

*/ @QtUninvokable protected final void initializeSections(int start, int end){ initializeSections_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), start, end); } @QtUninvokable private native void initializeSections_native_int_int(long __this__nativeId, int start, int end); /** *

See QHeaderView::isFirstSectionMovable()const

*/ @QtPropertyReader(name="firstSectionMovable") @QtUninvokable public final boolean isFirstSectionMovable(){ return isFirstSectionMovable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isFirstSectionMovable_native_constfct(long __this__nativeId); /** *

See QHeaderView::isSectionHidden(int)const

*/ @QtUninvokable public final boolean isSectionHidden(int logicalIndex){ return isSectionHidden_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native boolean isSectionHidden_native_int_constfct(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::isSortIndicatorClearable()const

*/ @QtPropertyReader(name="sortIndicatorClearable") @QtUninvokable public final boolean isSortIndicatorClearable(){ return isSortIndicatorClearable_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isSortIndicatorClearable_native_constfct(long __this__nativeId); /** *

See QHeaderView::isSortIndicatorShown()const

*/ @QtPropertyReader(name="showSortIndicator") @QtUninvokable public final boolean isSortIndicatorShown(){ return isSortIndicatorShown_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isSortIndicatorShown_native_constfct(long __this__nativeId); /** *

See QHeaderView::length()const

*/ @QtUninvokable public final int length(){ return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int length_native_constfct(long __this__nativeId); /** *

See QHeaderView::logicalIndex(int)const

*/ @QtUninvokable public final int logicalIndex(int visualIndex){ return logicalIndex_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), visualIndex); } @QtUninvokable private native int logicalIndex_native_int_constfct(long __this__nativeId, int visualIndex); /** *

See QHeaderView::logicalIndexAt(QPoint)const

*/ @QtUninvokable public final int logicalIndexAt(io.qt.core.@NonNull QPoint pos){ return logicalIndexAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos)); } @QtUninvokable private native int logicalIndexAt_native_cref_QPoint_constfct(long __this__nativeId, long pos); /** *

See QHeaderView::logicalIndexAt(int)const

*/ @QtUninvokable public final int logicalIndexAt(int position){ return logicalIndexAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), position); } @QtUninvokable private native int logicalIndexAt_native_int_constfct(long __this__nativeId, int position); /** *

See QHeaderView::logicalIndexAt(int,int)const

*/ @QtUninvokable public final int logicalIndexAt(int x, int y){ return logicalIndexAt_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @QtUninvokable private native int logicalIndexAt_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QHeaderView::maximumSectionSize()const

*/ @QtPropertyReader(name="maximumSectionSize") @QtUninvokable public final int maximumSectionSize(){ return maximumSectionSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int maximumSectionSize_native_constfct(long __this__nativeId); /** *

See QHeaderView::minimumSectionSize()const

*/ @QtPropertyReader(name="minimumSectionSize") @QtUninvokable public final int minimumSectionSize(){ return minimumSectionSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int minimumSectionSize_native_constfct(long __this__nativeId); /** *

See QHeaderView::moveSection(int,int)

*/ @QtUninvokable public final void moveSection(int from, int to){ moveSection_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), from, to); } @QtUninvokable private native void moveSection_native_int_int(long __this__nativeId, int from, int to); /** *

See QHeaderView::offset()const

*/ @QtUninvokable public final int offset(){ return offset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int offset_native_constfct(long __this__nativeId); /** *

See QHeaderView::orientation()const

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

See QHeaderView::resetDefaultSectionSize()

*/ @QtPropertyResetter(name="defaultSectionSize") @QtUninvokable public final void resetDefaultSectionSize(){ resetDefaultSectionSize_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void resetDefaultSectionSize_native(long __this__nativeId); /** *

See QHeaderView::resizeContentsPrecision()const

*/ @QtUninvokable public final int resizeContentsPrecision(){ return resizeContentsPrecision_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int resizeContentsPrecision_native_constfct(long __this__nativeId); /** *

See QHeaderView::resizeSection(int,int)

*/ @QtUninvokable public final void resizeSection(int logicalIndex, int size){ resizeSection_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex, size); } @QtUninvokable private native void resizeSection_native_int_int(long __this__nativeId, int logicalIndex, int size); /** *

See QHeaderView::resizeSections()

*/ protected final void resizeSections(){ resizeSections_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void resizeSections_native(long __this__nativeId); /** *

See QHeaderView::resizeSections(QHeaderView::ResizeMode)

*/ @QtUninvokable public final void resizeSections(io.qt.widgets.QHeaderView.@NonNull ResizeMode mode){ resizeSections_native_QHeaderView_ResizeMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void resizeSections_native_QHeaderView_ResizeMode(long __this__nativeId, int mode); /** *

See QHeaderView::restoreState(QByteArray)

*/ @QtUninvokable public final boolean restoreState(io.qt.core.@NonNull QByteArray state){ return restoreState_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(state)); } @QtUninvokable private native boolean restoreState_native_cref_QByteArray(long __this__nativeId, long state); /** *

See QHeaderView::saveState()const

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

See QHeaderView::sectionPosition(int)const

*/ @QtUninvokable public final int sectionPosition(int logicalIndex){ return sectionPosition_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native int sectionPosition_native_int_constfct(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::sectionResizeMode(int)const

*/ @QtUninvokable public final io.qt.widgets.QHeaderView.@NonNull ResizeMode sectionResizeMode(int logicalIndex){ return io.qt.widgets.QHeaderView.ResizeMode.resolve(sectionResizeMode_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex)); } @QtUninvokable private native int sectionResizeMode_native_int_constfct(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::sectionSize(int)const

*/ @QtUninvokable public final int sectionSize(int logicalIndex){ return sectionSize_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native int sectionSize_native_int_constfct(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::sectionSizeHint(int)const

*/ @QtUninvokable public final int sectionSizeHint(int logicalIndex){ return sectionSizeHint_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native int sectionSizeHint_native_int_constfct(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::sectionViewportPosition(int)const

*/ @QtUninvokable public final int sectionViewportPosition(int logicalIndex){ return sectionViewportPosition_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native int sectionViewportPosition_native_int_constfct(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::sectionsAboutToBeRemoved(QModelIndex,int,int)

*/ protected final void sectionsAboutToBeRemoved(io.qt.core.@NonNull QModelIndex parent, int logicalFirst, int logicalLast){ sectionsAboutToBeRemoved_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), logicalFirst, logicalLast); } private native void sectionsAboutToBeRemoved_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int logicalFirst, int logicalLast); /** *

See QHeaderView::sectionsClickable()const

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

See QHeaderView::sectionsHidden()const

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

See QHeaderView::sectionsInserted(QModelIndex,int,int)

*/ protected final void sectionsInserted(io.qt.core.@NonNull QModelIndex parent, int logicalFirst, int logicalLast){ sectionsInserted_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), logicalFirst, logicalLast); } private native void sectionsInserted_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int logicalFirst, int logicalLast); /** *

See QHeaderView::sectionsMovable()const

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

See QHeaderView::sectionsMoved()const

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

See QHeaderView::setCascadingSectionResizes(bool)

*/ @QtPropertyWriter(name="cascadingSectionResizes") @QtUninvokable public final void setCascadingSectionResizes(boolean enable){ setCascadingSectionResizes_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable); } @QtUninvokable private native void setCascadingSectionResizes_native_bool(long __this__nativeId, boolean enable); /** *

See QHeaderView::setDefaultAlignment(Qt::Alignment)

*/ @QtPropertyWriter(name="defaultAlignment") @QtUninvokable public final void setDefaultAlignment(io.qt.core.Qt.@NonNull Alignment alignment){ setDefaultAlignment_native_Qt_Alignment(QtJambi_LibraryUtilities.internal.nativeId(this), alignment.value()); } @QtUninvokable private native void setDefaultAlignment_native_Qt_Alignment(long __this__nativeId, int alignment); /** *

See QHeaderView::setDefaultSectionSize(int)

*/ @QtPropertyWriter(name="defaultSectionSize") @QtUninvokable public final void setDefaultSectionSize(int size){ setDefaultSectionSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), size); } @QtUninvokable private native void setDefaultSectionSize_native_int(long __this__nativeId, int size); /** *

See QHeaderView::setFirstSectionMovable(bool)

*/ @QtPropertyWriter(name="firstSectionMovable") @QtUninvokable public final void setFirstSectionMovable(boolean movable){ setFirstSectionMovable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), movable); } @QtUninvokable private native void setFirstSectionMovable_native_bool(long __this__nativeId, boolean movable); /** *

See QHeaderView::setHighlightSections(bool)

*/ @QtPropertyWriter(name="highlightSections") @QtUninvokable public final void setHighlightSections(boolean highlight){ setHighlightSections_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), highlight); } @QtUninvokable private native void setHighlightSections_native_bool(long __this__nativeId, boolean highlight); /** *

See QHeaderView::setMaximumSectionSize(int)

*/ @QtPropertyWriter(name="maximumSectionSize") @QtUninvokable public final void setMaximumSectionSize(int size){ setMaximumSectionSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), size); } @QtUninvokable private native void setMaximumSectionSize_native_int(long __this__nativeId, int size); /** *

See QHeaderView::setMinimumSectionSize(int)

*/ @QtPropertyWriter(name="minimumSectionSize") @QtUninvokable public final void setMinimumSectionSize(int size){ setMinimumSectionSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), size); } @QtUninvokable private native void setMinimumSectionSize_native_int(long __this__nativeId, int size); /** *

See QHeaderView::setOffset(int)

*/ public final void setOffset(int offset){ setOffset_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), offset); } private native void setOffset_native_int(long __this__nativeId, int offset); /** *

See QHeaderView::setOffsetToLastSection()

*/ public final void setOffsetToLastSection(){ setOffsetToLastSection_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native void setOffsetToLastSection_native(long __this__nativeId); /** *

See QHeaderView::setOffsetToSectionPosition(int)

*/ public final void setOffsetToSectionPosition(int visualIndex){ setOffsetToSectionPosition_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), visualIndex); } private native void setOffsetToSectionPosition_native_int(long __this__nativeId, int visualIndex); /** *

See QHeaderView::setResizeContentsPrecision(int)

*/ @QtUninvokable public final void setResizeContentsPrecision(int precision){ setResizeContentsPrecision_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), precision); } @QtUninvokable private native void setResizeContentsPrecision_native_int(long __this__nativeId, int precision); /** *

See QHeaderView::setSectionHidden(int,bool)

*/ @QtUninvokable public final void setSectionHidden(int logicalIndex, boolean hide){ setSectionHidden_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex, hide); } @QtUninvokable private native void setSectionHidden_native_int_bool(long __this__nativeId, int logicalIndex, boolean hide); /** *

See QHeaderView::setSectionResizeMode(QHeaderView::ResizeMode)

*/ @QtUninvokable public final void setSectionResizeMode(io.qt.widgets.QHeaderView.@NonNull ResizeMode mode){ setSectionResizeMode_native_QHeaderView_ResizeMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value()); } @QtUninvokable private native void setSectionResizeMode_native_QHeaderView_ResizeMode(long __this__nativeId, int mode); /** *

See QHeaderView::setSectionResizeMode(int,QHeaderView::ResizeMode)

*/ @QtUninvokable public final void setSectionResizeMode(int logicalIndex, io.qt.widgets.QHeaderView.@NonNull ResizeMode mode){ setSectionResizeMode_native_int_QHeaderView_ResizeMode(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex, mode.value()); } @QtUninvokable private native void setSectionResizeMode_native_int_QHeaderView_ResizeMode(long __this__nativeId, int logicalIndex, int mode); /** *

See QHeaderView::setSectionsClickable(bool)

*/ @QtUninvokable public final void setSectionsClickable(boolean clickable){ setSectionsClickable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), clickable); } @QtUninvokable private native void setSectionsClickable_native_bool(long __this__nativeId, boolean clickable); /** *

See QHeaderView::setSectionsMovable(bool)

*/ @QtUninvokable public final void setSectionsMovable(boolean movable){ setSectionsMovable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), movable); } @QtUninvokable private native void setSectionsMovable_native_bool(long __this__nativeId, boolean movable); /** *

See QHeaderView::setSortIndicator(int,Qt::SortOrder)

*/ @QtUninvokable public final void setSortIndicator(int logicalIndex, io.qt.core.Qt.@NonNull SortOrder order){ setSortIndicator_native_int_Qt_SortOrder(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex, order.value()); } @QtUninvokable private native void setSortIndicator_native_int_Qt_SortOrder(long __this__nativeId, int logicalIndex, int order); /** *

See QHeaderView::setSortIndicatorClearable(bool)

*/ @QtPropertyWriter(name="sortIndicatorClearable") @QtUninvokable public final void setSortIndicatorClearable(boolean clearable){ setSortIndicatorClearable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), clearable); } @QtUninvokable private native void setSortIndicatorClearable_native_bool(long __this__nativeId, boolean clearable); /** *

See QHeaderView::setSortIndicatorShown(bool)

*/ @QtPropertyWriter(name="showSortIndicator") @QtUninvokable public final void setSortIndicatorShown(boolean show){ setSortIndicatorShown_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), show); } @QtUninvokable private native void setSortIndicatorShown_native_bool(long __this__nativeId, boolean show); /** *

See QHeaderView::setStretchLastSection(bool)

*/ @QtPropertyWriter(name="stretchLastSection") @QtUninvokable public final void setStretchLastSection(boolean stretch){ setStretchLastSection_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), stretch); } @QtUninvokable private native void setStretchLastSection_native_bool(long __this__nativeId, boolean stretch); /** *

See QHeaderView::showSection(int)

*/ @QtUninvokable public final void showSection(int logicalIndex){ showSection_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native void showSection_native_int(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::sortIndicatorOrder()const

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

See QHeaderView::sortIndicatorSection()const

*/ @QtUninvokable public final int sortIndicatorSection(){ return sortIndicatorSection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int sortIndicatorSection_native_constfct(long __this__nativeId); /** *

See QHeaderView::stretchLastSection()const

*/ @QtPropertyReader(name="stretchLastSection") @QtUninvokable public final boolean stretchLastSection(){ return stretchLastSection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean stretchLastSection_native_constfct(long __this__nativeId); /** *

See QHeaderView::stretchSectionCount()const

*/ @QtUninvokable public final int stretchSectionCount(){ return stretchSectionCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int stretchSectionCount_native_constfct(long __this__nativeId); /** *

See QHeaderView::swapSections(int,int)

*/ @QtUninvokable public final void swapSections(int first, int second){ swapSections_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), first, second); } @QtUninvokable private native void swapSections_native_int_int(long __this__nativeId, int first, int second); /** *

See QHeaderView::updateSection(int)

*/ protected final void updateSection(int logicalIndex){ updateSection_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } private native void updateSection_native_int(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::visualIndex(int)const

*/ @QtUninvokable public final int visualIndex(int logicalIndex){ return visualIndex_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native int visualIndex_native_int_constfct(long __this__nativeId, int logicalIndex); /** *

See QHeaderView::visualIndexAt(int)const

*/ @QtUninvokable public final int visualIndexAt(int position){ return visualIndexAt_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), position); } @QtUninvokable private native int visualIndexAt_native_int_constfct(long __this__nativeId, int position); /** *

See QAbstractItemView::currentChanged(QModelIndex,QModelIndex)

*/ @QtUninvokable @Override protected void currentChanged(io.qt.core.@NonNull QModelIndex current, io.qt.core.@NonNull QModelIndex old){ currentChanged_native_cref_QModelIndex_cref_QModelIndex(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(current), QtJambi_LibraryUtilities.internal.checkedNativeId(old)); } @QtUninvokable private native void currentChanged_native_cref_QModelIndex_cref_QModelIndex(long __this__nativeId, long current, long old); /** *

See QAbstractItemView::dataChanged(QModelIndex,QModelIndex,QList<int>)

*/ @QtUninvokable @Override protected void dataChanged(io.qt.core.@NonNull QModelIndex topLeft, io.qt.core.@NonNull QModelIndex bottomRight, java.util.@NonNull Collection roles){ dataChanged_native_cref_QModelIndex_cref_QModelIndex_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(topLeft), QtJambi_LibraryUtilities.internal.checkedNativeId(bottomRight), roles); } @QtUninvokable private native void dataChanged_native_cref_QModelIndex_cref_QModelIndex_cref_QList(long __this__nativeId, long topLeft, long bottomRight, java.util.Collection roles); /** *

See QAbstractItemView::doItemsLayout()

*/ @QtUninvokable @Override public void doItemsLayout(){ doItemsLayout_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void doItemsLayout_native(long __this__nativeId); /** *

See QObject::event(QEvent*)

*/ @QtUninvokable @Override public boolean event(io.qt.core.@Nullable QEvent e){ return event_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native boolean event_native_QEvent_ptr(long __this__nativeId, long e); /** *

See QAbstractItemView::horizontalOffset()const

*/ @QtUninvokable @Override protected int horizontalOffset(){ return horizontalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int horizontalOffset_native_constfct(long __this__nativeId); /** *

See QAbstractItemView::indexAt(QPoint)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QModelIndex indexAt(io.qt.core.@NonNull QPoint p){ return indexAt_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native io.qt.core.QModelIndex indexAt_native_cref_QPoint_constfct(long __this__nativeId, long p); /** *

See QHeaderView::initStyleOption(QStyleOptionHeader*)const

*/ @QtUninvokable protected void initStyleOption(io.qt.widgets.@Nullable QStyleOptionHeader option){ initStyleOption_native_QStyleOptionHeader_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option)); } @QtUninvokable private native void initStyleOption_native_QStyleOptionHeader_ptr_constfct(long __this__nativeId, long option); /** *

See QHeaderView::initStyleOptionForIndex(QStyleOptionHeader*,int)const

*/ @QtUninvokable protected void initStyleOptionForIndex(io.qt.widgets.@Nullable QStyleOptionHeader option, int logicalIndex){ initStyleOptionForIndex_native_QStyleOptionHeader_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(option), logicalIndex); } @QtUninvokable private native void initStyleOptionForIndex_native_QStyleOptionHeader_ptr_int_constfct(long __this__nativeId, long option, int logicalIndex); /** *

See QAbstractItemView::isIndexHidden(QModelIndex)const

*/ @QtUninvokable @Override protected boolean isIndexHidden(io.qt.core.@NonNull QModelIndex index){ return isIndexHidden_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native boolean isIndexHidden_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QWidget::mouseDoubleClickEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseDoubleClickEvent(io.qt.gui.@Nullable QMouseEvent e){ mouseDoubleClickEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void mouseDoubleClickEvent_native_QMouseEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::mouseMoveEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseMoveEvent(io.qt.gui.@Nullable QMouseEvent e){ mouseMoveEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void mouseMoveEvent_native_QMouseEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::mousePressEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mousePressEvent(io.qt.gui.@Nullable QMouseEvent e){ mousePressEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void mousePressEvent_native_QMouseEvent_ptr(long __this__nativeId, long e); /** *

See QWidget::mouseReleaseEvent(QMouseEvent*)

*/ @QtUninvokable @Override protected void mouseReleaseEvent(io.qt.gui.@Nullable QMouseEvent e){ mouseReleaseEvent_native_QMouseEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void mouseReleaseEvent_native_QMouseEvent_ptr(long __this__nativeId, long e); /** *

See QAbstractItemView::moveCursor(QAbstractItemView::CursorAction,Qt::KeyboardModifiers)

*/ @QtUninvokable @Override protected io.qt.core.@NonNull QModelIndex moveCursor(io.qt.widgets.QAbstractItemView.@NonNull CursorAction arg__1, io.qt.core.Qt.@NonNull KeyboardModifiers arg__2){ return moveCursor_native_QAbstractItemView_CursorAction_Qt_KeyboardModifiers(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value(), arg__2.value()); } @QtUninvokable private native io.qt.core.QModelIndex moveCursor_native_QAbstractItemView_CursorAction_Qt_KeyboardModifiers(long __this__nativeId, int arg__1, int arg__2); /** *

See QWidget::paintEvent(QPaintEvent*)

*/ @QtUninvokable @Override protected void paintEvent(io.qt.gui.@Nullable QPaintEvent e){ paintEvent_native_QPaintEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native void paintEvent_native_QPaintEvent_ptr(long __this__nativeId, long e); /** *

See QHeaderView::paintSection(QPainter*,QRect,int)const

*/ @QtUninvokable protected void paintSection(io.qt.gui.@Nullable QPainter painter, io.qt.core.@NonNull QRect rect, int logicalIndex){ paintSection_native_QPainter_ptr_cref_QRect_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(painter), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), logicalIndex); } @QtUninvokable private native void paintSection_native_QPainter_ptr_cref_QRect_int_constfct(long __this__nativeId, long painter, long rect, int logicalIndex); /** *

See QAbstractItemView::reset()

*/ @QtUninvokable @Override public void reset(){ reset_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void reset_native(long __this__nativeId); /** *

See QAbstractItemView::rowsInserted(QModelIndex,int,int)

*/ @QtUninvokable @Override protected void rowsInserted(io.qt.core.@NonNull QModelIndex parent, int start, int end){ rowsInserted_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parent), start, end); } @QtUninvokable private native void rowsInserted_native_cref_QModelIndex_int_int(long __this__nativeId, long parent, int start, int end); /** *

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 QAbstractItemView::scrollTo(QModelIndex,QAbstractItemView::ScrollHint)

*/ @QtUninvokable @Override public void scrollTo(io.qt.core.@NonNull QModelIndex index, io.qt.widgets.QAbstractItemView.@NonNull ScrollHint hint){ scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index), hint.value()); } @QtUninvokable private native void scrollTo_native_cref_QModelIndex_QAbstractItemView_ScrollHint(long __this__nativeId, long index, int hint); /** *

See QHeaderView::sectionSizeFromContents(int)const

*/ @QtUninvokable protected io.qt.core.@NonNull QSize sectionSizeFromContents(int logicalIndex){ return sectionSizeFromContents_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @QtUninvokable private native io.qt.core.QSize sectionSizeFromContents_native_int_constfct(long __this__nativeId, int logicalIndex); /** *

See QAbstractItemView::setModel(QAbstractItemModel*)

*/ @QtUninvokable @Override public void setModel(io.qt.core.@Nullable QAbstractItemModel model){ setModel_native_QAbstractItemModel_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(model)); QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.widgets.QAbstractItemView.class, "__rcItemModel", false, false, model); // setModel() creates a new selection model for the object QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.widgets.QAbstractItemView.class, "__rcItemSelectionModel", false, false, null); } @QtUninvokable private native void setModel_native_QAbstractItemModel_ptr(long __this__nativeId, long model); /** *

See QAbstractItemView::setSelection(QRect,QItemSelectionModel::SelectionFlags)

*/ @QtUninvokable @Override protected void setSelection(io.qt.core.@NonNull QRect rect, io.qt.core.QItemSelectionModel.@NonNull SelectionFlags flags){ setSelection_native_cref_QRect_QItemSelectionModel_SelectionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect), flags.value()); } @QtUninvokable private native void setSelection_native_cref_QRect_QItemSelectionModel_SelectionFlags(long __this__nativeId, long rect, int flags); /** *

See QWidget::setVisible(bool)

*/ @QtUninvokable @Override public void setVisible(boolean v){ setVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), v); } @QtUninvokable private native void setVisible_native_bool(long __this__nativeId, boolean v); /** *

See QWidget::sizeHint()const

*/ @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 QAbstractItemView::updateGeometries()

*/ @QtUninvokable @Override protected void updateGeometries(){ updateGeometries_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void updateGeometries_native(long __this__nativeId); /** *

See QAbstractItemView::verticalOffset()const

*/ @QtUninvokable @Override protected int verticalOffset(){ return verticalOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int verticalOffset_native_constfct(long __this__nativeId); /** *

See QAbstractScrollArea::viewportEvent(QEvent*)

*/ @QtUninvokable @Override protected boolean viewportEvent(io.qt.core.@Nullable QEvent e){ return viewportEvent_native_QEvent_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(e)); } @QtUninvokable private native boolean viewportEvent_native_QEvent_ptr(long __this__nativeId, long e); /** *

See QAbstractItemView::visualRect(QModelIndex)const

*/ @QtUninvokable @Override public io.qt.core.@NonNull QRect visualRect(io.qt.core.@NonNull QModelIndex index){ return visualRect_native_cref_QModelIndex_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(index)); } @QtUninvokable private native io.qt.core.QRect visualRect_native_cref_QModelIndex_constfct(long __this__nativeId, long index); /** *

See QAbstractItemView::visualRegionForSelection(QItemSelection)const

*/ @QtUninvokable @Override protected io.qt.gui.@NonNull QRegion visualRegionForSelection(io.qt.core.@NonNull QItemSelection selection){ return visualRegionForSelection_native_cref_QItemSelection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selection)); } @QtUninvokable private native io.qt.gui.QRegion visualRegionForSelection_native_cref_QItemSelection_constfct(long __this__nativeId, long selection); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QHeaderView(QPrivateConstructor p) { super(p); } /** *

Overloaded constructor for {@link #QHeaderView(io.qt.core.Qt.Orientation, io.qt.widgets.QWidget)} * with parent = null.

*/ public QHeaderView(io.qt.core.Qt.@NonNull Orientation orientation) { this(orientation, (io.qt.widgets.QWidget)null); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getCascadingSectionResizes() { return cascadingSectionResizes(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.Qt.@NonNull Alignment getDefaultAlignment() { return defaultAlignment(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getDefaultSectionSize() { return defaultSectionSize(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getHighlightSections() { return highlightSections(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getFirstSectionMovable() { return isFirstSectionMovable(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getSortIndicatorClearable() { return isSortIndicatorClearable(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getShowSortIndicator() { return isSortIndicatorShown(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getMaximumSectionSize() { return maximumSectionSize(); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getMinimumSectionSize() { return minimumSectionSize(); } /** *

Overloaded function for {@link #restoreState(io.qt.core.QByteArray)}.

*/ @QtUninvokable public final boolean restoreState(byte @NonNull[] state) { return restoreState(new io.qt.core.QByteArray(state)); } /** *

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

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getStretchLastSection() { return stretchLastSection(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy