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
14
15class QDesignerFormWindowInterface;
16
17namespace qdesigner_internal {
18class InPlaceEditor;
19
21{
23public:
24 explicit GroupBoxTaskMenu(QGroupBox *groupbox, QObject *parent = nullptr);
25
26 QAction *preferredEditAction() const override;
27 QList<QAction*> taskActions() const override;
28
29private:
30 QAction *m_editTitleAction;
31 QList<QAction*> m_taskActions;
32};
33
35} // namespace qdesigner_internal
36
37QT_END_NAMESPACE
38
39#endif // GROUPBOX_TASKMENU_H
GroupBoxTaskMenuInlineEditor(QGroupBox *button, QObject *parent)
QAction * preferredEditAction() const override
QList< QAction * > taskActions() const override
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.