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
4#ifndef LINEEDIT_TASKMENU_H
5#define LINEEDIT_TASKMENU_H
6
7#include <QtWidgets/qlineedit.h>
8#include <QtCore/qpointer.h>
9
10#include <qdesigner_taskmenu_p.h>
11#include <extensionfactory_p.h>
12
14
15namespace qdesigner_internal {
16
18{
20public:
21 explicit LineEditTaskMenu(QLineEdit *button, QObject *parent = nullptr);
22
23 QAction *preferredEditAction() const override;
24 QList<QAction*> taskActions() const override;
25
26private:
27 QList<QAction*> m_taskActions;
28 QAction *m_editTextAction;
29};
30
32} // namespace qdesigner_internal
33
34QT_END_NAMESPACE
35
36#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.