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
qdesigner_internal::TreeWidgetContents::ItemContents Struct Reference

#include <qdesigner_command_p.h>

+ Inheritance diagram for qdesigner_internal::TreeWidgetContents::ItemContents:
+ Collaboration diagram for qdesigner_internal::TreeWidgetContents::ItemContents:

Public Member Functions

 ItemContents ()=default
 
 ItemContents (const QTreeWidgetItem *item, bool editor)
 
QTreeWidgetItemcreateTreeItem (DesignerIconCache *iconCache, bool editor) const
 
- Public Member Functions inherited from qdesigner_internal::ListContents
 ListContents ()=default
 
 ListContents (const QTreeWidgetItem *item)
 
QTreeWidgetItemcreateTreeItem (DesignerIconCache *iconCache) const
 
void createFromListWidget (const QListWidget *listWidget, bool editor)
 
void applyToListWidget (QListWidget *listWidget, DesignerIconCache *iconCache, bool editor, Qt::Alignment alignmentDefault=Qt::AlignLeading|Qt::AlignVCenter) const
 
void createFromComboBox (const QComboBox *listWidget)
 
void applyToComboBox (QComboBox *listWidget, DesignerIconCache *iconCache) const
 

Public Attributes

int m_itemFlags = -1
 
QList< ItemContentsm_children
 
- Public Attributes inherited from qdesigner_internal::ListContents
QList< ItemDatam_items
 

Friends

QDESIGNER_SHARED_EXPORT bool comparesEqual (const ItemContents &lhs, const ItemContents &rhs)
 

Detailed Description

Definition at line 911 of file qdesigner_command_p.h.

Constructor & Destructor Documentation

◆ ItemContents() [1/2]

qdesigner_internal::TreeWidgetContents::ItemContents::ItemContents ( )
default

◆ ItemContents() [2/2]

qdesigner_internal::TreeWidgetContents::ItemContents::ItemContents ( const QTreeWidgetItem * item,
bool editor )

Definition at line 2434 of file qdesigner_command.cpp.

Member Function Documentation

◆ createTreeItem()

QTreeWidgetItem * qdesigner_internal::TreeWidgetContents::ItemContents::createTreeItem ( DesignerIconCache * iconCache,
bool editor ) const

Definition at line 2450 of file qdesigner_command.cpp.

Friends And Related Symbol Documentation

◆ comparesEqual

QDESIGNER_SHARED_EXPORT bool comparesEqual ( const ItemContents & lhs,
const ItemContents & rhs )
friend

Definition at line 2470 of file qdesigner_command.cpp.

Member Data Documentation

◆ m_children

QList<ItemContents> qdesigner_internal::TreeWidgetContents::ItemContents::m_children

Definition at line 920 of file qdesigner_command_p.h.

◆ m_itemFlags

int qdesigner_internal::TreeWidgetContents::ItemContents::m_itemFlags = -1

Definition at line 916 of file qdesigner_command_p.h.


The documentation for this struct was generated from the following files: