2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QTABLEWIDGET_H
|
|
|
|
#define GEN_QTABLEWIDGET_H
|
|
|
|
|
|
|
|
#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 QBrush;
|
|
|
|
class QColor;
|
|
|
|
class QDataStream;
|
|
|
|
class QFont;
|
|
|
|
class QIcon;
|
|
|
|
class QMetaObject;
|
|
|
|
class QPoint;
|
|
|
|
class QRect;
|
|
|
|
class QSize;
|
|
|
|
class QTableWidget;
|
|
|
|
class QTableWidgetItem;
|
|
|
|
class QTableWidgetSelectionRange;
|
|
|
|
class QVariant;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QBrush QBrush;
|
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QDataStream QDataStream;
|
|
|
|
typedef struct QFont QFont;
|
|
|
|
typedef struct QIcon QIcon;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QTableWidget QTableWidget;
|
|
|
|
typedef struct QTableWidgetItem QTableWidgetItem;
|
|
|
|
typedef struct QTableWidgetSelectionRange QTableWidgetSelectionRange;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QTableWidgetSelectionRange* QTableWidgetSelectionRange_new();
|
|
|
|
QTableWidgetSelectionRange* QTableWidgetSelectionRange_new2(int top, int left, int bottom, int right);
|
|
|
|
QTableWidgetSelectionRange* QTableWidgetSelectionRange_new3(QTableWidgetSelectionRange* other);
|
|
|
|
void QTableWidgetSelectionRange_OperatorAssign(QTableWidgetSelectionRange* self, QTableWidgetSelectionRange* other);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTableWidgetSelectionRange_TopRow(const QTableWidgetSelectionRange* self);
|
|
|
|
int QTableWidgetSelectionRange_BottomRow(const QTableWidgetSelectionRange* self);
|
|
|
|
int QTableWidgetSelectionRange_LeftColumn(const QTableWidgetSelectionRange* self);
|
|
|
|
int QTableWidgetSelectionRange_RightColumn(const QTableWidgetSelectionRange* self);
|
|
|
|
int QTableWidgetSelectionRange_RowCount(const QTableWidgetSelectionRange* self);
|
|
|
|
int QTableWidgetSelectionRange_ColumnCount(const QTableWidgetSelectionRange* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetSelectionRange_Delete(QTableWidgetSelectionRange* self);
|
|
|
|
|
|
|
|
QTableWidgetItem* QTableWidgetItem_new();
|
2024-09-14 22:29:05 +00:00
|
|
|
QTableWidgetItem* QTableWidgetItem_new2(struct miqt_string* text);
|
|
|
|
QTableWidgetItem* QTableWidgetItem_new3(QIcon* icon, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
QTableWidgetItem* QTableWidgetItem_new4(QTableWidgetItem* other);
|
|
|
|
QTableWidgetItem* QTableWidgetItem_new5(int typeVal);
|
2024-09-14 22:29:05 +00:00
|
|
|
QTableWidgetItem* QTableWidgetItem_new6(struct miqt_string* text, int typeVal);
|
|
|
|
QTableWidgetItem* QTableWidgetItem_new7(QIcon* icon, struct miqt_string* text, int typeVal);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTableWidgetItem* QTableWidgetItem_Clone(const QTableWidgetItem* self);
|
|
|
|
QTableWidget* QTableWidgetItem_TableWidget(const QTableWidgetItem* self);
|
|
|
|
int QTableWidgetItem_Row(const QTableWidgetItem* self);
|
|
|
|
int QTableWidgetItem_Column(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetSelected(QTableWidgetItem* self, bool selectVal);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTableWidgetItem_IsSelected(const QTableWidgetItem* self);
|
|
|
|
int QTableWidgetItem_Flags(const QTableWidgetItem* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTableWidgetItem_SetFlags(QTableWidgetItem* self, int flags);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTableWidgetItem_Text(const QTableWidgetItem* self);
|
|
|
|
void QTableWidgetItem_SetText(QTableWidgetItem* self, struct miqt_string* text);
|
2024-09-11 05:41:09 +00:00
|
|
|
QIcon* QTableWidgetItem_Icon(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetIcon(QTableWidgetItem* self, QIcon* icon);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTableWidgetItem_StatusTip(const QTableWidgetItem* self);
|
|
|
|
void QTableWidgetItem_SetStatusTip(QTableWidgetItem* self, struct miqt_string* statusTip);
|
|
|
|
struct miqt_string* QTableWidgetItem_ToolTip(const QTableWidgetItem* self);
|
|
|
|
void QTableWidgetItem_SetToolTip(QTableWidgetItem* self, struct miqt_string* toolTip);
|
|
|
|
struct miqt_string* QTableWidgetItem_WhatsThis(const QTableWidgetItem* self);
|
|
|
|
void QTableWidgetItem_SetWhatsThis(QTableWidgetItem* self, struct miqt_string* whatsThis);
|
2024-09-11 05:41:09 +00:00
|
|
|
QFont* QTableWidgetItem_Font(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetFont(QTableWidgetItem* self, QFont* font);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTableWidgetItem_TextAlignment(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetTextAlignment(QTableWidgetItem* self, int alignment);
|
2024-09-11 05:41:09 +00:00
|
|
|
QColor* QTableWidgetItem_BackgroundColor(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetBackgroundColor(QTableWidgetItem* self, QColor* color);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBrush* QTableWidgetItem_Background(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetBackground(QTableWidgetItem* self, QBrush* brush);
|
2024-09-11 05:41:09 +00:00
|
|
|
QColor* QTableWidgetItem_TextColor(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetTextColor(QTableWidgetItem* self, QColor* color);
|
2024-09-11 05:41:09 +00:00
|
|
|
QBrush* QTableWidgetItem_Foreground(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetForeground(QTableWidgetItem* self, QBrush* brush);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QTableWidgetItem_CheckState(const QTableWidgetItem* self);
|
|
|
|
void QTableWidgetItem_SetCheckState(QTableWidgetItem* self, int state);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QTableWidgetItem_SizeHint(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetSizeHint(QTableWidgetItem* self, QSize* size);
|
2024-09-11 05:41:09 +00:00
|
|
|
QVariant* QTableWidgetItem_Data(const QTableWidgetItem* self, int role);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_SetData(QTableWidgetItem* self, int role, QVariant* value);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTableWidgetItem_OperatorLesser(const QTableWidgetItem* self, QTableWidgetItem* other);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_Read(QTableWidgetItem* self, QDataStream* in);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QTableWidgetItem_Write(const QTableWidgetItem* self, QDataStream* out);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_OperatorAssign(QTableWidgetItem* self, QTableWidgetItem* other);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTableWidgetItem_Type(const QTableWidgetItem* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidgetItem_Delete(QTableWidgetItem* self);
|
|
|
|
|
|
|
|
QTableWidget* QTableWidget_new();
|
|
|
|
QTableWidget* QTableWidget_new2(int rows, int columns);
|
|
|
|
QTableWidget* QTableWidget_new3(QWidget* parent);
|
|
|
|
QTableWidget* QTableWidget_new4(int rows, int columns, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QTableWidget_MetaObject(const QTableWidget* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QTableWidget_Metacast(QTableWidget* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTableWidget_Tr(const char* s);
|
|
|
|
struct miqt_string* QTableWidget_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetRowCount(QTableWidget* self, int rows);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTableWidget_RowCount(const QTableWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetColumnCount(QTableWidget* self, int columns);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTableWidget_ColumnCount(const QTableWidget* self);
|
|
|
|
int QTableWidget_Row(const QTableWidget* self, QTableWidgetItem* item);
|
|
|
|
int QTableWidget_Column(const QTableWidget* self, QTableWidgetItem* item);
|
|
|
|
QTableWidgetItem* QTableWidget_Item(const QTableWidget* self, int row, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetItem(QTableWidget* self, int row, int column, QTableWidgetItem* item);
|
|
|
|
QTableWidgetItem* QTableWidget_TakeItem(QTableWidget* self, int row, int column);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTableWidgetItem* QTableWidget_VerticalHeaderItem(const QTableWidget* self, int row);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetVerticalHeaderItem(QTableWidget* self, int row, QTableWidgetItem* item);
|
|
|
|
QTableWidgetItem* QTableWidget_TakeVerticalHeaderItem(QTableWidget* self, int row);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTableWidgetItem* QTableWidget_HorizontalHeaderItem(const QTableWidget* self, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetHorizontalHeaderItem(QTableWidget* self, int column, QTableWidgetItem* item);
|
|
|
|
QTableWidgetItem* QTableWidget_TakeHorizontalHeaderItem(QTableWidget* self, int column);
|
2024-09-16 07:33:40 +00:00
|
|
|
void QTableWidget_SetVerticalHeaderLabels(QTableWidget* self, struct miqt_array* /* of struct miqt_string* */ labels);
|
|
|
|
void QTableWidget_SetHorizontalHeaderLabels(QTableWidget* self, struct miqt_array* /* of struct miqt_string* */ labels);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTableWidget_CurrentRow(const QTableWidget* self);
|
|
|
|
int QTableWidget_CurrentColumn(const QTableWidget* self);
|
|
|
|
QTableWidgetItem* QTableWidget_CurrentItem(const QTableWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetCurrentItem(QTableWidget* self, QTableWidgetItem* item);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTableWidget_SetCurrentItem2(QTableWidget* self, QTableWidgetItem* item, int command);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetCurrentCell(QTableWidget* self, int row, int column);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTableWidget_SetCurrentCell2(QTableWidget* self, int row, int column, int command);
|
|
|
|
void QTableWidget_SortItems(QTableWidget* self, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetSortingEnabled(QTableWidget* self, bool enable);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTableWidget_IsSortingEnabled(const QTableWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_EditItem(QTableWidget* self, QTableWidgetItem* item);
|
|
|
|
void QTableWidget_OpenPersistentEditor(QTableWidget* self, QTableWidgetItem* item);
|
|
|
|
void QTableWidget_ClosePersistentEditor(QTableWidget* self, QTableWidgetItem* item);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTableWidget_IsPersistentEditorOpen(const QTableWidget* self, QTableWidgetItem* item);
|
|
|
|
QWidget* QTableWidget_CellWidget(const QTableWidget* self, int row, int column);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetCellWidget(QTableWidget* self, int row, int column, QWidget* widget);
|
|
|
|
void QTableWidget_RemoveCellWidget(QTableWidget* self, int row, int column);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTableWidget_IsItemSelected(const QTableWidget* self, QTableWidgetItem* item);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetItemSelected(QTableWidget* self, QTableWidgetItem* item, bool selectVal);
|
|
|
|
void QTableWidget_SetRangeSelected(QTableWidget* self, QTableWidgetSelectionRange* rangeVal, bool selectVal);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_array* QTableWidget_SelectedRanges(const QTableWidget* self);
|
|
|
|
struct miqt_array* QTableWidget_SelectedItems(const QTableWidget* self);
|
|
|
|
struct miqt_array* QTableWidget_FindItems(const QTableWidget* self, struct miqt_string* text, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTableWidget_VisualRow(const QTableWidget* self, int logicalRow);
|
|
|
|
int QTableWidget_VisualColumn(const QTableWidget* self, int logicalColumn);
|
|
|
|
QTableWidgetItem* QTableWidget_ItemAt(const QTableWidget* self, QPoint* p);
|
|
|
|
QTableWidgetItem* QTableWidget_ItemAt2(const QTableWidget* self, int x, int y);
|
|
|
|
QRect* QTableWidget_VisualItemRect(const QTableWidget* self, QTableWidgetItem* item);
|
|
|
|
QTableWidgetItem* QTableWidget_ItemPrototype(const QTableWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_SetItemPrototype(QTableWidget* self, QTableWidgetItem* item);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTableWidget_ScrollToItem(QTableWidget* self, QTableWidgetItem* item);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_InsertRow(QTableWidget* self, int row);
|
|
|
|
void QTableWidget_InsertColumn(QTableWidget* self, int column);
|
|
|
|
void QTableWidget_RemoveRow(QTableWidget* self, int row);
|
|
|
|
void QTableWidget_RemoveColumn(QTableWidget* self, int column);
|
|
|
|
void QTableWidget_Clear(QTableWidget* self);
|
|
|
|
void QTableWidget_ClearContents(QTableWidget* self);
|
|
|
|
void QTableWidget_ItemPressed(QTableWidget* self, QTableWidgetItem* item);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_ItemPressed(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_ItemClicked(QTableWidget* self, QTableWidgetItem* item);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_ItemClicked(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_ItemDoubleClicked(QTableWidget* self, QTableWidgetItem* item);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_ItemDoubleClicked(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_ItemActivated(QTableWidget* self, QTableWidgetItem* item);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_ItemActivated(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_ItemEntered(QTableWidget* self, QTableWidgetItem* item);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_ItemEntered(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_ItemChanged(QTableWidget* self, QTableWidgetItem* item);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_ItemChanged(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_CurrentItemChanged(QTableWidget* self, QTableWidgetItem* current, QTableWidgetItem* previous);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_CurrentItemChanged(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_ItemSelectionChanged(QTableWidget* self);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_ItemSelectionChanged(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_CellPressed(QTableWidget* self, int row, int column);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_CellPressed(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_CellClicked(QTableWidget* self, int row, int column);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_CellClicked(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_CellDoubleClicked(QTableWidget* self, int row, int column);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_CellDoubleClicked(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_CellActivated(QTableWidget* self, int row, int column);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_CellActivated(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_CellEntered(QTableWidget* self, int row, int column);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_CellEntered(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_CellChanged(QTableWidget* self, int row, int column);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_CellChanged(QTableWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_CurrentCellChanged(QTableWidget* self, int currentRow, int currentColumn, int previousRow, int previousColumn);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTableWidget_connect_CurrentCellChanged(QTableWidget* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTableWidget_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QTableWidget_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QTableWidget_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QTableWidget_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QTableWidget_SortItems2(QTableWidget* self, int column, int order);
|
|
|
|
void QTableWidget_ScrollToItem2(QTableWidget* self, QTableWidgetItem* item, int hint);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTableWidget_Delete(QTableWidget* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|