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
groupbox_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
GROUPBOX_TASKMENU_H
5
#
define
GROUPBOX_TASKMENU_H
6
7
#
include
<
QtWidgets
/
qgroupbox
.
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
class
QDesignerFormWindowInterface;
16
17
namespace
qdesigner_internal
{
18
class
InPlaceEditor
;
19
20
class
GroupBoxTaskMenu
:
public
QDesignerTaskMenu
21
{
22
Q_OBJECT
23
public
:
24
explicit
GroupBoxTaskMenu
(
QGroupBox
*
groupbox
,
QObject
*
parent
=
nullptr
);
25
26
QAction
*
preferredEditAction
()
const
override
;
27
QList
<
QAction
*>
taskActions
()
const
override
;
28
29
private
:
30
QAction *m_editTitleAction;
31
QList<QAction*> m_taskActions;
32
};
33
34
using
GroupBoxTaskMenuFactory
=
ExtensionFactory
<
QDesignerTaskMenuExtension
,
QGroupBox
,
GroupBoxTaskMenu
>;
35
}
// namespace qdesigner_internal
36
37
QT_END_NAMESPACE
38
39
#
endif
// GROUPBOX_TASKMENU_H
qdesigner_internal::GroupBoxTaskMenuInlineEditor
Definition
groupbox_taskmenu.cpp:22
qdesigner_internal::GroupBoxTaskMenuInlineEditor::editRectangle
QRect editRectangle() const override
Definition
groupbox_taskmenu.cpp:35
qdesigner_internal::GroupBoxTaskMenuInlineEditor::GroupBoxTaskMenuInlineEditor
GroupBoxTaskMenuInlineEditor(QGroupBox *button, QObject *parent)
Definition
groupbox_taskmenu.cpp:30
qdesigner_internal::GroupBoxTaskMenu
Definition
groupbox_taskmenu.h:21
qdesigner_internal::GroupBoxTaskMenu::preferredEditAction
QAction * preferredEditAction() const override
Definition
groupbox_taskmenu.cpp:64
qdesigner_internal::GroupBoxTaskMenu::taskActions
QList< QAction * > taskActions() const override
Definition
groupbox_taskmenu.cpp:59
qdesigner_internal::InPlaceEditor
Definition
inplace_editor.h:23
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
groupbox_taskmenu.h
Generated on Sat Sep 21 2024 00:50:25 for Qt by
1.12.0