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
13
QT_BEGIN_NAMESPACE
14
15
namespace
qdesigner_internal
{
16
17
class
LineEditTaskMenu
:
public
QDesignerTaskMenu
18
{
19
Q_OBJECT
20
public
:
21
explicit
LineEditTaskMenu
(
QLineEdit
*
button
,
QObject
*
parent
=
nullptr
);
22
23
QAction
*
preferredEditAction
()
const
override
;
24
QList
<
QAction
*>
taskActions
()
const
override
;
25
26
private
:
27
QList<QAction*> m_taskActions;
28
QAction *m_editTextAction;
29
};
30
31
using
LineEditTaskMenuFactory
=
ExtensionFactory
<
QDesignerTaskMenuExtension
,
QLineEdit
,
LineEditTaskMenu
>;
32
}
// namespace qdesigner_internal
33
34
QT_END_NAMESPACE
35
36
#
endif
// LINEEDIT_TASKMENU_H
qdesigner_internal::LineEditTaskMenuInlineEditor
Definition
lineedit_taskmenu.cpp:22
qdesigner_internal::LineEditTaskMenuInlineEditor::LineEditTaskMenuInlineEditor
LineEditTaskMenuInlineEditor(QLineEdit *button, QObject *parent)
Definition
lineedit_taskmenu.cpp:30
qdesigner_internal::LineEditTaskMenuInlineEditor::editRectangle
QRect editRectangle() const override
Definition
lineedit_taskmenu.cpp:35
qdesigner_internal::LineEditTaskMenu
Definition
lineedit_taskmenu.h:18
qdesigner_internal::LineEditTaskMenu::taskActions
QList< QAction * > taskActions() const override
Definition
lineedit_taskmenu.cpp:61
qdesigner_internal::LineEditTaskMenu::preferredEditAction
QAction * preferredEditAction() const override
Definition
lineedit_taskmenu.cpp:56
qdesigner_internal::TaskMenuInlineEditor
Definition
inplace_editor.h:41
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
qdesigner_internal
Auxiliary methods to store/retrieve settings.
Definition
buddyeditor.cpp:66
qttools
src
designer
src
components
taskmenu
lineedit_taskmenu.h
Generated on Sat Sep 21 2024 00:50:26 for Qt by
1.12.0