Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qfocusframe.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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QFOCUSFRAME_H
6
#
define
QFOCUSFRAME_H
7
8
#
include
<
QtWidgets
/
qtwidgetsglobal
.
h
>
9
#
include
<
QtWidgets
/
qwidget
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
14
class
QFocusFramePrivate;
15
class
QStyleOption;
16
17
class
Q_WIDGETS_EXPORT
QFocusFrame
:
public
QWidget
18
{
19
Q_OBJECT
20
public
:
21
QFocusFrame(QWidget *parent =
nullptr
);
22
~QFocusFrame();
23
24
void
setWidget(QWidget *widget);
25
QWidget *widget()
const
;
26
27
protected
:
28
bool
event(QEvent *e) override;
29
30
bool
eventFilter(QObject *, QEvent *) override;
31
void
paintEvent(QPaintEvent *) override;
32
virtual
void
initStyleOption(QStyleOption *option)
const
;
33
34
private
:
35
Q_DECLARE_PRIVATE(QFocusFrame)
36
Q_DISABLE_COPY(QFocusFrame)
37
};
38
39
QT_END_NAMESPACE
40
41
#
endif
// QFOCUSFRAME_H
QFocusFramePrivate
Definition
qfocusframe.cpp:16
QFocusFramePrivate::update
void update()
Definition
qfocusframe.cpp:32
QFocusFramePrivate::updateSize
void updateSize()
Definition
qfocusframe.cpp:48
QFocusFramePrivate::QFocusFramePrivate
QFocusFramePrivate()
Definition
qfocusframe.cpp:22
QFocusFrame
The QFocusFrame widget provides a focus frame which can be outside of a widget's normal paintable are...
Definition
qfocusframe.h:18
QStyleHintReturnMask
The QStyleHintReturnMask class provides style hints that return a QRegion.
Definition
qstyleoption.h:730
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
widgets
widgets
qfocusframe.h
Generated on
for Qt by
1.18.0