2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QTOOLTIP_H
|
|
|
|
#define MIQT_QT_GEN_QTOOLTIP_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#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 QFont;
|
|
|
|
class QPalette;
|
|
|
|
class QPoint;
|
|
|
|
class QRect;
|
|
|
|
class QToolTip;
|
|
|
|
class QWidget;
|
|
|
|
#else
|
|
|
|
typedef struct QFont QFont;
|
|
|
|
typedef struct QPalette QPalette;
|
|
|
|
typedef struct QPoint QPoint;
|
|
|
|
typedef struct QRect QRect;
|
|
|
|
typedef struct QToolTip QToolTip;
|
|
|
|
typedef struct QWidget QWidget;
|
|
|
|
#endif
|
|
|
|
|
2024-10-18 23:53:33 +00:00
|
|
|
void QToolTip_ShowText(QPoint* pos, struct miqt_string text);
|
|
|
|
void QToolTip_ShowText2(QPoint* pos, struct miqt_string text, QWidget* w, QRect* rect);
|
|
|
|
void QToolTip_ShowText3(QPoint* pos, struct miqt_string text, QWidget* w, QRect* rect, int msecShowTime);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QToolTip_HideText();
|
|
|
|
bool QToolTip_IsVisible();
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QToolTip_Text();
|
2024-08-25 04:08:24 +00:00
|
|
|
QPalette* QToolTip_Palette();
|
|
|
|
void QToolTip_SetPalette(QPalette* palette);
|
|
|
|
QFont* QToolTip_Font();
|
|
|
|
void QToolTip_SetFont(QFont* font);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QToolTip_ShowText32(QPoint* pos, struct miqt_string text, QWidget* w);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QToolTip_Delete(QToolTip* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|