#include <abstractwidgetbox.h>
Collaboration diagram for QDesignerWidgetBoxInterface::Category:

Definition at line 67 of file abstractwidgetbox.h.
Public Types | |
| enum | Type |
Public Member Functions | |
| Category (const QString &aname=QString(), Type atype=Default) | |
| QString | name () const |
| void | setName (const QString &aname) |
| int | widgetCount () const |
| Widget | widget (int idx) const |
| void | removeWidget (int idx) |
| void | addWidget (const Widget &awidget) |
| Type | type () const |
| void | setType (Type atype) |
| bool | isNull () const |
Private Attributes | |
| QString | m_name |
| Type | m_type |
| QList< Widget > | m_widget_list |
| QString QDesignerWidgetBoxInterface::Category::name | ( | ) | const [inline] |
Definition at line 74 of file abstractwidgetbox.h.
Referenced by qdesigner_internal::WidgetBoxTreeView::addCategory(), qdesigner_internal::WidgetBoxTreeView::categoryListToDom(), and findCategory().
00074 { return m_name; }
| void QDesignerWidgetBoxInterface::Category::setName | ( | const QString & | aname | ) | [inline] |
Definition at line 75 of file abstractwidgetbox.h.
Referenced by qdesigner_internal::WidgetBoxTreeView::category().
00075 { m_name = aname; }
| int QDesignerWidgetBoxInterface::Category::widgetCount | ( | ) | const [inline] |
Definition at line 76 of file abstractwidgetbox.h.
References QString::size().
Referenced by qdesigner_internal::WidgetBoxTreeView::addCategory(), and qdesigner_internal::WidgetBoxTreeView::categoryListToDom().
00076 { return m_widget_list.size(); }
Here is the call graph for this function:

| Widget QDesignerWidgetBoxInterface::Category::widget | ( | int | idx | ) | const [inline] |
Definition at line 77 of file abstractwidgetbox.h.
Referenced by qdesigner_internal::WidgetBoxTreeView::addCategory(), and qdesigner_internal::WidgetBoxTreeView::categoryListToDom().
00077 { return m_widget_list.at(idx); }
| void QDesignerWidgetBoxInterface::Category::removeWidget | ( | int | idx | ) | [inline] |
| void QDesignerWidgetBoxInterface::Category::addWidget | ( | const Widget & | awidget | ) | [inline] |
Definition at line 79 of file abstractwidgetbox.h.
Referenced by qdesigner_internal::WidgetBoxTreeView::category(), qdesigner_internal::WidgetBoxTreeView::domToCategory(), and qdesigner_internal::WidgetBoxTreeView::loadCustomCategoryList().
00079 { m_widget_list.append(awidget); }
| Type QDesignerWidgetBoxInterface::Category::type | ( | ) | const [inline] |
Definition at line 80 of file abstractwidgetbox.h.
Referenced by qdesigner_internal::WidgetBoxTreeView::addCategory(), qdesigner_internal::WidgetBoxTreeView::categoryListToDom(), and qdesigner_internal::WidgetBoxTreeView::load().
00080 { return m_type; }
| void QDesignerWidgetBoxInterface::Category::setType | ( | Type | atype | ) | [inline] |
Definition at line 81 of file abstractwidgetbox.h.
Referenced by qdesigner_internal::WidgetBoxTreeView::category(), and qdesigner_internal::WidgetBoxTreeView::domToCategory().
00081 { m_type = atype; }
| bool QDesignerWidgetBoxInterface::Category::isNull | ( | ) | const [inline] |
Definition at line 83 of file abstractwidgetbox.h.
Referenced by qdesigner_internal::WidgetBoxTreeView::domToCateogryList().
Definition at line 86 of file abstractwidgetbox.h.
Definition at line 87 of file abstractwidgetbox.h.
Definition at line 88 of file abstractwidgetbox.h.
1.5.1