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
sheet_delegate_p.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//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists for the convenience
9// of Qt Designer. This header
10// file may change from version to version without notice, or even be removed.
11//
12// We mean it.
13//
14
15
16#ifndef SHEET_DELEGATE_H
17#define SHEET_DELEGATE_H
18
20
21#include <QtWidgets/qitemdelegate.h>
22#include <QtWidgets/qtreeview.h>
23
25
26class QTreeView;
27
28namespace qdesigner_internal {
29
42
43} // namespace qdesigner_internal
44
45QT_END_NAMESPACE
46
47#endif // SHEET_DELEGATE_H
Widget widget(int cat_idx, int wgt_idx) const
void contextMenuEvent(QContextMenuEvent *e) override
void resizeEvent(QResizeEvent *e) override
WidgetBoxTreeWidget(QDesignerFormEditorInterface *core, QWidget *parent=nullptr)
void addWidget(int cat_idx, const Widget &wgt)
bool load(QDesignerWidgetBox::LoadMode loadMode)
void removeWidget(int cat_idx, int wgt_idx)
void dropWidgets(const QList< QDesignerDnDItemInterface * > &item_list)
Combined button and popup list for selecting options.
Auxiliary methods to store/retrieve settings.
static int findCategory(const QString &name, const WidgetBoxTreeWidget::CategoryList &list)
static bool isValidIcon(const QIcon &icon)
static QString msgXmlError(const QString &fileName, const QXmlStreamReader &r)
static constexpr auto widgetBoxSettingsGroupC
static constexpr auto widgetBoxViewModeKeyC
QDESIGNER_SHARED_EXPORT void designerWarning(const QString &message)
static constexpr auto widgetBoxExpandedKeyC
#define QDESIGNER_SHARED_EXPORT
static constexpr auto uiElementC
static constexpr auto wbWidgetElementC
static constexpr auto typeAttributeC
static constexpr auto invisibleNameC
static constexpr auto widgetBoxRootElementC
@ SCRATCHPAD_ITEM
static constexpr auto iconPrefixC
static constexpr auto iconAttributeC
static TopLevelRole topLevelRole(const QTreeWidgetItem *item)
static constexpr auto categoryElementC
static void setTopLevelRole(TopLevelRole tlr, QTreeWidgetItem *item)
static constexpr auto categoryEntryElementC
static constexpr auto scratchPadValueC
static constexpr auto wbNameAttributeC
static constexpr auto defaultTypeValueC
static constexpr auto customValueC