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
abstractactioneditor.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// Qt-Security score:significant reason:default
4
5#ifndef ABSTRACTACTIONEDITOR_H
6#define ABSTRACTACTIONEDITOR_H
7
8#include <QtDesigner/sdk_global.h>
9
10#include <QtWidgets/qwidget.h>
11
12QT_BEGIN_NAMESPACE
13
14class QDesignerFormEditorInterface;
15class QDesignerFormWindowInterface;
16
17class QDESIGNER_SDK_EXPORT QDesignerActionEditorInterface: public QWidget
18{
19 Q_OBJECT
20public:
21 explicit QDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags = {});
22 ~QDesignerActionEditorInterface() override;
23
24 virtual QDesignerFormEditorInterface *core() const;
25
26 virtual void manageAction(QAction *action) = 0;
27 virtual void unmanageAction(QAction *action) = 0;
28
29public Q_SLOTS:
30 virtual void setFormWindow(QDesignerFormWindowInterface *formWindow) = 0;
31};
32
33QT_END_NAMESPACE
34
35#endif // ABSTRACTACTIONEDITOR_H
The QDesignerActionEditorInterface class allows you to change the focus of \QD's action editor.
Combined button and popup list for selecting options.