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
10QT_BEGIN_NAMESPACE
11
12class QAction;
13
14class QDESIGNER_SDK_EXPORT QDesignerTaskMenuExtension
15{
16public:
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};
26Q_DECLARE_EXTENSION_INTERFACE(QDesignerTaskMenuExtension, "org.qt-project.Qt.Designer.TaskMenu")
27
28QT_END_NAMESPACE
29
30#endif // TASKMENU_H