Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
previewframe.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
PREVIEWFRAME_H
6
#
define
PREVIEWFRAME_H
7
8
#
include
<
QtWidgets
/
qframe
.
h
>
9
#
include
<
QtCore
/
qpointer
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
class
QMdiArea;
14
class
QMdiSubWindow;
15
16
namespace
qdesigner_internal
{
17
18
class
PreviewFrame
:
public
QFrame
19
{
20
Q_OBJECT
21
public
:
22
explicit
PreviewFrame
(
QWidget
*
parent
);
23
24
void
setPreviewPalette
(
const
QPalette &palette);
25
void
setSubWindowActive
(
bool
active);
26
27
private
:
28
// The user can on some platforms close the mdi child by invoking the system menu.
29
// Ensure a child is present.
30
QMdiSubWindow *ensureMdiSubWindow();
31
QMdiArea *m_mdiArea;
32
QPointer<QMdiSubWindow> m_mdiSubWindow;
33
};
34
35
}
// namespace qdesigner_internal
36
37
QT_END_NAMESPACE
38
39
#
endif
qdesigner_internal::PreviewFrame
Definition
previewframe.h:19
qdesigner_internal::PreviewFrame::setPreviewPalette
void setPreviewPalette(const QPalette &palette)
Definition
previewframe.cpp:55
qdesigner_internal::PreviewFrame::setSubWindowActive
void setSubWindowActive(bool active)
Definition
previewframe.cpp:60
qdesigner_internal::PreviewMdiArea
Definition
previewframe.cpp:19
qdesigner_internal::PreviewMdiArea::viewportEvent
bool viewportEvent(QEvent *event) override
Definition
previewframe.cpp:26
qdesigner_internal::PreviewMdiArea::PreviewMdiArea
PreviewMdiArea(QWidget *parent=nullptr)
Definition
previewframe.cpp:21
qdesigner_internal::PreviewWidget
Definition
previewwidget.h:15
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:67
qttools
src
designer
src
components
propertyeditor
previewframe.h
Generated on
for Qt by
1.16.1