2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QSCROLLAREA_H
|
|
|
|
#define GEN_QSCROLLAREA_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 QMetaObject;
|
|
|
|
class QScrollArea;
|
|
|
|
class QSize;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QScrollArea QScrollArea;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QScrollArea* QScrollArea_new();
|
|
|
|
QScrollArea* QScrollArea_new2(QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QScrollArea_MetaObject(const QScrollArea* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QScrollArea_Metacast(QScrollArea* self, const char* param1);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QScrollArea_Tr(const char* s);
|
|
|
|
struct miqt_string QScrollArea_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
QWidget* QScrollArea_Widget(const QScrollArea* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScrollArea_SetWidget(QScrollArea* self, QWidget* widget);
|
|
|
|
QWidget* QScrollArea_TakeWidget(QScrollArea* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QScrollArea_WidgetResizable(const QScrollArea* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScrollArea_SetWidgetResizable(QScrollArea* self, bool resizable);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QScrollArea_SizeHint(const QScrollArea* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
bool QScrollArea_FocusNextPrevChild(QScrollArea* self, bool next);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QScrollArea_Alignment(const QScrollArea* self);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QScrollArea_SetAlignment(QScrollArea* self, int alignment);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScrollArea_EnsureVisible(QScrollArea* self, int x, int y);
|
|
|
|
void QScrollArea_EnsureWidgetVisible(QScrollArea* self, QWidget* childWidget);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QScrollArea_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string QScrollArea_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string QScrollArea_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string QScrollArea_TrUtf83(const char* s, const char* c, int n);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QScrollArea_EnsureVisible3(QScrollArea* self, int x, int y, int xmargin);
|
|
|
|
void QScrollArea_EnsureVisible4(QScrollArea* self, int x, int y, int xmargin, int ymargin);
|
|
|
|
void QScrollArea_EnsureWidgetVisible2(QScrollArea* self, QWidget* childWidget, int xmargin);
|
|
|
|
void QScrollArea_EnsureWidgetVisible3(QScrollArea* self, QWidget* childWidget, int xmargin, int ymargin);
|
|
|
|
void QScrollArea_Delete(QScrollArea* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|