miqt/qt/gen_qheaderview.h

136 lines
7.2 KiB
C
Raw Normal View History

#ifndef GEN_QHEADERVIEW_H
#define GEN_QHEADERVIEW_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QAbstractItemModel;
class QByteArray;
class QHeaderView;
class QMetaObject;
class QPoint;
class QSize;
2024-08-29 07:01:51 +00:00
class QWidget;
#else
typedef struct QAbstractItemModel QAbstractItemModel;
typedef struct QByteArray QByteArray;
typedef struct QHeaderView QHeaderView;
typedef struct QMetaObject QMetaObject;
typedef struct QPoint QPoint;
typedef struct QSize QSize;
2024-08-29 07:01:51 +00:00
typedef struct QWidget QWidget;
#endif
2024-08-29 07:01:51 +00:00
QHeaderView* QHeaderView_new(uintptr_t orientation);
QHeaderView* QHeaderView_new2(uintptr_t orientation, QWidget* parent);
QMetaObject* QHeaderView_MetaObject(QHeaderView* self);
2024-08-29 07:01:51 +00:00
void QHeaderView_Tr(const char* s, char** _out, int* _out_Strlen);
void QHeaderView_TrUtf8(const char* s, char** _out, int* _out_Strlen);
void QHeaderView_SetModel(QHeaderView* self, QAbstractItemModel* model);
2024-08-29 07:01:51 +00:00
uintptr_t QHeaderView_Orientation(QHeaderView* self);
int QHeaderView_Offset(QHeaderView* self);
int QHeaderView_Length(QHeaderView* self);
QSize* QHeaderView_SizeHint(QHeaderView* self);
void QHeaderView_SetVisible(QHeaderView* self, bool v);
int QHeaderView_SectionSizeHint(QHeaderView* self, int logicalIndex);
int QHeaderView_VisualIndexAt(QHeaderView* self, int position);
int QHeaderView_LogicalIndexAt(QHeaderView* self, int position);
int QHeaderView_LogicalIndexAt2(QHeaderView* self, int x, int y);
int QHeaderView_LogicalIndexAtWithPos(QHeaderView* self, QPoint* pos);
int QHeaderView_SectionSize(QHeaderView* self, int logicalIndex);
int QHeaderView_SectionPosition(QHeaderView* self, int logicalIndex);
int QHeaderView_SectionViewportPosition(QHeaderView* self, int logicalIndex);
void QHeaderView_MoveSection(QHeaderView* self, int from, int to);
void QHeaderView_SwapSections(QHeaderView* self, int first, int second);
void QHeaderView_ResizeSection(QHeaderView* self, int logicalIndex, int size);
2024-08-29 07:01:51 +00:00
void QHeaderView_ResizeSections(QHeaderView* self, uintptr_t mode);
bool QHeaderView_IsSectionHidden(QHeaderView* self, int logicalIndex);
void QHeaderView_SetSectionHidden(QHeaderView* self, int logicalIndex, bool hide);
int QHeaderView_HiddenSectionCount(QHeaderView* self);
void QHeaderView_HideSection(QHeaderView* self, int logicalIndex);
void QHeaderView_ShowSection(QHeaderView* self, int logicalIndex);
int QHeaderView_Count(QHeaderView* self);
int QHeaderView_VisualIndex(QHeaderView* self, int logicalIndex);
int QHeaderView_LogicalIndex(QHeaderView* self, int visualIndex);
void QHeaderView_SetSectionsMovable(QHeaderView* self, bool movable);
bool QHeaderView_SectionsMovable(QHeaderView* self);
void QHeaderView_SetFirstSectionMovable(QHeaderView* self, bool movable);
bool QHeaderView_IsFirstSectionMovable(QHeaderView* self);
void QHeaderView_SetSectionsClickable(QHeaderView* self, bool clickable);
bool QHeaderView_SectionsClickable(QHeaderView* self);
void QHeaderView_SetHighlightSections(QHeaderView* self, bool highlight);
bool QHeaderView_HighlightSections(QHeaderView* self);
2024-08-29 07:01:51 +00:00
uintptr_t QHeaderView_SectionResizeMode(QHeaderView* self, int logicalIndex);
void QHeaderView_SetSectionResizeMode(QHeaderView* self, uintptr_t mode);
void QHeaderView_SetSectionResizeMode2(QHeaderView* self, int logicalIndex, uintptr_t mode);
void QHeaderView_SetResizeContentsPrecision(QHeaderView* self, int precision);
int QHeaderView_ResizeContentsPrecision(QHeaderView* self);
int QHeaderView_StretchSectionCount(QHeaderView* self);
void QHeaderView_SetSortIndicatorShown(QHeaderView* self, bool show);
bool QHeaderView_IsSortIndicatorShown(QHeaderView* self);
2024-08-29 07:01:51 +00:00
void QHeaderView_SetSortIndicator(QHeaderView* self, int logicalIndex, uintptr_t order);
int QHeaderView_SortIndicatorSection(QHeaderView* self);
2024-08-29 07:01:51 +00:00
uintptr_t QHeaderView_SortIndicatorOrder(QHeaderView* self);
bool QHeaderView_StretchLastSection(QHeaderView* self);
void QHeaderView_SetStretchLastSection(QHeaderView* self, bool stretch);
bool QHeaderView_CascadingSectionResizes(QHeaderView* self);
void QHeaderView_SetCascadingSectionResizes(QHeaderView* self, bool enable);
int QHeaderView_DefaultSectionSize(QHeaderView* self);
void QHeaderView_SetDefaultSectionSize(QHeaderView* self, int size);
void QHeaderView_ResetDefaultSectionSize(QHeaderView* self);
int QHeaderView_MinimumSectionSize(QHeaderView* self);
void QHeaderView_SetMinimumSectionSize(QHeaderView* self, int size);
int QHeaderView_MaximumSectionSize(QHeaderView* self);
void QHeaderView_SetMaximumSectionSize(QHeaderView* self, int size);
2024-08-29 07:01:51 +00:00
int QHeaderView_DefaultAlignment(QHeaderView* self);
void QHeaderView_SetDefaultAlignment(QHeaderView* self, int alignment);
void QHeaderView_DoItemsLayout(QHeaderView* self);
bool QHeaderView_SectionsMoved(QHeaderView* self);
bool QHeaderView_SectionsHidden(QHeaderView* self);
QByteArray* QHeaderView_SaveState(QHeaderView* self);
bool QHeaderView_RestoreState(QHeaderView* self, QByteArray* state);
void QHeaderView_Reset(QHeaderView* self);
void QHeaderView_SetOffset(QHeaderView* self, int offset);
void QHeaderView_SetOffsetToSectionPosition(QHeaderView* self, int visualIndex);
void QHeaderView_SetOffsetToLastSection(QHeaderView* self);
2024-08-29 07:01:51 +00:00
void QHeaderView_HeaderDataChanged(QHeaderView* self, uintptr_t orientation, int logicalFirst, int logicalLast);
void QHeaderView_SectionMoved(QHeaderView* self, int logicalIndex, int oldVisualIndex, int newVisualIndex);
void QHeaderView_connect_SectionMoved(QHeaderView* self, void* slot);
void QHeaderView_SectionResized(QHeaderView* self, int logicalIndex, int oldSize, int newSize);
void QHeaderView_connect_SectionResized(QHeaderView* self, void* slot);
void QHeaderView_SectionPressed(QHeaderView* self, int logicalIndex);
void QHeaderView_connect_SectionPressed(QHeaderView* self, void* slot);
void QHeaderView_SectionClicked(QHeaderView* self, int logicalIndex);
void QHeaderView_connect_SectionClicked(QHeaderView* self, void* slot);
void QHeaderView_SectionEntered(QHeaderView* self, int logicalIndex);
void QHeaderView_connect_SectionEntered(QHeaderView* self, void* slot);
void QHeaderView_SectionDoubleClicked(QHeaderView* self, int logicalIndex);
void QHeaderView_connect_SectionDoubleClicked(QHeaderView* self, void* slot);
void QHeaderView_SectionCountChanged(QHeaderView* self, int oldCount, int newCount);
void QHeaderView_connect_SectionCountChanged(QHeaderView* self, void* slot);
void QHeaderView_SectionHandleDoubleClicked(QHeaderView* self, int logicalIndex);
void QHeaderView_connect_SectionHandleDoubleClicked(QHeaderView* self, void* slot);
void QHeaderView_GeometriesChanged(QHeaderView* self);
void QHeaderView_connect_GeometriesChanged(QHeaderView* self, void* slot);
2024-08-29 07:01:51 +00:00
void QHeaderView_SortIndicatorChanged(QHeaderView* self, int logicalIndex, uintptr_t order);
void QHeaderView_connect_SortIndicatorChanged(QHeaderView* self, void* slot);
void QHeaderView_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
void QHeaderView_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
void QHeaderView_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
void QHeaderView_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
void QHeaderView_Delete(QHeaderView* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif