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

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

The newest version!
package io.qt.widgets;


/**
 * 

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.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QHeaderView.class); /** *

Java wrapper for Qt enum QHeaderView::ResizeMode

*/ @io.qt.QtRejectedEntries({"Custom"}) public enum ResizeMode implements io.qt.QtEnumerator { Interactive(0), Stretch(1), Fixed(2), ResizeToContents(3), Custom(2); 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 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 io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

See QHeaderView::geometriesChanged()

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

See QHeaderView::sectionClicked(int)

*/ public final Signal1<@io.qt.QtPrimitiveType Integer> sectionClicked = new Signal1<>(); /** *

See QHeaderView::sectionCountChanged(int,int)

*/ public final Signal2<@io.qt.QtPrimitiveType Integer, @io.qt.QtPrimitiveType Integer> sectionCountChanged = new Signal2<>(); /** *

See QHeaderView::sectionDoubleClicked(int)

*/ public final Signal1<@io.qt.QtPrimitiveType Integer> sectionDoubleClicked = new Signal1<>(); /** *

See QHeaderView::sectionEntered(int)

*/ public final Signal1<@io.qt.QtPrimitiveType Integer> sectionEntered = new Signal1<>(); /** *

See QHeaderView::sectionHandleDoubleClicked(int)

*/ public final Signal1<@io.qt.QtPrimitiveType Integer> sectionHandleDoubleClicked = new Signal1<>(); /** *

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

*/ public final Signal3<@io.qt.QtPrimitiveType Integer, @io.qt.QtPrimitiveType Integer, @io.qt.QtPrimitiveType Integer> sectionMoved = new Signal3<>(); /** *

See QHeaderView::sectionPressed(int)

*/ public final Signal1<@io.qt.QtPrimitiveType Integer> sectionPressed = new Signal1<>(); /** *

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

*/ public final Signal3<@io.qt.QtPrimitiveType Integer, @io.qt.QtPrimitiveType Integer, @io.qt.QtPrimitiveType Integer> sectionResized = new Signal3<>(); /** *

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

*/ public final Signal2<@io.qt.QtPrimitiveType Integer, io.qt.core.Qt.SortOrder> sortIndicatorChanged = new Signal2<>(); /** *

See QHeaderView::sortIndicatorClearableChanged(bool)

*/ @io.qt.QtPropertyNotify(name="sortIndicatorClearable") public final Signal1<@io.qt.QtPrimitiveType Boolean> sortIndicatorClearableChanged = new Signal1<>(); /** *

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

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

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

*/ public QHeaderView(io.qt.core.Qt.Orientation orientation, io.qt.widgets.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

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

See QHeaderView::count()const

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

See QHeaderView::defaultAlignment()const

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

See QHeaderView::defaultSectionSize()const

*/ @io.qt.QtPropertyReader(name="defaultSectionSize") @io.qt.QtUninvokable public final int defaultSectionSize(){ return defaultSectionSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.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.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

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

See QHeaderView::hideSection(int)

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

See QHeaderView::highlightSections()const

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

See QFrame::initStyleOption(QStyleOptionFrame*)const

*/ @Deprecated @io.qt.QtUninvokable protected final void initStyleOption(io.qt.widgets.QStyleOptionFrame option) throws io.qt.QNoImplementationException { initStyleOption_native_QStyleOptionFrame_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), option); } @Deprecated private static void initStyleOption_native_QStyleOptionFrame_ptr_constfct(long __this__nativeId, io.qt.widgets.QStyleOptionFrame option) throws io.qt.QNoImplementationException { throw new io.qt.QNoImplementationException(); } @io.qt.QtUninvokable protected final void initialize(){ initialize_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void initialize_native(long __this__nativeId); @io.qt.QtUninvokable protected final void initializeSections(){ initializeSections_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void initializeSections_native(long __this__nativeId); @io.qt.QtUninvokable protected final void initializeSections(int start, int end){ initializeSections_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), start, end); } @io.qt.QtUninvokable private native void initializeSections_native_int_int(long __this__nativeId, int start, int end); /** *

See QHeaderView::isFirstSectionMovable()const

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

See QHeaderView::isSectionHidden(int)const

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

See QHeaderView::isSortIndicatorClearable()const

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

See QHeaderView::isSortIndicatorShown()const

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

See QHeaderView::length()const

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

See QHeaderView::logicalIndex(int)const

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

See QHeaderView::logicalIndexAt(QPoint)const

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

See QHeaderView::logicalIndexAt(int)const

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

See QHeaderView::logicalIndexAt(int,int)const

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

See QHeaderView::maximumSectionSize()const

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

See QHeaderView::minimumSectionSize()const

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

See QHeaderView::moveSection(int,int)

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

See QHeaderView::offset()const

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

See QHeaderView::orientation()const

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

See QHeaderView::resetDefaultSectionSize()

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

See QHeaderView::resizeContentsPrecision()const

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

See QHeaderView::resizeSection(int,int)

*/ @io.qt.QtUninvokable public final void resizeSection(int logicalIndex, int size){ resizeSection_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex, size); } @io.qt.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)

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

See QHeaderView::restoreState(QByteArray)

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

See QHeaderView::saveState()const

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

See QHeaderView::sectionPosition(int)const

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

