2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QHEADERVIEW_H
|
|
|
|
#define MIQT_QT_GEN_QHEADERVIEW_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#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;
|
2024-08-25 04:08:24 +00:00
|
|
|
#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;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-09-18 00:12:02 +00:00
|
|
|
QHeaderView* QHeaderView_new(int orientation);
|
|
|
|
QHeaderView* QHeaderView_new2(int orientation, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QHeaderView_MetaObject(const QHeaderView* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QHeaderView_Metacast(QHeaderView* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QHeaderView_Tr(const char* s);
|
|
|
|
struct miqt_string QHeaderView_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetModel(QHeaderView* self, QAbstractItemModel* model);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QHeaderView_Orientation(const QHeaderView* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_Offset(const QHeaderView* self);
|
|
|
|
int QHeaderView_Length(const QHeaderView* self);
|
|
|
|
QSize* QHeaderView_SizeHint(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetVisible(QHeaderView* self, bool v);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_SectionSizeHint(const QHeaderView* self, int logicalIndex);
|
|
|
|
int QHeaderView_VisualIndexAt(const QHeaderView* self, int position);
|
|
|
|
int QHeaderView_LogicalIndexAt(const QHeaderView* self, int position);
|
|
|
|
int QHeaderView_LogicalIndexAt2(const QHeaderView* self, int x, int y);
|
|
|
|
int QHeaderView_LogicalIndexAtWithPos(const QHeaderView* self, QPoint* pos);
|
|
|
|
int QHeaderView_SectionSize(const QHeaderView* self, int logicalIndex);
|
|
|
|
int QHeaderView_SectionPosition(const QHeaderView* self, int logicalIndex);
|
|
|
|
int QHeaderView_SectionViewportPosition(const QHeaderView* self, int logicalIndex);
|
2024-08-25 04:08:24 +00:00
|
|
|
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-09-18 00:12:02 +00:00
|
|
|
void QHeaderView_ResizeSections(QHeaderView* self, int mode);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_IsSectionHidden(const QHeaderView* self, int logicalIndex);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetSectionHidden(QHeaderView* self, int logicalIndex, bool hide);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_HiddenSectionCount(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_HideSection(QHeaderView* self, int logicalIndex);
|
|
|
|
void QHeaderView_ShowSection(QHeaderView* self, int logicalIndex);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_Count(const QHeaderView* self);
|
|
|
|
int QHeaderView_VisualIndex(const QHeaderView* self, int logicalIndex);
|
|
|
|
int QHeaderView_LogicalIndex(const QHeaderView* self, int visualIndex);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetSectionsMovable(QHeaderView* self, bool movable);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_SectionsMovable(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetFirstSectionMovable(QHeaderView* self, bool movable);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_IsFirstSectionMovable(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetSectionsClickable(QHeaderView* self, bool clickable);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_SectionsClickable(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetHighlightSections(QHeaderView* self, bool highlight);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_HighlightSections(const QHeaderView* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QHeaderView_SectionResizeMode(const QHeaderView* self, int logicalIndex);
|
|
|
|
void QHeaderView_SetSectionResizeMode(QHeaderView* self, int mode);
|
|
|
|
void QHeaderView_SetSectionResizeMode2(QHeaderView* self, int logicalIndex, int mode);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetResizeContentsPrecision(QHeaderView* self, int precision);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_ResizeContentsPrecision(const QHeaderView* self);
|
|
|
|
int QHeaderView_StretchSectionCount(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetSortIndicatorShown(QHeaderView* self, bool show);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_IsSortIndicatorShown(const QHeaderView* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QHeaderView_SetSortIndicator(QHeaderView* self, int logicalIndex, int order);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_SortIndicatorSection(const QHeaderView* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QHeaderView_SortIndicatorOrder(const QHeaderView* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_StretchLastSection(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetStretchLastSection(QHeaderView* self, bool stretch);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_CascadingSectionResizes(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetCascadingSectionResizes(QHeaderView* self, bool enable);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_DefaultSectionSize(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetDefaultSectionSize(QHeaderView* self, int size);
|
|
|
|
void QHeaderView_ResetDefaultSectionSize(QHeaderView* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_MinimumSectionSize(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetMinimumSectionSize(QHeaderView* self, int size);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_MaximumSectionSize(const QHeaderView* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SetMaximumSectionSize(QHeaderView* self, int size);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QHeaderView_DefaultAlignment(const QHeaderView* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QHeaderView_SetDefaultAlignment(QHeaderView* self, int alignment);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_DoItemsLayout(QHeaderView* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QHeaderView_SectionsMoved(const QHeaderView* self);
|
|
|
|
bool QHeaderView_SectionsHidden(const QHeaderView* self);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QHeaderView_SaveState(const QHeaderView* self);
|
|
|
|
bool QHeaderView_RestoreState(QHeaderView* self, struct miqt_string state);
|
2024-08-25 04:08:24 +00:00
|
|
|
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-09-18 00:12:02 +00:00
|
|
|
void QHeaderView_HeaderDataChanged(QHeaderView* self, int orientation, int logicalFirst, int logicalLast);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SectionMoved(QHeaderView* self, int logicalIndex, int oldVisualIndex, int newVisualIndex);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SectionMoved(QHeaderView* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SectionResized(QHeaderView* self, int logicalIndex, int oldSize, int newSize);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SectionResized(QHeaderView* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SectionPressed(QHeaderView* self, int logicalIndex);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SectionPressed(QHeaderView* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SectionClicked(QHeaderView* self, int logicalIndex);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SectionClicked(QHeaderView* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SectionEntered(QHeaderView* self, int logicalIndex);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SectionEntered(QHeaderView* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SectionDoubleClicked(QHeaderView* self, int logicalIndex);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SectionDoubleClicked(QHeaderView* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SectionCountChanged(QHeaderView* self, int oldCount, int newCount);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SectionCountChanged(QHeaderView* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_SectionHandleDoubleClicked(QHeaderView* self, int logicalIndex);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SectionHandleDoubleClicked(QHeaderView* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_GeometriesChanged(QHeaderView* self);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_GeometriesChanged(QHeaderView* self, intptr_t slot);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QHeaderView_SortIndicatorChanged(QHeaderView* self, int logicalIndex, int order);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QHeaderView_connect_SortIndicatorChanged(QHeaderView* self, intptr_t slot);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QHeaderView_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QHeaderView_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QHeaderView_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QHeaderView_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QHeaderView_Delete(QHeaderView* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|