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
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
4#ifndef QFOCUSFRAME_H
5#define QFOCUSFRAME_H
6
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qwidget.h>
9
11
12
14class QStyleOption;
15
16class Q_WIDGETS_EXPORT QFocusFrame : public QWidget
17{
19public:
20 QFocusFrame(QWidget *parent = nullptr);
22
24 QWidget *widget() const;
25
26protected:
27 bool event(QEvent *e) override;
28
29 bool eventFilter(QObject *, QEvent *) override;
30 void paintEvent(QPaintEvent *) override;
31 virtual void initStyleOption(QStyleOption *option) const;
32
33private:
34 Q_DECLARE_PRIVATE(QFocusFrame)
35 Q_DISABLE_COPY(QFocusFrame)
36};
37
39
40#endif // QFOCUSFRAME_H
\inmodule QtCore
Definition qcoreevent.h:45
The QFocusFrame widget provides a focus frame which can be outside of a widget's normal paintable are...
Definition qfocusframe.h:17
\inmodule QtCore
Definition qobject.h:103
The QPaintEvent class contains event parameters for paint events.
Definition qevent.h:486
The QStyleOption class stores the parameters used by QStyle functions.
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
QOpenGLWidget * widget
[1]
Combined button and popup list for selecting options.
struct _cl_event * event
GLuint GLenum option
#define Q_OBJECT
scrollArea setWidget(imageLabel)