See QHeaderView::sectionResizeMode(int)const

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

See QHeaderView::sectionSize(int)const

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

See QHeaderView::sectionSizeHint(int)const

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

See QHeaderView::sectionViewportPosition(int)const

*/ @io.qt.QtUninvokable public final int sectionViewportPosition(int logicalIndex){ return sectionViewportPosition_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), logicalIndex); } @io.qt.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.QModelIndex parent, int logicalFirst, int logicalLast){ sectionsAboutToBeRemoved_native_cref_QModelIndex_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), parent, logicalFirst, logicalLast); } private native void sectionsAboutToBeRemoved_native_cref_QModelIndex_int_int(long __this__nativeId, io.qt.core.QModelIndex parent, int logicalFirst, int logicalLast); /** *

See QHeaderView::sectionsClickable()const

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

See QHeaderView::sectionsHidden()const

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

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

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

See QHeaderView::sectionsMovable()const

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

See QHeaderView::sectionsMoved()const

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

See QHeaderView::setCascadingSectionResizes(bool)

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

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

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

See QHeaderView::setDefaultAlignment(Qt::Alignment)

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

See QHeaderView::setDefaultSectionSize(int)

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

See QHeaderView::setFirstSectionMovable(bool)

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

See QHeaderView::setHighlightSections(bool)

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

See QHeaderView::setMaximumSectionSize(int)

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

See QHeaderView::setMinimumSectionSize(int)

*/ @io.qt.QtPropertyWriter(name="minimumSectionSize") @io.qt.QtUninvokable public final void setMinimumSectionSize(int size){ setMinimumSectionSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), size); } @io.qt.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)

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

See QHeaderView::setSectionHidden(int,bool)

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

See QHeaderView::setSectionResizeMode(QHeaderView::ResizeMode)

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

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

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

See QHeaderView::setSectionsClickable(bool)

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

See QHeaderView::setSectionsMovable(bool)

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

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

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

See QHeaderView::setSortIndicatorClearable(bool)

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

See QHeaderView::setSortIndicatorShown(bool)

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

See QHeaderView::setStretchLastSection(bool)

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

See QHeaderView::showSection(int)

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

See QHeaderView::sortIndicatorOrder()const

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

See QHeaderView::sortIndicatorSection()const

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

See QHeaderView::stretchLastSection()const

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

See QHeaderView::stretchSectionCount()const

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

See QHeaderView::swapSections(int,int)

*/ @io.qt.QtUninvokable public final void swapSections(int first, int second){ swapSections_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), first, second); } @io.qt.QtUninvokable private native void swapSections_native_int_int(long __this__nativeId, int first, int second); 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

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

See QHeaderView::visualIndexAt(int)const

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

See QAbstractItemView::currentChanged(QModelIndex,QModelIndex)

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

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

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

See QObject::event(QEvent*)

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

See QAbstractItemView::horizontalOffset()const

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

See QAbstractItemView::indexAt(QPoint)const

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

See QHeaderView::initStyleOption(QStyleOptionHeader*)const

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

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

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

See QAbstractItemView::isIndexHidden(QModelIndex)const

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

See QWidget::mouseDoubleClickEvent(QMouseEvent*)

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

See QWidget::mouseMoveEvent(QMouseEvent*)

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

See QWidget::mousePressEvent(QMouseEvent*)

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

See QWidget::mouseReleaseEvent(QMouseEvent*)

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

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

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

See QWidget::paintEvent(QPaintEvent*)

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

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

*/ @io.qt.QtUninvokable protected void paintSection(io.qt.gui.QPainter painter, io.qt.core.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); } @io.qt.QtUninvokable private native void paintSection_native_QPainter_ptr_cref_QRect_int_constfct(long __this__nativeId, long painter, long rect, int logicalIndex); /** *

See QAbstractItemView::reset()

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

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

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

See QAbstractScrollArea::scrollContentsBy(int,int)

*/ @io.qt.QtUninvokable protected void scrollContentsBy(int dx, int dy){ scrollContentsBy_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @io.qt.QtUninvokable private native void scrollContentsBy_native_int_int(long __this__nativeId, int dx, int dy); /** *

See QAbstractItemView::scrollTo(QModelIndex,QAbstractItemView::ScrollHint)

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

See QHeaderView::sectionSizeFromContents(int)const

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

See QAbstractItemView::setModel(QAbstractItemModel*)

*/ @io.qt.QtUninvokable public void setModel(io.qt.core.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); } @io.qt.QtUninvokable private native void setModel_native_QAbstractItemModel_ptr(long __this__nativeId, long model); /** *

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

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

See QWidget::setVisible(bool)

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

See QWidget::sizeHint()const

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

See QAbstractItemView::updateGeometries()

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

See QAbstractItemView::verticalOffset()const

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

See QAbstractScrollArea::viewportEvent(QEvent*)

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

See QAbstractItemView::visualRect(QModelIndex)const

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

See QAbstractItemView::visualRegionForSelection(QItemSelection)const

*/ @io.qt.QtUninvokable protected io.qt.gui.QRegion visualRegionForSelection(io.qt.core.QItemSelection selection){ return visualRegionForSelection_native_cref_QItemSelection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(selection)); } @io.qt.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. */ @io.qt.NativeAccess protected QHeaderView(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy