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
menuactionlineedit_p.h
Go to the documentation of this file.
1// Copyright (C) 2026 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//
6// W A R N I N G
7// -------------
8//
9// This file is not part of the Qt API. It exists for the convenience
10// of Qt Designer. This header
11// file may change from version to version without notice, or even be removed.
12//
13// We mean it.
14//
15
16#ifndef MENUACTIONLINEEDIT_P_H
17#define MENUACTIONLINEEDIT_P_H
18
19#include <QtWidgets/qlineedit.h>
20
22
23class QLineEdit;
24
25namespace qdesigner_internal {
26
28{
30public:
31 using QLineEdit::QLineEdit;
32
34 void focusOut();
35
36protected:
37 void focusOutEvent(QFocusEvent *event) override
38 {
39 Q_EMIT focusOut();
40 QLineEdit::focusOutEvent(event);
41 }
42};
43
44} // namespace qdesigner_internal
45
46QT_END_NAMESPACE
47
48#endif // MENUACTIONLINEEDIT_P_H
friend class QWidget
Definition qpainter.h:432
void focusOutEvent(QFocusEvent *event) override
This event handler can be reimplemented in a subclass to receive keyboard focus events (focus lost) f...
bool eventFilter(QObject *object, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static void extendClickableArea(QRect *subMenuRect, Qt::LayoutDirection dir)
static void sendMouseEventTo(QWidget *target, const QPoint &targetPoint, const QMouseEvent *event)