2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QTABWIDGET_H
|
|
|
|
#define GEN_QTABWIDGET_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QIcon;
|
|
|
|
class QMetaObject;
|
|
|
|
class QSize;
|
|
|
|
class QTabBar;
|
|
|
|
class QTabWidget;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QIcon QIcon;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QTabBar QTabBar;
|
|
|
|
typedef struct QTabWidget QTabWidget;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QTabWidget* QTabWidget_new();
|
|
|
|
QTabWidget* QTabWidget_new2(QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QTabWidget_MetaObject(const QTabWidget* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTabWidget_Tr(const char* s);
|
|
|
|
struct miqt_string* QTabWidget_TrUtf8(const char* s);
|
|
|
|
int QTabWidget_AddTab(QTabWidget* self, QWidget* widget, struct miqt_string* param2);
|
|
|
|
int QTabWidget_AddTab2(QTabWidget* self, QWidget* widget, QIcon* icon, struct miqt_string* label);
|
|
|
|
int QTabWidget_InsertTab(QTabWidget* self, int index, QWidget* widget, struct miqt_string* param3);
|
|
|
|
int QTabWidget_InsertTab2(QTabWidget* self, int index, QWidget* widget, QIcon* icon, struct miqt_string* label);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_RemoveTab(QTabWidget* self, int index);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTabWidget_IsTabEnabled(const QTabWidget* self, int index);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetTabEnabled(QTabWidget* self, int index, bool enabled);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTabWidget_IsTabVisible(const QTabWidget* self, int index);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetTabVisible(QTabWidget* self, int index, bool visible);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTabWidget_TabText(const QTabWidget* self, int index);
|
|
|
|
void QTabWidget_SetTabText(QTabWidget* self, int index, struct miqt_string* text);
|
2024-09-11 05:41:09 +00:00
|
|
|
QIcon* QTabWidget_TabIcon(const QTabWidget* self, int index);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetTabIcon(QTabWidget* self, int index, QIcon* icon);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QTabWidget_SetTabToolTip(QTabWidget* self, int index, struct miqt_string* tip);
|
|
|
|
struct miqt_string* QTabWidget_TabToolTip(const QTabWidget* self, int index);
|
|
|
|
void QTabWidget_SetTabWhatsThis(QTabWidget* self, int index, struct miqt_string* text);
|
|
|
|
struct miqt_string* QTabWidget_TabWhatsThis(const QTabWidget* self, int index);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QTabWidget_CurrentIndex(const QTabWidget* self);
|
|
|
|
QWidget* QTabWidget_CurrentWidget(const QTabWidget* self);
|
|
|
|
QWidget* QTabWidget_Widget(const QTabWidget* self, int index);
|
|
|
|
int QTabWidget_IndexOf(const QTabWidget* self, QWidget* widget);
|
|
|
|
int QTabWidget_Count(const QTabWidget* self);
|
|
|
|
uintptr_t QTabWidget_TabPosition(const QTabWidget* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTabWidget_SetTabPosition(QTabWidget* self, uintptr_t position);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTabWidget_TabsClosable(const QTabWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetTabsClosable(QTabWidget* self, bool closeable);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTabWidget_IsMovable(const QTabWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetMovable(QTabWidget* self, bool movable);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QTabWidget_TabShape(const QTabWidget* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTabWidget_SetTabShape(QTabWidget* self, uintptr_t s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QTabWidget_SizeHint(const QTabWidget* self);
|
|
|
|
QSize* QTabWidget_MinimumSizeHint(const QTabWidget* self);
|
|
|
|
int QTabWidget_HeightForWidth(const QTabWidget* self, int width);
|
|
|
|
bool QTabWidget_HasHeightForWidth(const QTabWidget* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTabWidget_SetCornerWidget(QTabWidget* self, QWidget* w);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QTabWidget_CornerWidget(const QTabWidget* self);
|
|
|
|
uintptr_t QTabWidget_ElideMode(const QTabWidget* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTabWidget_SetElideMode(QTabWidget* self, uintptr_t mode);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QTabWidget_IconSize(const QTabWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetIconSize(QTabWidget* self, QSize* size);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTabWidget_UsesScrollButtons(const QTabWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetUsesScrollButtons(QTabWidget* self, bool useButtons);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTabWidget_DocumentMode(const QTabWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetDocumentMode(QTabWidget* self, bool set);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QTabWidget_TabBarAutoHide(const QTabWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetTabBarAutoHide(QTabWidget* self, bool enabled);
|
|
|
|
void QTabWidget_Clear(QTabWidget* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QTabBar* QTabWidget_TabBar(const QTabWidget* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_SetCurrentIndex(QTabWidget* self, int index);
|
|
|
|
void QTabWidget_SetCurrentWidget(QTabWidget* self, QWidget* widget);
|
|
|
|
void QTabWidget_CurrentChanged(QTabWidget* self, int index);
|
|
|
|
void QTabWidget_connect_CurrentChanged(QTabWidget* self, void* slot);
|
|
|
|
void QTabWidget_TabCloseRequested(QTabWidget* self, int index);
|
|
|
|
void QTabWidget_connect_TabCloseRequested(QTabWidget* self, void* slot);
|
|
|
|
void QTabWidget_TabBarClicked(QTabWidget* self, int index);
|
|
|
|
void QTabWidget_connect_TabBarClicked(QTabWidget* self, void* slot);
|
|
|
|
void QTabWidget_TabBarDoubleClicked(QTabWidget* self, int index);
|
|
|
|
void QTabWidget_connect_TabBarDoubleClicked(QTabWidget* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QTabWidget_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QTabWidget_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QTabWidget_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QTabWidget_TrUtf83(const char* s, const char* c, int n);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QTabWidget_SetCornerWidget2(QTabWidget* self, QWidget* w, uintptr_t corner);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QTabWidget_CornerWidget1(const QTabWidget* self, uintptr_t corner);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_Delete(QTabWidget* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|