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
4#ifndef LISTWIDGETEDITOR_H
5#define LISTWIDGETEDITOR_H
6
8#include <qdesigner_command_p.h>
9
10#include <QtWidgets/qwidget.h>
11
13
14class QListWidget;
15class QComboBox;
16class QDesignerFormWindowInterface;
17
18namespace qdesigner_internal {
19
21{
23
24public:
27
28 ListContents fillContentsFromListWidget(QListWidget *listWidget);
29 ListContents fillContentsFromComboBox(QComboBox *comboBox);
30 ListContents contents() const;
31
32private:
33 ItemListEditor *m_itemsEditor;
34};
35
36} // namespace qdesigner_internal
37
38QT_END_NAMESPACE
39
40#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.