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
4#ifndef ABSTRACTACTIONEDITOR_H
5#define ABSTRACTACTIONEDITOR_H
6
7#include <QtDesigner/sdk_global.h>
8
9#include <QtWidgets/qwidget.h>
10
11QT_BEGIN_NAMESPACE
12
13class QDesignerFormEditorInterface;
14class QDesignerFormWindowInterface;
15
16class QDESIGNER_SDK_EXPORT QDesignerActionEditorInterface: public QWidget
17{
18 Q_OBJECT
19public:
20 explicit QDesignerActionEditorInterface(QWidget *parent, Qt::WindowFlags flags = {});
21 virtual ~QDesignerActionEditorInterface();
22
23 virtual QDesignerFormEditorInterface *core() const;
24
25 virtual void manageAction(QAction *action) = 0;
26 virtual void unmanageAction(QAction *action) = 0;
27
28public Q_SLOTS:
29 virtual void setFormWindow(QDesignerFormWindowInterface *formWindow) = 0;
30};
31
32QT_END_NAMESPACE
33
34#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.