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
4
#
ifndef
PREVIEWFRAME_H
5
#
define
PREVIEWFRAME_H
6
7
#
include
<
QtWidgets
/
qframe
.
h
>
8
#
include
<
QtCore
/
qpointer
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QMdiArea;
13
class
QMdiSubWindow;
14
15
namespace
qdesigner_internal
{
16
17
class
PreviewFrame
:
public
QFrame
18
{
19
Q_OBJECT
20
public
:
21
explicit
PreviewFrame
(
QWidget
*
parent
);
22
23
void
setPreviewPalette
(
const
QPalette &palette);
24
void
setSubWindowActive
(
bool
active);
25
26
private
:
27
// The user can on some platforms close the mdi child by invoking the system menu.
28
// Ensure a child is present.
29
QMdiSubWindow *ensureMdiSubWindow();
30
QMdiArea *m_mdiArea;
31
QPointer<QMdiSubWindow> m_mdiSubWindow;
32
};
33
34
}
// namespace qdesigner_internal
35
36
QT_END_NAMESPACE
37
38
#
endif
qdesigner_internal::PreviewFrame
Definition
previewframe.h:18
qdesigner_internal::PreviewFrame::setPreviewPalette
void setPreviewPalette(const QPalette &palette)
Definition
previewframe.cpp:54
qdesigner_internal::PreviewFrame::setSubWindowActive
void setSubWindowActive(bool active)
Definition
previewframe.cpp:59
qdesigner_internal::PreviewMdiArea
Definition
previewframe.cpp:18
qdesigner_internal::PreviewMdiArea::viewportEvent
bool viewportEvent(QEvent *event) override
Definition
previewframe.cpp:25
qdesigner_internal::PreviewMdiArea::PreviewMdiArea
PreviewMdiArea(QWidget *parent=nullptr)
Definition
previewframe.cpp:20
qdesigner_internal::PreviewWidget
Definition
previewwidget.h:14
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:66
qttools
src
designer
src
components
propertyeditor
previewframe.h
Generated on Sat Sep 21 2024 00:50:23 for Qt by
1.12.0