2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QPROGRESSDIALOG_H
|
|
|
|
#define GEN_QPROGRESSDIALOG_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 QLabel;
|
|
|
|
class QMetaObject;
|
|
|
|
class QProgressBar;
|
|
|
|
class QProgressDialog;
|
|
|
|
class QPushButton;
|
|
|
|
class QSize;
|
2024-08-29 07:01:51 +00:00
|
|
|
class QWidget;
|
2024-08-25 04:08:24 +00:00
|
|
|
#else
|
|
|
|
typedef struct QLabel QLabel;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QProgressBar QProgressBar;
|
|
|
|
typedef struct QProgressDialog QProgressDialog;
|
|
|
|
typedef struct QPushButton QPushButton;
|
|
|
|
typedef struct QSize QSize;
|
2024-08-29 07:01:51 +00:00
|
|
|
typedef struct QWidget QWidget;
|
2024-08-25 04:08:24 +00:00
|
|
|
#endif
|
|
|
|
|
2024-08-29 07:01:51 +00:00
|
|
|
QProgressDialog* QProgressDialog_new();
|
2024-09-14 22:29:05 +00:00
|
|
|
QProgressDialog* QProgressDialog_new2(struct miqt_string* labelText, struct miqt_string* cancelButtonText, int minimum, int maximum);
|
2024-08-29 07:01:51 +00:00
|
|
|
QProgressDialog* QProgressDialog_new3(QWidget* parent);
|
|
|
|
QProgressDialog* QProgressDialog_new4(QWidget* parent, int flags);
|
2024-09-14 22:29:05 +00:00
|
|
|
QProgressDialog* QProgressDialog_new5(struct miqt_string* labelText, struct miqt_string* cancelButtonText, int minimum, int maximum, QWidget* parent);
|
|
|
|
QProgressDialog* QProgressDialog_new6(struct miqt_string* labelText, struct miqt_string* cancelButtonText, int minimum, int maximum, QWidget* parent, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QProgressDialog_MetaObject(const QProgressDialog* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QProgressDialog_Metacast(QProgressDialog* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QProgressDialog_Tr(const char* s);
|
|
|
|
struct miqt_string* QProgressDialog_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QProgressDialog_SetLabel(QProgressDialog* self, QLabel* label);
|
|
|
|
void QProgressDialog_SetCancelButton(QProgressDialog* self, QPushButton* button);
|
|
|
|
void QProgressDialog_SetBar(QProgressDialog* self, QProgressBar* bar);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QProgressDialog_WasCanceled(const QProgressDialog* self);
|
|
|
|
int QProgressDialog_Minimum(const QProgressDialog* self);
|
|
|
|
int QProgressDialog_Maximum(const QProgressDialog* self);
|
|
|
|
int QProgressDialog_Value(const QProgressDialog* self);
|
|
|
|
QSize* QProgressDialog_SizeHint(const QProgressDialog* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QProgressDialog_LabelText(const QProgressDialog* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QProgressDialog_MinimumDuration(const QProgressDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QProgressDialog_SetAutoReset(QProgressDialog* self, bool reset);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QProgressDialog_AutoReset(const QProgressDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QProgressDialog_SetAutoClose(QProgressDialog* self, bool close);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QProgressDialog_AutoClose(const QProgressDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QProgressDialog_Cancel(QProgressDialog* self);
|
|
|
|
void QProgressDialog_Reset(QProgressDialog* self);
|
|
|
|
void QProgressDialog_SetMaximum(QProgressDialog* self, int maximum);
|
|
|
|
void QProgressDialog_SetMinimum(QProgressDialog* self, int minimum);
|
|
|
|
void QProgressDialog_SetRange(QProgressDialog* self, int minimum, int maximum);
|
|
|
|
void QProgressDialog_SetValue(QProgressDialog* self, int progress);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QProgressDialog_SetLabelText(QProgressDialog* self, struct miqt_string* text);
|
|
|
|
void QProgressDialog_SetCancelButtonText(QProgressDialog* self, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QProgressDialog_SetMinimumDuration(QProgressDialog* self, int ms);
|
|
|
|
void QProgressDialog_Canceled(QProgressDialog* self);
|
|
|
|
void QProgressDialog_connect_Canceled(QProgressDialog* self, void* slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QProgressDialog_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QProgressDialog_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QProgressDialog_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QProgressDialog_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QProgressDialog_Delete(QProgressDialog* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|