QtCanpool 3.3.0
载入中...
搜索中...
未找到
widgetitemdelegate_p.h
浏览该文件的文档.
1
5#ifndef WIDGETITEMDELEGATE_P_H
6#define WIDGETITEMDELEGATE_P_H
7
8//
9// W A R N I N G !!!
10// -----------------
11//
12// This file is not part of the QxWindow API. It is used purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or may even be removed.
15//
16
17#include "qxwindow_global.h"
19#include <QtCore/QObject>
20#include <QtGui/QWindow>
21
23
25{
26public:
29public:
30 QWindow *window(const QObject *obj) const override;
31 bool isEnabled(const QObject *obj) const override;
32 bool isVisible(const QObject *obj) const override;
33 QRect mapGeometryToScene(const QObject *obj) const override;
34 QObject *childAt(const QObject *obj, const QPoint &pos) const override;
35
36 QWindow *hostWindow(const QObject *host) const override;
37 bool isHostSizeFixed(const QObject *host) const override;
38 bool isWindowActive(const QObject *host) const override;
39 Qt::WindowStates getWindowState(const QObject *host) const override;
40 Qt::WindowFlags getWindowFlags(const QObject *host) const override;
41
42 void resetQtGrabbedControl(QObject *host) const override;
43 void setWindowState(QObject *host, Qt::WindowStates state) const override;
44 void setCursorShape(QObject *host, Qt::CursorShape shape) const override;
45 void restoreCursorShape(QObject *host) const override;
46 void setWindowFlags(QObject *host, Qt::WindowFlags flags) const override;
47 void setWindowVisible(QObject *host, bool visible) const override;
48 void bringWindowToTop(QObject *host) const override;
49};
50
52
53#endif // WIDGETITEMDELEGATE_P_H
QColor window
#define QX_WINDOW_END_NAMESPACE
#define QX_WINDOW_BEGIN_NAMESPACE