miqt/qt6/gen_qslider.h

104 lines
4.1 KiB
C
Raw Permalink Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QSLIDER_H
#define MIQT_QT6_GEN_QSLIDER_H
2024-10-20 05:21:03 +00:00
#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
2024-11-19 06:29:06 +00:00
class QAbstractSlider;
2024-10-20 05:21:03 +00:00
class QEvent;
2024-11-19 06:29:06 +00:00
class QKeyEvent;
2024-10-20 05:21:03 +00:00
class QMetaObject;
2024-11-19 06:29:06 +00:00
class QMouseEvent;
class QObject;
class QPaintDevice;
class QPaintEvent;
2024-10-20 05:21:03 +00:00
class QSize;
class QSlider;
2024-11-19 06:29:06 +00:00
class QStyleOptionSlider;
class QTimerEvent;
class QWheelEvent;
2024-10-20 05:21:03 +00:00
class QWidget;
#else
2024-11-19 06:29:06 +00:00
typedef struct QAbstractSlider QAbstractSlider;
2024-10-20 05:21:03 +00:00
typedef struct QEvent QEvent;
2024-11-19 06:29:06 +00:00
typedef struct QKeyEvent QKeyEvent;
2024-10-20 05:21:03 +00:00
typedef struct QMetaObject QMetaObject;
2024-11-19 06:29:06 +00:00
typedef struct QMouseEvent QMouseEvent;
typedef struct QObject QObject;
typedef struct QPaintDevice QPaintDevice;
typedef struct QPaintEvent QPaintEvent;
2024-10-20 05:21:03 +00:00
typedef struct QSize QSize;
typedef struct QSlider QSlider;
2024-11-19 06:29:06 +00:00
typedef struct QStyleOptionSlider QStyleOptionSlider;
typedef struct QTimerEvent QTimerEvent;
typedef struct QWheelEvent QWheelEvent;
2024-10-20 05:21:03 +00:00
typedef struct QWidget QWidget;
#endif
2024-12-07 04:15:57 +00:00
QSlider* QSlider_new(QWidget* parent);
QSlider* QSlider_new2();
QSlider* QSlider_new3(int orientation);
QSlider* QSlider_new4(int orientation, QWidget* parent);
void QSlider_virtbase(QSlider* src, QAbstractSlider** outptr_QAbstractSlider);
2024-10-20 05:21:03 +00:00
QMetaObject* QSlider_MetaObject(const QSlider* self);
void* QSlider_Metacast(QSlider* self, const char* param1);
struct miqt_string QSlider_Tr(const char* s);
QSize* QSlider_SizeHint(const QSlider* self);
QSize* QSlider_MinimumSizeHint(const QSlider* self);
void QSlider_SetTickPosition(QSlider* self, int position);
int QSlider_TickPosition(const QSlider* self);
void QSlider_SetTickInterval(QSlider* self, int ti);
int QSlider_TickInterval(const QSlider* self);
bool QSlider_Event(QSlider* self, QEvent* event);
2024-11-19 06:29:06 +00:00
void QSlider_PaintEvent(QSlider* self, QPaintEvent* ev);
void QSlider_MousePressEvent(QSlider* self, QMouseEvent* ev);
void QSlider_MouseReleaseEvent(QSlider* self, QMouseEvent* ev);
void QSlider_MouseMoveEvent(QSlider* self, QMouseEvent* ev);
void QSlider_InitStyleOption(const QSlider* self, QStyleOptionSlider* option);
2024-10-20 05:21:03 +00:00
struct miqt_string QSlider_Tr2(const char* s, const char* c);
struct miqt_string QSlider_Tr3(const char* s, const char* c, int n);
2024-11-19 06:29:06 +00:00
void QSlider_override_virtual_SizeHint(void* self, intptr_t slot);
QSize* QSlider_virtualbase_SizeHint(const void* self);
void QSlider_override_virtual_MinimumSizeHint(void* self, intptr_t slot);
QSize* QSlider_virtualbase_MinimumSizeHint(const void* self);
void QSlider_override_virtual_Event(void* self, intptr_t slot);
bool QSlider_virtualbase_Event(void* self, QEvent* event);
void QSlider_override_virtual_PaintEvent(void* self, intptr_t slot);
void QSlider_virtualbase_PaintEvent(void* self, QPaintEvent* ev);
void QSlider_override_virtual_MousePressEvent(void* self, intptr_t slot);
void QSlider_virtualbase_MousePressEvent(void* self, QMouseEvent* ev);
void QSlider_override_virtual_MouseReleaseEvent(void* self, intptr_t slot);
void QSlider_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* ev);
void QSlider_override_virtual_MouseMoveEvent(void* self, intptr_t slot);
void QSlider_virtualbase_MouseMoveEvent(void* self, QMouseEvent* ev);
void QSlider_override_virtual_InitStyleOption(void* self, intptr_t slot);
void QSlider_virtualbase_InitStyleOption(const void* self, QStyleOptionSlider* option);
void QSlider_override_virtual_SliderChange(void* self, intptr_t slot);
void QSlider_virtualbase_SliderChange(void* self, int change);
void QSlider_override_virtual_KeyPressEvent(void* self, intptr_t slot);
void QSlider_virtualbase_KeyPressEvent(void* self, QKeyEvent* ev);
void QSlider_override_virtual_TimerEvent(void* self, intptr_t slot);
void QSlider_virtualbase_TimerEvent(void* self, QTimerEvent* param1);
void QSlider_override_virtual_WheelEvent(void* self, intptr_t slot);
void QSlider_virtualbase_WheelEvent(void* self, QWheelEvent* e);
void QSlider_override_virtual_ChangeEvent(void* self, intptr_t slot);
void QSlider_virtualbase_ChangeEvent(void* self, QEvent* e);
void QSlider_Delete(QSlider* self, bool isSubclass);
2024-10-20 05:21:03 +00:00
#ifdef __cplusplus
} /* extern C */
#endif
#endif