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//
4// W A R N I N G
5// -------------
6//
7// This file is not part of the Qt API. It exists for the convenience
8// of Qt Designer. This header
9// file may change from version to version without notice, or even be removed.
10//
11// We mean it.
12//
13
14#ifndef MENUACTIONLINEEDIT_P_H
15#define MENUACTIONLINEEDIT_P_H
16
17#include <QtWidgets/qlineedit.h>
18
20
21class QLineEdit;
22
23namespace qdesigner_internal {
24
26{
28public:
29 using QLineEdit::QLineEdit;
30
32 void focusOut();
33
34protected:
35 void focusOutEvent(QFocusEvent *event) override
36 {
37 Q_EMIT focusOut();
38 QLineEdit::focusOutEvent(event);
39 }
40};
41
42} // namespace qdesigner_internal
43
44QT_END_NAMESPACE
45
46#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)