Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwindowdefs.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QWINDOWDEFS_H
5#define QWINDOWDEFS_H
6
7#include <QtGui/qtguiglobal.h>
8#include <QtCore/qobjectdefs.h>
9#include <QtCore/qnamespace.h>
10#include <QtCore/qcontainerfwd.h>
11
13
14
15// Class forward definitions
16
17class QPaintDevice;
18class QWidget;
19class QWindow;
20class QDialog;
21class QColor;
22class QPalette;
23class QCursor;
24class QPoint;
25class QSize;
26class QRect;
27class QPolygon;
28class QPainter;
29class QRegion;
30class QFont;
31class QFontMetrics;
32class QFontInfo;
33class QPen;
34class QBrush;
35class QPixmap;
36class QBitmap;
37class QMovie;
38class QImage;
39class QPicture;
40class QTimer;
41class QTime;
42class QClipboard;
43class QString;
44class QByteArray;
45class QApplication;
46
47typedef QList<QWidget *> QWidgetList;
48typedef QList<QWindow *> QWindowList;
49
51
52// Window system dependent definitions
53
54
55#if defined(Q_OS_WIN) || defined(Q_QDOC)
56# include <QtGui/qwindowdefs_win.h>
57#endif // Q_OS_WIN
58
59
60
61
62typedef QT_PREPEND_NAMESPACE(quintptr) WId;
63
64
65
67
68typedef QHash<WId, QWidget *> QWidgetMapper;
69typedef QSet<QWidget *> QWidgetSet;
70
72
73#if defined(QT_NEEDS_QMAIN)
74#define main qMain
75#endif
76
77// Global platform-independent types and functions
78
79#endif // QWINDOWDEFS_H
The QApplication class manages the GUI application's control flow and main settings.
\inmodule QtGui
Definition qbitmap.h:16
\inmodule QtGui
Definition qbrush.h:30
\inmodule QtCore
Definition qbytearray.h:57
The QClipboard class provides access to the window system clipboard.
Definition qclipboard.h:20
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition qcolor.h:31
The QCursor class provides a mouse cursor with an arbitrary shape.
Definition qcursor.h:45
The QDialog class is the base class of dialog windows.
Definition qdialog.h:19
\reentrant
Definition qfontinfo.h:16
\reentrant \inmodule QtGui
\reentrant
Definition qfont.h:22
\inmodule QtGui
Definition qimage.h:37
\inmodule QtGui
Definition qmovie.h:28
The QPainter class performs low-level painting on widgets and other paint devices.
Definition qpainter.h:46
The QPalette class contains color groups for each widget state.
Definition qpalette.h:19
\inmodule QtGui
Definition qpen.h:28
The QPicture class is a paint device that records and replays QPainter commands.
Definition qpicture.h:19
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
Definition qpixmap.h:27
\inmodule QtCore\reentrant
Definition qpoint.h:25
The QPolygon class provides a list of points using integer precision.
Definition qpolygon.h:23
\inmodule QtCore\reentrant
Definition qrect.h:30
The QRegion class specifies a clip region for a painter.
Definition qregion.h:27
\inmodule QtCore
Definition qsize.h:25
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore \reentrant
Definition qdatetime.h:215
\inmodule QtCore
Definition qtimer.h:20
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
size_t quintptr
Definition qtypes.h:167
QList< QWindow * > QWindowList
Definition qwindowdefs.h:48
QT_BEGIN_NAMESPACE typedef QHash< WId, QWidget * > QWidgetMapper
Definition qwindowdefs.h:68
QSet< QWidget * > QWidgetSet
Definition qwindowdefs.h:69
QList< QWidget * > QWidgetList
Definition qwindowdefs.h:47