miqt/qt/gen_qcolumnview.h

71 lines
2.6 KiB
C
Raw Normal View History

#ifndef GEN_QCOLUMNVIEW_H
#define GEN_QCOLUMNVIEW_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "binding.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QAbstractItemModel;
class QColumnView;
class QItemSelectionModel;
class QMetaObject;
class QModelIndex;
class QPoint;
class QRect;
class QSize;
class QWidget;
#else
typedef struct QAbstractItemModel QAbstractItemModel;
typedef struct QColumnView QColumnView;
typedef struct QItemSelectionModel QItemSelectionModel;
typedef struct QMetaObject QMetaObject;
typedef struct QModelIndex QModelIndex;
typedef struct QPoint QPoint;
typedef struct QRect QRect;
typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QColumnView* QColumnView_new();
QColumnView* QColumnView_new2(QWidget* parent);
QMetaObject* QColumnView_MetaObject(const QColumnView* self);
struct miqt_string* QColumnView_Tr(const char* s);
struct miqt_string* QColumnView_TrUtf8(const char* s);
void QColumnView_UpdatePreviewWidget(QColumnView* self, QModelIndex* index);
void QColumnView_connect_UpdatePreviewWidget(QColumnView* self, void* slot);
QModelIndex* QColumnView_IndexAt(const QColumnView* self, QPoint* point);
2024-08-29 07:01:51 +00:00
void QColumnView_ScrollTo(QColumnView* self, QModelIndex* index);
QSize* QColumnView_SizeHint(const QColumnView* self);
QRect* QColumnView_VisualRect(const QColumnView* self, QModelIndex* index);
void QColumnView_SetModel(QColumnView* self, QAbstractItemModel* model);
void QColumnView_SetSelectionModel(QColumnView* self, QItemSelectionModel* selectionModel);
void QColumnView_SetRootIndex(QColumnView* self, QModelIndex* index);
void QColumnView_SelectAll(QColumnView* self);
void QColumnView_SetResizeGripsVisible(QColumnView* self, bool visible);
bool QColumnView_ResizeGripsVisible(const QColumnView* self);
QWidget* QColumnView_PreviewWidget(const QColumnView* self);
void QColumnView_SetPreviewWidget(QColumnView* self, QWidget* widget);
void QColumnView_SetColumnWidths(QColumnView* self, struct miqt_array* /* of int */ list);
struct miqt_array* QColumnView_ColumnWidths(const QColumnView* self);
struct miqt_string* QColumnView_Tr2(const char* s, const char* c);
struct miqt_string* QColumnView_Tr3(const char* s, const char* c, int n);
struct miqt_string* QColumnView_TrUtf82(const char* s, const char* c);
struct miqt_string* QColumnView_TrUtf83(const char* s, const char* c, int n);
2024-08-29 07:01:51 +00:00
void QColumnView_ScrollTo2(QColumnView* self, QModelIndex* index, uintptr_t hint);
void QColumnView_Delete(QColumnView* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif