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
qwindowcontainer_p.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 QWINDOWCONTAINER_H
5
#define QWINDOWCONTAINER_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtWidgets/private/qtwidgetsglobal_p.h>
19
#include <QtWidgets/qwidget.h>
20
21
QT_BEGIN_NAMESPACE
22
23
class
QWindowContainerPrivate
;
24
25
class
Q_WIDGETS_EXPORT
QWindowContainer
:
public
QWidget
26
{
27
Q_OBJECT
28
Q_DECLARE_PRIVATE(
QWindowContainer
)
29
30
public
:
31
explicit
QWindowContainer
(
QWindow
*embeddedWindow,
QWidget
*parent =
nullptr
, Qt::WindowFlags
f
= { });
32
~QWindowContainer
();
33
QWindow
*containedWindow()
const
;
34
QSize
minimumSizeHint()
const override
;
35
36
static
void
toplevelAboutToBeDestroyed(
QWidget
*parent);
37
static
void
parentWasChanged(
QWidget
*parent);
38
static
void
parentWasMoved(
QWidget
*parent);
39
static
void
parentWasRaised(
QWidget
*parent);
40
static
void
parentWasLowered(
QWidget
*parent);
41
42
protected
:
43
bool
event
(
QEvent
*ev)
override
;
44
bool
eventFilter(
QObject
*,
QEvent
*ev)
override
;
45
};
46
47
QT_END_NAMESPACE
48
49
#endif
// QWINDOWCONTAINER_H
QEvent
\inmodule QtCore
Definition
qcoreevent.h:45
QObject
\inmodule QtCore
Definition
qobject.h:103
QSize
\inmodule QtCore
Definition
qsize.h:25
QWidget
The QWidget class is the base class of all user interface objects.
Definition
qwidget.h:99
QWindowContainerPrivate
Definition
qwindowcontainer.cpp:26
QWindowContainer
Definition
qwindowcontainer_p.h:26
QWindow
\inmodule QtGui
Definition
qwindow.h:63
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
f
GLfloat GLfloat f
Definition
qopengles2ext.h:795
event
struct _cl_event * event
Definition
qopenglext.h:2998
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
qtbase
src
widgets
kernel
qwindowcontainer_p.h
Generated by
1.10.0