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
lineedit_taskmenu.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// Qt-Security score:significant reason:default
4
5#ifndef LINEEDIT_TASKMENU_H
6#define LINEEDIT_TASKMENU_H
7
8#include <QtWidgets/qlineedit.h>
9#include <QtCore/qpointer.h>
10
11#include <qdesigner_taskmenu_p.h>
12#include <extensionfactory_p.h>
13
15
16namespace qdesigner_internal {
17
19{
21public:
22 explicit LineEditTaskMenu(QLineEdit *button, QObject *parent = nullptr);
23
24 QAction *preferredEditAction() const override;
25 QList<QAction*> taskActions() const override;
26
27private:
28 QList<QAction*> m_taskActions;
29 QAction *m_editTextAction;
30};
31
33} // namespace qdesigner_internal
34
35QT_END_NAMESPACE
36
37#endif // LINEEDIT_TASKMENU_H
LineEditTaskMenuInlineEditor(QLineEdit *button, QObject *parent)
QList< QAction * > taskActions() const override
QAction * preferredEditAction() const override
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.