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
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
TASKMENU_H
5
#
define
TASKMENU_H
6
7
#
include
<
QtDesigner
/
sdk_global
.
h
>
8
#
include
<
QtDesigner
/
extension
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QAction;
13
14
class
QDESIGNER_SDK_EXPORT
QDesignerTaskMenuExtension
15
{
16
public
:
17
Q_DISABLE_COPY_MOVE(QDesignerTaskMenuExtension)
18
19
QDesignerTaskMenuExtension() =
default
;
20
virtual
~QDesignerTaskMenuExtension();
21
22
virtual
QAction *preferredEditAction()
const
;
23
24
virtual
QList<QAction*> taskActions()
const
= 0;
25
};
26
Q_DECLARE_EXTENSION_INTERFACE(QDesignerTaskMenuExtension,
"org.qt-project.Qt.Designer.TaskMenu"
)
27
28
QT_END_NAMESPACE
29
30
#
endif
// TASKMENU_H
QDesignerTaskMenuExtension
Definition
taskmenu.h:15
qttools
src
designer
src
lib
sdk
taskmenu.h
Generated on Sat Sep 21 2024 00:50:30 for Qt by
1.12.0