2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QCOLORDIALOG_H
|
|
|
|
#define GEN_QCOLORDIALOG_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 QColor;
|
|
|
|
class QColorDialog;
|
|
|
|
class QMetaObject;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QColor QColor;
|
|
|
|
typedef struct QColorDialog QColorDialog;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QColorDialog* QColorDialog_new();
|
|
|
|
QColorDialog* QColorDialog_new2(QColor* initial);
|
|
|
|
QColorDialog* QColorDialog_new3(QWidget* parent);
|
|
|
|
QColorDialog* QColorDialog_new4(QColor* initial, QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QColorDialog_MetaObject(const QColorDialog* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QColorDialog_Metacast(QColorDialog* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QColorDialog_Tr(const char* s);
|
|
|
|
struct miqt_string* QColorDialog_TrUtf8(const char* s);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QColorDialog_SetCurrentColor(QColorDialog* self, QColor* color);
|
2024-09-11 05:41:09 +00:00
|
|
|
QColor* QColorDialog_CurrentColor(const QColorDialog* self);
|
|
|
|
QColor* QColorDialog_SelectedColor(const QColorDialog* self);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QColorDialog_SetOption(QColorDialog* self, int option);
|
|
|
|
bool QColorDialog_TestOption(const QColorDialog* self, int option);
|
2024-08-29 07:01:51 +00:00
|
|
|
void QColorDialog_SetOptions(QColorDialog* self, int options);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QColorDialog_Options(const QColorDialog* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QColorDialog_SetVisible(QColorDialog* self, bool visible);
|
2024-08-29 07:01:51 +00:00
|
|
|
QColor* QColorDialog_GetColor();
|
2024-08-25 04:08:24 +00:00
|
|
|
unsigned int QColorDialog_GetRgba();
|
|
|
|
int QColorDialog_CustomCount();
|
|
|
|
QColor* QColorDialog_CustomColor(int index);
|
|
|
|
void QColorDialog_SetCustomColor(int index, QColor* color);
|
|
|
|
QColor* QColorDialog_StandardColor(int index);
|
|
|
|
void QColorDialog_SetStandardColor(int index, QColor* color);
|
|
|
|
void QColorDialog_CurrentColorChanged(QColorDialog* self, QColor* color);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QColorDialog_connect_CurrentColorChanged(QColorDialog* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QColorDialog_ColorSelected(QColorDialog* self, QColor* color);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QColorDialog_connect_ColorSelected(QColorDialog* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QColorDialog_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QColorDialog_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QColorDialog_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QColorDialog_TrUtf83(const char* s, const char* c, int n);
|
2024-09-18 00:12:02 +00:00
|
|
|
void QColorDialog_SetOption2(QColorDialog* self, int option, bool on);
|
2024-08-29 07:01:51 +00:00
|
|
|
QColor* QColorDialog_GetColor1(QColor* initial);
|
|
|
|
QColor* QColorDialog_GetColor2(QColor* initial, QWidget* parent);
|
2024-09-14 22:29:05 +00:00
|
|
|
QColor* QColorDialog_GetColor3(QColor* initial, QWidget* parent, struct miqt_string* title);
|
|
|
|
QColor* QColorDialog_GetColor4(QColor* initial, QWidget* parent, struct miqt_string* title, int options);
|
2024-08-25 04:08:24 +00:00
|
|
|
unsigned int QColorDialog_GetRgba1(unsigned int rgba);
|
|
|
|
unsigned int QColorDialog_GetRgba2(unsigned int rgba, bool* ok);
|
|
|
|
unsigned int QColorDialog_GetRgba3(unsigned int rgba, bool* ok, QWidget* parent);
|
|
|
|
void QColorDialog_Delete(QColorDialog* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|