2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QDIAL_H
|
|
|
|
#define GEN_QDIAL_H
|
|
|
|
|
|
|
|
#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 QDial;
|
|
|
|
class QMetaObject;
|
|
|
|
class QSize;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QDial QDial;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-10-26 00:46:42 +00:00
|
|
|
QDial* QDial_new(QWidget* parent);
|
|
|
|
QDial* QDial_new2();
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QDial_MetaObject(const QDial* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QDial_Metacast(QDial* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDial_Tr(const char* s);
|
|
|
|
struct miqt_string QDial_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QDial_Wrapping(const QDial* self);
|
|
|
|
int QDial_NotchSize(const QDial* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDial_SetNotchTarget(QDial* self, double target);
|
2024-09-11 05:41:09 +00:00
|
|
|
double QDial_NotchTarget(const QDial* self);
|
|
|
|
bool QDial_NotchesVisible(const QDial* self);
|
|
|
|
QSize* QDial_SizeHint(const QDial* self);
|
|
|
|
QSize* QDial_MinimumSizeHint(const QDial* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDial_SetNotchesVisible(QDial* self, bool visible);
|
|
|
|
void QDial_SetWrapping(QDial* self, bool on);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QDial_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QDial_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QDial_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QDial_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QDial_Delete(QDial* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|