2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QTABWIDGET_H
|
|
|
|
#define MIQT_QT_GEN_QTABWIDGET_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 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
|
|
|
|
|
2024-10-26 00:46:42 +00:00
|
|
|
QTabWidget* QTabWidget_new(QWidget* parent);
|
|
|
|
QTabWidget* QTabWidget_new2();
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QTabWidget_MetaObject(const QTabWidget* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QTabWidget_Metacast(QTabWidget* self, const char* param1);
|
2024-10-18 23:53:33 +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-10-18 23:53:33 +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-10-18 23:53:33 +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);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QTabWidget_TabPosition(const QTabWidget* self);
|
|
|
|
void QTabWidget_SetTabPosition(QTabWidget* self, int 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-18 00:12:02 +00:00
|
|
|
int QTabWidget_TabShape(const QTabWidget* self);
|
|
|
|
void QTabWidget_SetTabShape(QTabWidget* self, int 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);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QTabWidget_ElideMode(const QTabWidget* self);
|
|
|
|
void QTabWidget_SetElideMode(QTabWidget* self, int 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);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTabWidget_connect_CurrentChanged(QTabWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_TabCloseRequested(QTabWidget* self, int index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTabWidget_connect_TabCloseRequested(QTabWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_TabBarClicked(QTabWidget* self, int index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTabWidget_connect_TabBarClicked(QTabWidget* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_TabBarDoubleClicked(QTabWidget* self, int index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QTabWidget_connect_TabBarDoubleClicked(QTabWidget* self, intptr_t slot);
|
2024-10-18 23:53:33 +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-09-18 00:12:02 +00:00
|
|
|
void QTabWidget_SetCornerWidget2(QTabWidget* self, QWidget* w, int corner);
|
|
|
|
QWidget* QTabWidget_CornerWidget1(const QTabWidget* self, int corner);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QTabWidget_Delete(QTabWidget* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|