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
listwidgeteditor.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 LISTWIDGETEDITOR_H
6#define LISTWIDGETEDITOR_H
7
9#include <qdesigner_command_p.h>
10
11#include <QtWidgets/qwidget.h>
12
14
15class QListWidget;
16class QComboBox;
17class QDesignerFormWindowInterface;
18
19namespace qdesigner_internal {
20
22{
24
25public:
28
29 ListContents fillContentsFromListWidget(QListWidget *listWidget);
30 ListContents fillContentsFromComboBox(QComboBox *comboBox);
31 ListContents contents() const;
32
33private:
34 ItemListEditor *m_itemsEditor;
35};
36
37} // namespace qdesigner_internal
38
39QT_END_NAMESPACE
40
41#endif // LISTWIDGETEDITOR_H
ComboBoxTaskMenuFactory(const QString &iid, QExtensionManager *extensionManager)
QComboBox * checkObject(QObject *qObject) const override
QList< QAction * > taskActions() const override
QAction * preferredEditAction() const override
ListContents fillContentsFromComboBox(QComboBox *comboBox)
ListContents fillContentsFromListWidget(QListWidget *listWidget)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.