mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
695 lines
20 KiB
C++
695 lines
20 KiB
C++
#include <QCloseEvent>
|
|
#include <QColor>
|
|
#include <QColorDialog>
|
|
#include <QContextMenuEvent>
|
|
#include <QDialog>
|
|
#include <QEvent>
|
|
#include <QKeyEvent>
|
|
#include <QMetaObject>
|
|
#include <QObject>
|
|
#include <QPaintDevice>
|
|
#include <QResizeEvent>
|
|
#include <QShowEvent>
|
|
#include <QSize>
|
|
#include <QString>
|
|
#include <QByteArray>
|
|
#include <cstring>
|
|
#include <QWidget>
|
|
#include <qcolordialog.h>
|
|
#include "gen_qcolordialog.h"
|
|
#include "_cgo_export.h"
|
|
|
|
class MiqtVirtualQColorDialog : public virtual QColorDialog {
|
|
public:
|
|
|
|
MiqtVirtualQColorDialog(QWidget* parent): QColorDialog(parent) {};
|
|
MiqtVirtualQColorDialog(): QColorDialog() {};
|
|
MiqtVirtualQColorDialog(const QColor& initial): QColorDialog(initial) {};
|
|
MiqtVirtualQColorDialog(const QColor& initial, QWidget* parent): QColorDialog(initial, parent) {};
|
|
|
|
virtual ~MiqtVirtualQColorDialog() = default;
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__SetVisible = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void setVisible(bool visible) override {
|
|
if (handle__SetVisible == 0) {
|
|
QColorDialog::setVisible(visible);
|
|
return;
|
|
}
|
|
|
|
bool sigval1 = visible;
|
|
|
|
miqt_exec_callback_QColorDialog_SetVisible(this, handle__SetVisible, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_SetVisible(bool visible) {
|
|
|
|
QColorDialog::setVisible(visible);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__ChangeEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void changeEvent(QEvent* event) override {
|
|
if (handle__ChangeEvent == 0) {
|
|
QColorDialog::changeEvent(event);
|
|
return;
|
|
}
|
|
|
|
QEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QColorDialog_ChangeEvent(this, handle__ChangeEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_ChangeEvent(QEvent* event) {
|
|
|
|
QColorDialog::changeEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__Done = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void done(int result) override {
|
|
if (handle__Done == 0) {
|
|
QColorDialog::done(result);
|
|
return;
|
|
}
|
|
|
|
int sigval1 = result;
|
|
|
|
miqt_exec_callback_QColorDialog_Done(this, handle__Done, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_Done(int result) {
|
|
|
|
QColorDialog::done(static_cast<int>(result));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__SizeHint = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QSize sizeHint() const override {
|
|
if (handle__SizeHint == 0) {
|
|
return QColorDialog::sizeHint();
|
|
}
|
|
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QColorDialog_SizeHint(const_cast<MiqtVirtualQColorDialog*>(this), handle__SizeHint);
|
|
|
|
return *callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QSize* virtualbase_SizeHint() const {
|
|
|
|
return new QSize(QColorDialog::sizeHint());
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__MinimumSizeHint = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QSize minimumSizeHint() const override {
|
|
if (handle__MinimumSizeHint == 0) {
|
|
return QColorDialog::minimumSizeHint();
|
|
}
|
|
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QColorDialog_MinimumSizeHint(const_cast<MiqtVirtualQColorDialog*>(this), handle__MinimumSizeHint);
|
|
|
|
return *callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QSize* virtualbase_MinimumSizeHint() const {
|
|
|
|
return new QSize(QColorDialog::minimumSizeHint());
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__Open = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void open() override {
|
|
if (handle__Open == 0) {
|
|
QColorDialog::open();
|
|
return;
|
|
}
|
|
|
|
|
|
miqt_exec_callback_QColorDialog_Open(this, handle__Open);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_Open() {
|
|
|
|
QColorDialog::open();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__Exec = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual int exec() override {
|
|
if (handle__Exec == 0) {
|
|
return QColorDialog::exec();
|
|
}
|
|
|
|
|
|
int callback_return_value = miqt_exec_callback_QColorDialog_Exec(this, handle__Exec);
|
|
|
|
return static_cast<int>(callback_return_value);
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
int virtualbase_Exec() {
|
|
|
|
return QColorDialog::exec();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__Accept = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void accept() override {
|
|
if (handle__Accept == 0) {
|
|
QColorDialog::accept();
|
|
return;
|
|
}
|
|
|
|
|
|
miqt_exec_callback_QColorDialog_Accept(this, handle__Accept);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_Accept() {
|
|
|
|
QColorDialog::accept();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__Reject = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void reject() override {
|
|
if (handle__Reject == 0) {
|
|
QColorDialog::reject();
|
|
return;
|
|
}
|
|
|
|
|
|
miqt_exec_callback_QColorDialog_Reject(this, handle__Reject);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_Reject() {
|
|
|
|
QColorDialog::reject();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__KeyPressEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void keyPressEvent(QKeyEvent* param1) override {
|
|
if (handle__KeyPressEvent == 0) {
|
|
QColorDialog::keyPressEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QKeyEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QColorDialog_KeyPressEvent(this, handle__KeyPressEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_KeyPressEvent(QKeyEvent* param1) {
|
|
|
|
QColorDialog::keyPressEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__CloseEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void closeEvent(QCloseEvent* param1) override {
|
|
if (handle__CloseEvent == 0) {
|
|
QColorDialog::closeEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QCloseEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QColorDialog_CloseEvent(this, handle__CloseEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_CloseEvent(QCloseEvent* param1) {
|
|
|
|
QColorDialog::closeEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__ShowEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void showEvent(QShowEvent* param1) override {
|
|
if (handle__ShowEvent == 0) {
|
|
QColorDialog::showEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QShowEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QColorDialog_ShowEvent(this, handle__ShowEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_ShowEvent(QShowEvent* param1) {
|
|
|
|
QColorDialog::showEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__ResizeEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void resizeEvent(QResizeEvent* param1) override {
|
|
if (handle__ResizeEvent == 0) {
|
|
QColorDialog::resizeEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QResizeEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QColorDialog_ResizeEvent(this, handle__ResizeEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_ResizeEvent(QResizeEvent* param1) {
|
|
|
|
QColorDialog::resizeEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__ContextMenuEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void contextMenuEvent(QContextMenuEvent* param1) override {
|
|
if (handle__ContextMenuEvent == 0) {
|
|
QColorDialog::contextMenuEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QContextMenuEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QColorDialog_ContextMenuEvent(this, handle__ContextMenuEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_ContextMenuEvent(QContextMenuEvent* param1) {
|
|
|
|
QColorDialog::contextMenuEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__EventFilter = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual bool eventFilter(QObject* param1, QEvent* param2) override {
|
|
if (handle__EventFilter == 0) {
|
|
return QColorDialog::eventFilter(param1, param2);
|
|
}
|
|
|
|
QObject* sigval1 = param1;
|
|
QEvent* sigval2 = param2;
|
|
|
|
bool callback_return_value = miqt_exec_callback_QColorDialog_EventFilter(this, handle__EventFilter, sigval1, sigval2);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
bool virtualbase_EventFilter(QObject* param1, QEvent* param2) {
|
|
|
|
return QColorDialog::eventFilter(param1, param2);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
void QColorDialog_new(QWidget* parent, QColorDialog** outptr_QColorDialog, QDialog** outptr_QDialog, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice) {
|
|
MiqtVirtualQColorDialog* ret = new MiqtVirtualQColorDialog(parent);
|
|
*outptr_QColorDialog = ret;
|
|
*outptr_QDialog = static_cast<QDialog*>(ret);
|
|
*outptr_QWidget = static_cast<QWidget*>(ret);
|
|
*outptr_QObject = static_cast<QObject*>(ret);
|
|
*outptr_QPaintDevice = static_cast<QPaintDevice*>(ret);
|
|
}
|
|
|
|
void QColorDialog_new2(QColorDialog** outptr_QColorDialog, QDialog** outptr_QDialog, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice) {
|
|
MiqtVirtualQColorDialog* ret = new MiqtVirtualQColorDialog();
|
|
*outptr_QColorDialog = ret;
|
|
*outptr_QDialog = static_cast<QDialog*>(ret);
|
|
*outptr_QWidget = static_cast<QWidget*>(ret);
|
|
*outptr_QObject = static_cast<QObject*>(ret);
|
|
*outptr_QPaintDevice = static_cast<QPaintDevice*>(ret);
|
|
}
|
|
|
|
void QColorDialog_new3(QColor* initial, QColorDialog** outptr_QColorDialog, QDialog** outptr_QDialog, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice) {
|
|
MiqtVirtualQColorDialog* ret = new MiqtVirtualQColorDialog(*initial);
|
|
*outptr_QColorDialog = ret;
|
|
*outptr_QDialog = static_cast<QDialog*>(ret);
|
|
*outptr_QWidget = static_cast<QWidget*>(ret);
|
|
*outptr_QObject = static_cast<QObject*>(ret);
|
|
*outptr_QPaintDevice = static_cast<QPaintDevice*>(ret);
|
|
}
|
|
|
|
void QColorDialog_new4(QColor* initial, QWidget* parent, QColorDialog** outptr_QColorDialog, QDialog** outptr_QDialog, QWidget** outptr_QWidget, QObject** outptr_QObject, QPaintDevice** outptr_QPaintDevice) {
|
|
MiqtVirtualQColorDialog* ret = new MiqtVirtualQColorDialog(*initial, parent);
|
|
*outptr_QColorDialog = ret;
|
|
*outptr_QDialog = static_cast<QDialog*>(ret);
|
|
*outptr_QWidget = static_cast<QWidget*>(ret);
|
|
*outptr_QObject = static_cast<QObject*>(ret);
|
|
*outptr_QPaintDevice = static_cast<QPaintDevice*>(ret);
|
|
}
|
|
|
|
QMetaObject* QColorDialog_MetaObject(const QColorDialog* self) {
|
|
return (QMetaObject*) self->metaObject();
|
|
}
|
|
|
|
void* QColorDialog_Metacast(QColorDialog* self, const char* param1) {
|
|
return self->qt_metacast(param1);
|
|
}
|
|
|
|
struct miqt_string QColorDialog_Tr(const char* s) {
|
|
QString _ret = QColorDialog::tr(s);
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
|
QByteArray _b = _ret.toUtf8();
|
|
struct miqt_string _ms;
|
|
_ms.len = _b.length();
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
return _ms;
|
|
}
|
|
|
|
void QColorDialog_SetCurrentColor(QColorDialog* self, QColor* color) {
|
|
self->setCurrentColor(*color);
|
|
}
|
|
|
|
QColor* QColorDialog_CurrentColor(const QColorDialog* self) {
|
|
return new QColor(self->currentColor());
|
|
}
|
|
|
|
QColor* QColorDialog_SelectedColor(const QColorDialog* self) {
|
|
return new QColor(self->selectedColor());
|
|
}
|
|
|
|
void QColorDialog_SetOption(QColorDialog* self, int option) {
|
|
self->setOption(static_cast<QColorDialog::ColorDialogOption>(option));
|
|
}
|
|
|
|
bool QColorDialog_TestOption(const QColorDialog* self, int option) {
|
|
return self->testOption(static_cast<QColorDialog::ColorDialogOption>(option));
|
|
}
|
|
|
|
void QColorDialog_SetOptions(QColorDialog* self, int options) {
|
|
self->setOptions(static_cast<QColorDialog::ColorDialogOptions>(options));
|
|
}
|
|
|
|
int QColorDialog_Options(const QColorDialog* self) {
|
|
QColorDialog::ColorDialogOptions _ret = self->options();
|
|
return static_cast<int>(_ret);
|
|
}
|
|
|
|
void QColorDialog_SetVisible(QColorDialog* self, bool visible) {
|
|
self->setVisible(visible);
|
|
}
|
|
|
|
QColor* QColorDialog_GetColor() {
|
|
return new QColor(QColorDialog::getColor());
|
|
}
|
|
|
|
int QColorDialog_CustomCount() {
|
|
return QColorDialog::customCount();
|
|
}
|
|
|
|
QColor* QColorDialog_CustomColor(int index) {
|
|
return new QColor(QColorDialog::customColor(static_cast<int>(index)));
|
|
}
|
|
|
|
void QColorDialog_SetCustomColor(int index, QColor* color) {
|
|
QColorDialog::setCustomColor(static_cast<int>(index), *color);
|
|
}
|
|
|
|
QColor* QColorDialog_StandardColor(int index) {
|
|
return new QColor(QColorDialog::standardColor(static_cast<int>(index)));
|
|
}
|
|
|
|
void QColorDialog_SetStandardColor(int index, QColor* color) {
|
|
QColorDialog::setStandardColor(static_cast<int>(index), *color);
|
|
}
|
|
|
|
void QColorDialog_CurrentColorChanged(QColorDialog* self, QColor* color) {
|
|
self->currentColorChanged(*color);
|
|
}
|
|
|
|
void QColorDialog_connect_CurrentColorChanged(QColorDialog* self, intptr_t slot) {
|
|
MiqtVirtualQColorDialog::connect(self, static_cast<void (QColorDialog::*)(const QColor&)>(&QColorDialog::currentColorChanged), self, [=](const QColor& color) {
|
|
const QColor& color_ret = color;
|
|
// Cast returned reference into pointer
|
|
QColor* sigval1 = const_cast<QColor*>(&color_ret);
|
|
miqt_exec_callback_QColorDialog_CurrentColorChanged(slot, sigval1);
|
|
});
|
|
}
|
|
|
|
void QColorDialog_ColorSelected(QColorDialog* self, QColor* color) {
|
|
self->colorSelected(*color);
|
|
}
|
|
|
|
void QColorDialog_connect_ColorSelected(QColorDialog* self, intptr_t slot) {
|
|
MiqtVirtualQColorDialog::connect(self, static_cast<void (QColorDialog::*)(const QColor&)>(&QColorDialog::colorSelected), self, [=](const QColor& color) {
|
|
const QColor& color_ret = color;
|
|
// Cast returned reference into pointer
|
|
QColor* sigval1 = const_cast<QColor*>(&color_ret);
|
|
miqt_exec_callback_QColorDialog_ColorSelected(slot, sigval1);
|
|
});
|
|
}
|
|
|
|
struct miqt_string QColorDialog_Tr2(const char* s, const char* c) {
|
|
QString _ret = QColorDialog::tr(s, c);
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
|
QByteArray _b = _ret.toUtf8();
|
|
struct miqt_string _ms;
|
|
_ms.len = _b.length();
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
return _ms;
|
|
}
|
|
|
|
struct miqt_string QColorDialog_Tr3(const char* s, const char* c, int n) {
|
|
QString _ret = QColorDialog::tr(s, c, static_cast<int>(n));
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
|
QByteArray _b = _ret.toUtf8();
|
|
struct miqt_string _ms;
|
|
_ms.len = _b.length();
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
return _ms;
|
|
}
|
|
|
|
void QColorDialog_SetOption2(QColorDialog* self, int option, bool on) {
|
|
self->setOption(static_cast<QColorDialog::ColorDialogOption>(option), on);
|
|
}
|
|
|
|
QColor* QColorDialog_GetColor1(QColor* initial) {
|
|
return new QColor(QColorDialog::getColor(*initial));
|
|
}
|
|
|
|
QColor* QColorDialog_GetColor2(QColor* initial, QWidget* parent) {
|
|
return new QColor(QColorDialog::getColor(*initial, parent));
|
|
}
|
|
|
|
QColor* QColorDialog_GetColor3(QColor* initial, QWidget* parent, struct miqt_string title) {
|
|
QString title_QString = QString::fromUtf8(title.data, title.len);
|
|
return new QColor(QColorDialog::getColor(*initial, parent, title_QString));
|
|
}
|
|
|
|
QColor* QColorDialog_GetColor4(QColor* initial, QWidget* parent, struct miqt_string title, int options) {
|
|
QString title_QString = QString::fromUtf8(title.data, title.len);
|
|
return new QColor(QColorDialog::getColor(*initial, parent, title_QString, static_cast<QColorDialog::ColorDialogOptions>(options)));
|
|
}
|
|
|
|
void QColorDialog_override_virtual_SetVisible(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__SetVisible = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_SetVisible(void* self, bool visible) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_SetVisible(visible);
|
|
}
|
|
|
|
void QColorDialog_override_virtual_ChangeEvent(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__ChangeEvent = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_ChangeEvent(void* self, QEvent* event) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_ChangeEvent(event);
|
|
}
|
|
|
|
void QColorDialog_override_virtual_Done(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__Done = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_Done(void* self, int result) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_Done(result);
|
|
}
|
|
|
|
void QColorDialog_override_virtual_SizeHint(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__SizeHint = slot;
|
|
}
|
|
|
|
QSize* QColorDialog_virtualbase_SizeHint(const void* self) {
|
|
return ( (const MiqtVirtualQColorDialog*)(self) )->virtualbase_SizeHint();
|
|
}
|
|
|
|
void QColorDialog_override_virtual_MinimumSizeHint(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__MinimumSizeHint = slot;
|
|
}
|
|
|
|
QSize* QColorDialog_virtualbase_MinimumSizeHint(const void* self) {
|
|
return ( (const MiqtVirtualQColorDialog*)(self) )->virtualbase_MinimumSizeHint();
|
|
}
|
|
|
|
void QColorDialog_override_virtual_Open(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__Open = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_Open(void* self) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_Open();
|
|
}
|
|
|
|
void QColorDialog_override_virtual_Exec(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__Exec = slot;
|
|
}
|
|
|
|
int QColorDialog_virtualbase_Exec(void* self) {
|
|
return ( (MiqtVirtualQColorDialog*)(self) )->virtualbase_Exec();
|
|
}
|
|
|
|
void QColorDialog_override_virtual_Accept(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__Accept = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_Accept(void* self) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_Accept();
|
|
}
|
|
|
|
void QColorDialog_override_virtual_Reject(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__Reject = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_Reject(void* self) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_Reject();
|
|
}
|
|
|
|
void QColorDialog_override_virtual_KeyPressEvent(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__KeyPressEvent = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_KeyPressEvent(void* self, QKeyEvent* param1) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_KeyPressEvent(param1);
|
|
}
|
|
|
|
void QColorDialog_override_virtual_CloseEvent(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__CloseEvent = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_CloseEvent(void* self, QCloseEvent* param1) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_CloseEvent(param1);
|
|
}
|
|
|
|
void QColorDialog_override_virtual_ShowEvent(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__ShowEvent = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_ShowEvent(void* self, QShowEvent* param1) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_ShowEvent(param1);
|
|
}
|
|
|
|
void QColorDialog_override_virtual_ResizeEvent(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__ResizeEvent = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_ResizeEvent(void* self, QResizeEvent* param1) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_ResizeEvent(param1);
|
|
}
|
|
|
|
void QColorDialog_override_virtual_ContextMenuEvent(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__ContextMenuEvent = slot;
|
|
}
|
|
|
|
void QColorDialog_virtualbase_ContextMenuEvent(void* self, QContextMenuEvent* param1) {
|
|
( (MiqtVirtualQColorDialog*)(self) )->virtualbase_ContextMenuEvent(param1);
|
|
}
|
|
|
|
void QColorDialog_override_virtual_EventFilter(void* self, intptr_t slot) {
|
|
dynamic_cast<MiqtVirtualQColorDialog*>( (QColorDialog*)(self) )->handle__EventFilter = slot;
|
|
}
|
|
|
|
bool QColorDialog_virtualbase_EventFilter(void* self, QObject* param1, QEvent* param2) {
|
|
return ( (MiqtVirtualQColorDialog*)(self) )->virtualbase_EventFilter(param1, param2);
|
|
}
|
|
|
|
void QColorDialog_Delete(QColorDialog* self, bool isSubclass) {
|
|
if (isSubclass) {
|
|
delete dynamic_cast<MiqtVirtualQColorDialog*>( self );
|
|
} else {
|
|
delete self;
|
|
}
|
|
}
|
|
|