![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "widgetboxtreewidget.h"#include "widgetboxcategorylistview.h"#include <iconloader_p.h>#include <sheet_delegate_p.h>#include <QtDesigner/private/ui4_p.h>#include <qdesigner_utils_p.h>#include <pluginmanager_p.h>#include <QtDesigner/abstractformeditor.h>#include <QtDesigner/abstractdnditem.h>#include <QtDesigner/abstractsettings.h>#include <QtUiPlugin/customwidget.h>#include <QtWidgets/qapplication.h>#include <QtWidgets/qheaderview.h>#include <QtWidgets/qmenu.h>#include <QtWidgets/qscrollbar.h>#include <QtWidgets/qtreewidget.h>#include <QtGui/qaction.h>#include <QtGui/qactiongroup.h>#include <QtGui/qevent.h>#include <QtCore/qfile.h>#include <QtCore/qtimer.h>#include <QtCore/qdebug.h>Go to the source code of this file.
Namespaces | |
| namespace | qdesigner_internal |
| Auxiliary methods to store/retrieve settings. | |
Enumerations | |
| enum | TopLevelRole { NORMAL_ITEM , SCRATCHPAD_ITEM , CUSTOM_ITEM , NORMAL_ITEM , SCRATCHPAD_ITEM , CUSTOM_ITEM } |
| enum | TopLevelRole { NORMAL_ITEM , SCRATCHPAD_ITEM , CUSTOM_ITEM , NORMAL_ITEM , SCRATCHPAD_ITEM , CUSTOM_ITEM } |
Functions | |
| static void | setTopLevelRole (TopLevelRole tlr, QTreeWidgetItem *item) |
| static TopLevelRole | topLevelRole (const QTreeWidgetItem *item) |
| static QString | qdesigner_internal::msgXmlError (const QString &fileName, const QXmlStreamReader &rr) |
| static int | qdesigner_internal::findCategory (const QString &namename, const WidgetBoxTreeWidget::CategoryList &list) |
| static bool | qdesigner_internal::isValidIcon (const QIcon &icon) |
Variables | |
| static constexpr auto | widgetBoxRootElementC = "widgetbox"_L1 |
| static constexpr auto | wbWidgetElementC = "widget"_L1 |
| static constexpr auto | uiElementC = "ui"_L1 |
| static constexpr auto | categoryElementC = "category"_L1 |
| static constexpr auto | categoryEntryElementC = "categoryentry"_L1 |
| static constexpr auto | wbNameAttributeC = "name"_L1 |
| static constexpr auto | typeAttributeC = "type"_L1 |
| static constexpr auto | iconAttributeC = "icon"_L1 |
| static constexpr auto | defaultTypeValueC = "default"_L1 |
| static constexpr auto | customValueC = "custom"_L1 |
| static constexpr auto | iconPrefixC = "__qt_icon__"_L1 |
| static constexpr auto | scratchPadValueC = "scratchpad"_L1 |
| static constexpr auto | invisibleNameC = "[invisible]"_L1 |
| static constexpr auto | qdesigner_internal::widgetBoxSettingsGroupC = "WidgetBox"_L1 |
| static constexpr auto | qdesigner_internal::widgetBoxExpandedKeyC = "Closed categories"_L1 |
| static constexpr auto | qdesigner_internal::widgetBoxViewModeKeyC = "View mode"_L1 |
| enum TopLevelRole |
| Enumerator | |
|---|---|
| NORMAL_ITEM | |
| SCRATCHPAD_ITEM | |
| CUSTOM_ITEM | |
| NORMAL_ITEM | |
| SCRATCHPAD_ITEM | |
| CUSTOM_ITEM | |
Definition at line 54 of file widgetboxtreewidget.cpp.
| enum TopLevelRole |
| Enumerator | |
|---|---|
| NORMAL_ITEM | |
| SCRATCHPAD_ITEM | |
| CUSTOM_ITEM | |
| NORMAL_ITEM | |
| SCRATCHPAD_ITEM | |
| CUSTOM_ITEM | |
Definition at line 54 of file widgetboxtreewidget.cpp.
|
static |
Definition at line 56 of file widgetboxtreewidget.cpp.
|
static |
Definition at line 61 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 43 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 44 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 49 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 48 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 47 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 50 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 52 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 51 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 46 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 42 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 45 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 41 of file widgetboxtreewidget.cpp.
|
staticconstexpr |
Definition at line 40 of file widgetboxtreewidget.cpp.