mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QTOOLTIP_H
|
|
#define MIQT_QT6_GEN_QTOOLTIP_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#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
|
|
|
|
void QToolTip_ShowText(QPoint* pos, struct miqt_string text);
|
|
void QToolTip_HideText();
|
|
bool QToolTip_IsVisible();
|
|
struct miqt_string QToolTip_Text();
|
|
QPalette* QToolTip_Palette();
|
|
void QToolTip_SetPalette(QPalette* palette);
|
|
QFont* QToolTip_Font();
|
|
void QToolTip_SetFont(QFont* font);
|
|
void QToolTip_ShowText3(QPoint* pos, struct miqt_string text, QWidget* w);
|
|
void QToolTip_ShowText4(QPoint* pos, struct miqt_string text, QWidget* w, QRect* rect);
|
|
void QToolTip_ShowText5(QPoint* pos, struct miqt_string text, QWidget* w, QRect* rect, int msecShowTime);
|
|
void QToolTip_Delete(QToolTip* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|