mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
51 lines
1.3 KiB
C
51 lines
1.3 KiB
C
|
#ifndef GEN_QDIAL_H
|
||
|
#define GEN_QDIAL_H
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <stddef.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||
|
|
||
|
#include "../libmiqt/libmiqt.h"
|
||
|
|
||
|
#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
|
||
|
|
||
|
QDial* QDial_new();
|
||
|
QDial* QDial_new2(QWidget* parent);
|
||
|
QMetaObject* QDial_MetaObject(const QDial* self);
|
||
|
void* QDial_Metacast(QDial* self, const char* param1);
|
||
|
struct miqt_string QDial_Tr(const char* s);
|
||
|
bool QDial_Wrapping(const QDial* self);
|
||
|
int QDial_NotchSize(const QDial* self);
|
||
|
void QDial_SetNotchTarget(QDial* self, double target);
|
||
|
double QDial_NotchTarget(const QDial* self);
|
||
|
bool QDial_NotchesVisible(const QDial* self);
|
||
|
QSize* QDial_SizeHint(const QDial* self);
|
||
|
QSize* QDial_MinimumSizeHint(const QDial* self);
|
||
|
void QDial_SetNotchesVisible(QDial* self, bool visible);
|
||
|
void QDial_SetWrapping(QDial* self, bool on);
|
||
|
struct miqt_string QDial_Tr2(const char* s, const char* c);
|
||
|
struct miqt_string QDial_Tr3(const char* s, const char* c, int n);
|
||
|
void QDial_Delete(QDial* self);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern C */
|
||
|
#endif
|
||
|
|
||
|
#endif
|