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
QDesignerWidgetBoxInterface::Category Class Reference

The Category class specifies a category in \QD's widget box component. More...

#include <abstractwidgetbox.h>

+ Collaboration diagram for QDesignerWidgetBoxInterface::Category:

Public Types

enum  Type { Default , Scratchpad }
 \value Default \value Scratchpad More...
 

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
 

Detailed Description

The Category class specifies a category in \QD's widget box component.

Definition at line 52 of file abstractwidgetbox.h.

Member Enumeration Documentation

◆ Type

\value Default \value Scratchpad

Enumerator
Default 
Scratchpad 

Definition at line 55 of file abstractwidgetbox.h.

Constructor & Destructor Documentation

◆ Category()

QDesignerWidgetBoxInterface::Category::Category ( const QString & aname = QString(),
Type atype = Default )
inline

Definition at line 57 of file abstractwidgetbox.h.

Member Function Documentation

◆ addWidget()

void QDesignerWidgetBoxInterface::Category::addWidget ( const Widget & awidget)
inline

Definition at line 65 of file abstractwidgetbox.h.

◆ isNull()

bool QDesignerWidgetBoxInterface::Category::isNull ( ) const
inline

Definition at line 69 of file abstractwidgetbox.h.

◆ name()

QString QDesignerWidgetBoxInterface::Category::name ( ) const
inline

Definition at line 60 of file abstractwidgetbox.h.

Referenced by testing.tools.encode_pdf_filter._PdfStream::RegisterByName().

+ Here is the caller graph for this function:

◆ removeWidget()

void QDesignerWidgetBoxInterface::Category::removeWidget ( int idx)
inline

Definition at line 64 of file abstractwidgetbox.h.

◆ setName()

void QDesignerWidgetBoxInterface::Category::setName ( const QString & aname)
inline

Definition at line 61 of file abstractwidgetbox.h.

◆ setType()

void QDesignerWidgetBoxInterface::Category::setType ( Type atype)
inline

Definition at line 67 of file abstractwidgetbox.h.

◆ type()

Type QDesignerWidgetBoxInterface::Category::type ( ) const
inline

Definition at line 66 of file abstractwidgetbox.h.

◆ widget()

Widget QDesignerWidgetBoxInterface::Category::widget ( int idx) const
inline

Definition at line 63 of file abstractwidgetbox.h.

◆ widgetCount()

int QDesignerWidgetBoxInterface::Category::widgetCount ( ) const
inline

Definition at line 62 of file abstractwidgetbox.h.


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