Category Class
class QDesignerWidgetBoxInterface::CategoryThe Category class specifies a category in Qt Designer's widget box component. \internal. More...
Public Types
| enum | Type { Default, Scratchpad } |
Public Functions
| Category(const QString &aname = QString(), Type atype = Default) | |
| void | addWidget(const Widget &awidget) |
| bool | isNull() const |
| QString | name() const |
| void | removeWidget(int idx) |
| void | setName(const QString &aname) |
| void | setType(Type atype) |
| Type | type() const |
| Widget | widget(int idx) const |
| int | widgetCount() const |
Detailed Description
Member Type Documentation
enum Category::Type
| Constant | Value |
|---|---|
QDesignerWidgetBoxInterface::Category::Default | 0 |
QDesignerWidgetBoxInterface::Category::Scratchpad | 1 |
Member Function Documentation
Category::Category(const QString &aname = QString(), Type atype = Default)
void Category::addWidget(const Widget &awidget)
bool Category::isNull() const
QString Category::name() const
See also setName().
void Category::removeWidget(int idx)
void Category::setName(const QString &aname)
See also name().
void Category::setType(Type atype)
See also type().
Type Category::type() const
See also setType().