2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QWIZARD_H
|
|
|
|
#define GEN_QWIZARD_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2024-08-29 07:01:51 +00:00
|
|
|
class QAbstractButton;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QMetaObject;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QPixmap;
|
2024-08-25 04:08:24 +00:00
|
|
|
class QSize;
|
|
|
|
class QVariant;
|
|
|
|
class QWidget;
|
|
|
|
class QWizard;
|
|
|
|
class QWizardPage;
|
|
|
|
#else
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QAbstractButton QAbstractButton;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QMetaObject QMetaObject;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QPixmap QPixmap;
|
2024-08-25 04:08:24 +00:00
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
typedef struct QWizard QWizard;
|
|
|
|
typedef struct QWizardPage QWizardPage;
|
|
|
|
#endif
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QWizard* QWizard_new();
|
|
|
|
QWizard* QWizard_new2(QWidget* parent);
|
|
|
|
QWizard* QWizard_new3(QWidget* parent, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QWizard_MetaObject(const QWizard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
void QWizard_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
int QWizard_AddPage(QWizard* self, QWizardPage* page);
|
|
|
|
void QWizard_SetPage(QWizard* self, int id, QWizardPage* page);
|
|
|
|
void QWizard_RemovePage(QWizard* self, int id);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWizardPage* QWizard_Page(const QWizard* self, int id);
|
|
|
|
bool QWizard_HasVisitedPage(const QWizard* self, int id);
|
|
|
|
void QWizard_VisitedPages(const QWizard* self, int** _out, size_t* _out_len);
|
|
|
|
void QWizard_VisitedIds(const QWizard* self, int** _out, size_t* _out_len);
|
|
|
|
void QWizard_PageIds(const QWizard* self, int** _out, size_t* _out_len);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizard_SetStartId(QWizard* self, int id);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QWizard_StartId(const QWizard* self);
|
|
|
|
QWizardPage* QWizard_CurrentPage(const QWizard* self);
|
|
|
|
int QWizard_CurrentId(const QWizard* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QWizard_ValidateCurrentPage(QWizard* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QWizard_NextId(const QWizard* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizard_SetField(QWizard* self, const char* name, size_t name_Strlen, QVariant* value);
|
2024-09-11 05:41:09 +00:00
|
|
|
QVariant* QWizard_Field(const QWizard* self, const char* name, size_t name_Strlen);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetWizardStyle(QWizard* self, uintptr_t style);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QWizard_WizardStyle(const QWizard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetOption(QWizard* self, uintptr_t option);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QWizard_TestOption(const QWizard* self, uintptr_t option);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetOptions(QWizard* self, int options);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QWizard_Options(const QWizard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetButtonText(QWizard* self, int which, const char* text, size_t text_Strlen);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QWizard_ButtonText(const QWizard* self, int which, char** _out, int* _out_Strlen);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetButtonLayout(QWizard* self, int* layout, size_t layout_len);
|
|
|
|
void QWizard_SetButton(QWizard* self, int which, QAbstractButton* button);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAbstractButton* QWizard_Button(const QWizard* self, int which);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetTitleFormat(QWizard* self, uintptr_t format);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QWizard_TitleFormat(const QWizard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetSubTitleFormat(QWizard* self, uintptr_t format);
|
2024-09-11 05:41:09 +00:00
|
|
|
uintptr_t QWizard_SubTitleFormat(const QWizard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetPixmap(QWizard* self, uintptr_t which, QPixmap* pixmap);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPixmap* QWizard_Pixmap(const QWizard* self, uintptr_t which);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizard_SetSideWidget(QWizard* self, QWidget* widget);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QWizard_SideWidget(const QWizard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_SetDefaultProperty(QWizard* self, const char* className, const char* property, const char* changedSignal);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizard_SetVisible(QWizard* self, bool visible);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QWizard_SizeHint(const QWizard* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizard_CurrentIdChanged(QWizard* self, int id);
|
|
|
|
void QWizard_connect_CurrentIdChanged(QWizard* self, void* slot);
|
|
|
|
void QWizard_HelpRequested(QWizard* self);
|
|
|
|
void QWizard_connect_HelpRequested(QWizard* self, void* slot);
|
|
|
|
void QWizard_CustomButtonClicked(QWizard* self, int which);
|
|
|
|
void QWizard_connect_CustomButtonClicked(QWizard* self, void* slot);
|
|
|
|
void QWizard_PageAdded(QWizard* self, int id);
|
|
|
|
void QWizard_connect_PageAdded(QWizard* self, void* slot);
|
|
|
|
void QWizard_PageRemoved(QWizard* self, int id);
|
|
|
|
void QWizard_connect_PageRemoved(QWizard* self, void* slot);
|
|
|
|
void QWizard_Back(QWizard* self);
|
|
|
|
void QWizard_Next(QWizard* self);
|
|
|
|
void QWizard_Restart(QWizard* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizard_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QWizard_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QWizard_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QWizard_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QWizard_SetOption2(QWizard* self, uintptr_t option, bool on);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizard_Delete(QWizard* self);
|
|
|
|
|
|
|
|
QWizardPage* QWizardPage_new();
|
|
|
|
QWizardPage* QWizardPage_new2(QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QWizardPage_MetaObject(const QWizardPage* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizardPage_Tr(const char* s, char** _out, int* _out_Strlen);
|
|
|
|
void QWizardPage_TrUtf8(const char* s, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizardPage_SetTitle(QWizardPage* self, const char* title, size_t title_Strlen);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QWizardPage_Title(const QWizardPage* self, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizardPage_SetSubTitle(QWizardPage* self, const char* subTitle, size_t subTitle_Strlen);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QWizardPage_SubTitle(const QWizardPage* self, char** _out, int* _out_Strlen);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizardPage_SetPixmap(QWizardPage* self, uintptr_t which, QPixmap* pixmap);
|
2024-09-11 05:41:09 +00:00
|
|
|
QPixmap* QWizardPage_Pixmap(const QWizardPage* self, uintptr_t which);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizardPage_SetFinalPage(QWizardPage* self, bool finalPage);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QWizardPage_IsFinalPage(const QWizardPage* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizardPage_SetCommitPage(QWizardPage* self, bool commitPage);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QWizardPage_IsCommitPage(const QWizardPage* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizardPage_SetButtonText(QWizardPage* self, int which, const char* text, size_t text_Strlen);
|
2024-09-11 05:41:09 +00:00
|
|
|
void QWizardPage_ButtonText(const QWizardPage* self, int which, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizardPage_InitializePage(QWizardPage* self);
|
|
|
|
void QWizardPage_CleanupPage(QWizardPage* self);
|
|
|
|
bool QWizardPage_ValidatePage(QWizardPage* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QWizardPage_IsComplete(const QWizardPage* self);
|
|
|
|
int QWizardPage_NextId(const QWizardPage* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizardPage_CompleteChanged(QWizardPage* self);
|
|
|
|
void QWizardPage_connect_CompleteChanged(QWizardPage* self, void* slot);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QWizardPage_Tr2(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QWizardPage_Tr3(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
|
|
|
void QWizardPage_TrUtf82(const char* s, const char* c, char** _out, int* _out_Strlen);
|
|
|
|
void QWizardPage_TrUtf83(const char* s, const char* c, int n, char** _out, int* _out_Strlen);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QWizardPage_Delete(QWizardPage* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|