QtCanpool 3.3.0
载入中...
搜索中...
未找到
windowkit_p.h 文件参考
#include "qxwindow_global.h"
#include <QtCore/QLoggingCategory>
#include <QtCore/QObject>
#include <QtGui/QMouseEvent>

浏览源代码.

类

class  QxWindow::Private::ObjectHelper
 

命名空间

namespace  QxWindow
 Copyright (C) 2023-2024 maminjie canpo.nosp@m.ol@1.nosp@m.63.co.nosp@m.m SPDX-License-Identifier: Apache-2.0
 
namespace  QxWindow::Private
 

宏定义

#define QWK_INFO   qCInfo(qWindowKitLog) << "INFO:"
 Copyright (C) 2023-2024 maminjie canpo.nosp@m.ol@1.nosp@m.63.co.nosp@m.m SPDX-License-Identifier: Apache-2.0
 
#define QWK_DEBUG   qCDebug(qWindowKitLog) << "DEBUG:"
 
#define QWK_WARNING   qCWarning(qWindowKitLog) << "WARNING:"
 
#define QWK_CRITICAL   qCCritical(qWindowKitLog) << "CRITICAL:"
 
#define QWK_FATAL   qCFatal(qWindowKitLog) << "FATAL:"
 
#define MAKE_RGB_COLOR(r, g, b)   ((quint32)(((r) & 0xFF) << 16) | (((g) & 0xFF) << 8) | ((b) & 0xFF))
 
#define MAKE_RGBA_COLOR(r, g, b, a)    ((quint32)(((a) & 0xFF) << 24) | (((r) & 0xFF) << 16) | (((g) & 0xFF) << 8) | ((b) & 0xFF))
 
#define QWK_NOINLINE   __attribute__((noinline))
 
#define QWK_INLINE   __attribute__((always_inline))
 
#define QWK_USED   __attribute__((used))
 

类型定义

using QxWindow::QT_NATIVE_EVENT_RESULT_TYPE = qintptr
 

函数

QPoint QxWindow::getMouseEventScenePos (const QMouseEvent *event)
 
QPoint QxWindow::getMouseEventGlobalPos (const QMouseEvent *event)
 

宏定义说明

◆ MAKE_RGB_COLOR

#define MAKE_RGB_COLOR (   r,
  g,
  b 
)    ((quint32)(((r) & 0xFF) << 16) | (((g) & 0xFF) << 8) | ((b) & 0xFF))

在文件 windowkit_p.h 第 32 行定义.

◆ MAKE_RGBA_COLOR

#define MAKE_RGBA_COLOR (   r,
  g,
  b,
  a 
)     ((quint32)(((a) & 0xFF) << 24) | (((r) & 0xFF) << 16) | (((g) & 0xFF) << 8) | ((b) & 0xFF))

在文件 windowkit_p.h 第 34 行定义.

◆ QWK_CRITICAL

#define QWK_CRITICAL   qCCritical(qWindowKitLog) << "CRITICAL:"

在文件 windowkit_p.h 第 27 行定义.

◆ QWK_DEBUG

#define QWK_DEBUG   qCDebug(qWindowKitLog) << "DEBUG:"

在文件 windowkit_p.h 第 25 行定义.

◆ QWK_FATAL

#define QWK_FATAL   qCFatal(qWindowKitLog) << "FATAL:"

在文件 windowkit_p.h 第 29 行定义.

◆ QWK_INFO

#define QWK_INFO   qCInfo(qWindowKitLog) << "INFO:"

Copyright (C) 2023-2024 maminjie canpo.nosp@m.ol@1.nosp@m.63.co.nosp@m.m SPDX-License-Identifier: Apache-2.0

在文件 windowkit_p.h 第 24 行定义.

◆ QWK_INLINE

#define QWK_INLINE   __attribute__((always_inline))

在文件 windowkit_p.h 第 43 行定义.

◆ QWK_NOINLINE

#define QWK_NOINLINE   __attribute__((noinline))

在文件 windowkit_p.h 第 42 行定义.

◆ QWK_USED

#define QWK_USED   __attribute__((used))

在文件 windowkit_p.h 第 44 行定义.

◆ QWK_WARNING

#define QWK_WARNING   qCWarning(qWindowKitLog) << "WARNING:"

在文件 windowkit_p.h 第 26 行定义.