2024-08-25 04:08:24 +00:00
|
|
|
#ifndef GEN_QCOMBOBOX_H
|
|
|
|
#define GEN_QCOMBOBOX_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 QAbstractItemDelegate;
|
|
|
|
class QAbstractItemModel;
|
|
|
|
class QAbstractItemView;
|
|
|
|
class QComboBox;
|
|
|
|
class QCompleter;
|
|
|
|
class QEvent;
|
|
|
|
class QIcon;
|
|
|
|
class QLineEdit;
|
|
|
|
class QMetaObject;
|
|
|
|
class QModelIndex;
|
|
|
|
class QSize;
|
|
|
|
class QValidator;
|
|
|
|
class QVariant;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QAbstractItemDelegate QAbstractItemDelegate;
|
|
|
|
typedef struct QAbstractItemModel QAbstractItemModel;
|
|
|
|
typedef struct QAbstractItemView QAbstractItemView;
|
|
|
|
typedef struct QComboBox QComboBox;
|
|
|
|
typedef struct QCompleter QCompleter;
|
|
|
|
typedef struct QEvent QEvent;
|
|
|
|
typedef struct QIcon QIcon;
|
|
|
|
typedef struct QLineEdit QLineEdit;
|
|
|
|
typedef struct QMetaObject QMetaObject;
|
|
|
|
typedef struct QModelIndex QModelIndex;
|
|
|
|
typedef struct QSize QSize;
|
|
|
|
typedef struct QValidator QValidator;
|
|
|
|
typedef struct QVariant QVariant;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QComboBox* QComboBox_new();
|
|
|
|
QComboBox* QComboBox_new2(QWidget* parent);
|
2024-09-11 05:41:09 +00:00
|
|
|
QMetaObject* QComboBox_MetaObject(const QComboBox* self);
|
2024-09-20 22:32:57 +00:00
|
|
|
void* QComboBox_Metacast(QComboBox* self, const char* param1);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QComboBox_Tr(const char* s);
|
|
|
|
struct miqt_string* QComboBox_TrUtf8(const char* s);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QComboBox_MaxVisibleItems(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetMaxVisibleItems(QComboBox* self, int maxItems);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QComboBox_Count(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetMaxCount(QComboBox* self, int max);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QComboBox_MaxCount(const QComboBox* self);
|
|
|
|
bool QComboBox_AutoCompletion(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetAutoCompletion(QComboBox* self, bool enable);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QComboBox_AutoCompletionCaseSensitivity(const QComboBox* self);
|
|
|
|
void QComboBox_SetAutoCompletionCaseSensitivity(QComboBox* self, int sensitivity);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QComboBox_DuplicatesEnabled(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetDuplicatesEnabled(QComboBox* self, bool enable);
|
|
|
|
void QComboBox_SetFrame(QComboBox* self, bool frame);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QComboBox_HasFrame(const QComboBox* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
int QComboBox_FindText(const QComboBox* self, struct miqt_string* text);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QComboBox_FindData(const QComboBox* self, QVariant* data);
|
2024-09-18 00:12:02 +00:00
|
|
|
int QComboBox_InsertPolicy(const QComboBox* self);
|
|
|
|
void QComboBox_SetInsertPolicy(QComboBox* self, int policy);
|
|
|
|
int QComboBox_SizeAdjustPolicy(const QComboBox* self);
|
|
|
|
void QComboBox_SetSizeAdjustPolicy(QComboBox* self, int policy);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QComboBox_MinimumContentsLength(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetMinimumContentsLength(QComboBox* self, int characters);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QComboBox_IconSize(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetIconSize(QComboBox* self, QSize* size);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_SetPlaceholderText(QComboBox* self, struct miqt_string* placeholderText);
|
|
|
|
struct miqt_string* QComboBox_PlaceholderText(const QComboBox* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QComboBox_IsEditable(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetEditable(QComboBox* self, bool editable);
|
|
|
|
void QComboBox_SetLineEdit(QComboBox* self, QLineEdit* edit);
|
2024-09-11 05:41:09 +00:00
|
|
|
QLineEdit* QComboBox_LineEdit(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetValidator(QComboBox* self, QValidator* v);
|
2024-09-11 05:41:09 +00:00
|
|
|
QValidator* QComboBox_Validator(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetCompleter(QComboBox* self, QCompleter* c);
|
2024-09-11 05:41:09 +00:00
|
|
|
QCompleter* QComboBox_Completer(const QComboBox* self);
|
|
|
|
QAbstractItemDelegate* QComboBox_ItemDelegate(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetItemDelegate(QComboBox* self, QAbstractItemDelegate* delegate);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAbstractItemModel* QComboBox_Model(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetModel(QComboBox* self, QAbstractItemModel* model);
|
2024-09-11 05:41:09 +00:00
|
|
|
QModelIndex* QComboBox_RootModelIndex(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetRootModelIndex(QComboBox* self, QModelIndex* index);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QComboBox_ModelColumn(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetModelColumn(QComboBox* self, int visibleColumn);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QComboBox_CurrentIndex(const QComboBox* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QComboBox_CurrentText(const QComboBox* self);
|
2024-09-11 05:41:09 +00:00
|
|
|
QVariant* QComboBox_CurrentData(const QComboBox* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QComboBox_ItemText(const QComboBox* self, int index);
|
2024-09-11 05:41:09 +00:00
|
|
|
QIcon* QComboBox_ItemIcon(const QComboBox* self, int index);
|
|
|
|
QVariant* QComboBox_ItemData(const QComboBox* self, int index);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_AddItem(QComboBox* self, struct miqt_string* text);
|
|
|
|
void QComboBox_AddItem2(QComboBox* self, QIcon* icon, struct miqt_string* text);
|
2024-09-16 07:33:40 +00:00
|
|
|
void QComboBox_AddItems(QComboBox* self, struct miqt_array* /* of struct miqt_string* */ texts);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_InsertItem(QComboBox* self, int index, struct miqt_string* text);
|
|
|
|
void QComboBox_InsertItem2(QComboBox* self, int index, QIcon* icon, struct miqt_string* text);
|
2024-09-16 07:33:40 +00:00
|
|
|
void QComboBox_InsertItems(QComboBox* self, int index, struct miqt_array* /* of struct miqt_string* */ texts);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_InsertSeparator(QComboBox* self, int index);
|
|
|
|
void QComboBox_RemoveItem(QComboBox* self, int index);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_SetItemText(QComboBox* self, int index, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetItemIcon(QComboBox* self, int index, QIcon* icon);
|
|
|
|
void QComboBox_SetItemData(QComboBox* self, int index, QVariant* value);
|
2024-09-11 05:41:09 +00:00
|
|
|
QAbstractItemView* QComboBox_View(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetView(QComboBox* self, QAbstractItemView* itemView);
|
2024-09-11 05:41:09 +00:00
|
|
|
QSize* QComboBox_SizeHint(const QComboBox* self);
|
|
|
|
QSize* QComboBox_MinimumSizeHint(const QComboBox* self);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_ShowPopup(QComboBox* self);
|
|
|
|
void QComboBox_HidePopup(QComboBox* self);
|
|
|
|
bool QComboBox_Event(QComboBox* self, QEvent* event);
|
2024-09-18 00:12:02 +00:00
|
|
|
QVariant* QComboBox_InputMethodQuery(const QComboBox* self, int param1);
|
|
|
|
QVariant* QComboBox_InputMethodQuery2(const QComboBox* self, int query, QVariant* argument);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_Clear(QComboBox* self);
|
|
|
|
void QComboBox_ClearEditText(QComboBox* self);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_SetEditText(QComboBox* self, struct miqt_string* text);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetCurrentIndex(QComboBox* self, int index);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_SetCurrentText(QComboBox* self, struct miqt_string* text);
|
|
|
|
void QComboBox_EditTextChanged(QComboBox* self, struct miqt_string* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_EditTextChanged(QComboBox* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_Activated(QComboBox* self, int index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_Activated(QComboBox* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_TextActivated(QComboBox* self, struct miqt_string* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_TextActivated(QComboBox* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_Highlighted(QComboBox* self, int index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_Highlighted(QComboBox* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_TextHighlighted(QComboBox* self, struct miqt_string* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_TextHighlighted(QComboBox* self, intptr_t slot);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_CurrentIndexChanged(QComboBox* self, int index);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_CurrentIndexChanged(QComboBox* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_CurrentIndexChangedWithQString(QComboBox* self, struct miqt_string* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_CurrentIndexChangedWithQString(QComboBox* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_CurrentTextChanged(QComboBox* self, struct miqt_string* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_CurrentTextChanged(QComboBox* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_ActivatedWithQString(QComboBox* self, struct miqt_string* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_ActivatedWithQString(QComboBox* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_HighlightedWithQString(QComboBox* self, struct miqt_string* param1);
|
2024-10-13 06:06:06 +00:00
|
|
|
void QComboBox_connect_HighlightedWithQString(QComboBox* self, intptr_t slot);
|
2024-09-14 22:29:05 +00:00
|
|
|
struct miqt_string* QComboBox_Tr2(const char* s, const char* c);
|
|
|
|
struct miqt_string* QComboBox_Tr3(const char* s, const char* c, int n);
|
|
|
|
struct miqt_string* QComboBox_TrUtf82(const char* s, const char* c);
|
|
|
|
struct miqt_string* QComboBox_TrUtf83(const char* s, const char* c, int n);
|
|
|
|
int QComboBox_FindText2(const QComboBox* self, struct miqt_string* text, int flags);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QComboBox_FindData2(const QComboBox* self, QVariant* data, int role);
|
|
|
|
int QComboBox_FindData3(const QComboBox* self, QVariant* data, int role, int flags);
|
|
|
|
QVariant* QComboBox_CurrentData1(const QComboBox* self, int role);
|
|
|
|
QVariant* QComboBox_ItemData2(const QComboBox* self, int index, int role);
|
2024-09-14 22:29:05 +00:00
|
|
|
void QComboBox_AddItem22(QComboBox* self, struct miqt_string* text, QVariant* userData);
|
|
|
|
void QComboBox_AddItem3(QComboBox* self, QIcon* icon, struct miqt_string* text, QVariant* userData);
|
|
|
|
void QComboBox_InsertItem3(QComboBox* self, int index, struct miqt_string* text, QVariant* userData);
|
|
|
|
void QComboBox_InsertItem4(QComboBox* self, int index, QIcon* icon, struct miqt_string* text, QVariant* userData);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QComboBox_SetItemData3(QComboBox* self, int index, QVariant* value, int role);
|
|
|
|
void QComboBox_Delete(QComboBox* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|