miqt/qt/gen_qprogressbar.h

70 lines
2.7 KiB
C
Raw Normal View History

#ifndef GEN_QPROGRESSBAR_H
#define GEN_QPROGRESSBAR_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "binding.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QMetaObject;
class QProgressBar;
class QSize;
class QWidget;
#else
typedef struct QMetaObject QMetaObject;
typedef struct QProgressBar QProgressBar;
typedef struct QSize QSize;
typedef struct QWidget QWidget;
#endif
QProgressBar* QProgressBar_new();
QProgressBar* QProgressBar_new2(QWidget* parent);
QMetaObject* QProgressBar_MetaObject(const QProgressBar* self);
struct miqt_string* QProgressBar_Tr(const char* s);
struct miqt_string* QProgressBar_TrUtf8(const char* s);
int QProgressBar_Minimum(const QProgressBar* self);
int QProgressBar_Maximum(const QProgressBar* self);
int QProgressBar_Value(const QProgressBar* self);
struct miqt_string* QProgressBar_Text(const QProgressBar* self);
void QProgressBar_SetTextVisible(QProgressBar* self, bool visible);
bool QProgressBar_IsTextVisible(const QProgressBar* self);
int QProgressBar_Alignment(const QProgressBar* self);
2024-08-29 07:01:51 +00:00
void QProgressBar_SetAlignment(QProgressBar* self, int alignment);
QSize* QProgressBar_SizeHint(const QProgressBar* self);
QSize* QProgressBar_MinimumSizeHint(const QProgressBar* self);
uintptr_t QProgressBar_Orientation(const QProgressBar* self);
void QProgressBar_SetInvertedAppearance(QProgressBar* self, bool invert);
bool QProgressBar_InvertedAppearance(const QProgressBar* self);
2024-08-29 07:01:51 +00:00
void QProgressBar_SetTextDirection(QProgressBar* self, uintptr_t textDirection);
uintptr_t QProgressBar_TextDirection(const QProgressBar* self);
void QProgressBar_SetFormat(QProgressBar* self, struct miqt_string* format);
void QProgressBar_ResetFormat(QProgressBar* self);
struct miqt_string* QProgressBar_Format(const QProgressBar* self);
void QProgressBar_Reset(QProgressBar* self);
void QProgressBar_SetRange(QProgressBar* self, int minimum, int maximum);
void QProgressBar_SetMinimum(QProgressBar* self, int minimum);
void QProgressBar_SetMaximum(QProgressBar* self, int maximum);
void QProgressBar_SetValue(QProgressBar* self, int value);
2024-08-29 07:01:51 +00:00
void QProgressBar_SetOrientation(QProgressBar* self, uintptr_t orientation);
void QProgressBar_ValueChanged(QProgressBar* self, int value);
void QProgressBar_connect_ValueChanged(QProgressBar* self, void* slot);
struct miqt_string* QProgressBar_Tr2(const char* s, const char* c);
struct miqt_string* QProgressBar_Tr3(const char* s, const char* c, int n);
struct miqt_string* QProgressBar_TrUtf82(const char* s, const char* c);
struct miqt_string* QProgressBar_TrUtf83(const char* s, const char* c, int n);
void QProgressBar_Delete(QProgressBar* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif