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::Widget Class Reference

The Widget class specified a widget in \QD's widget box component. More...

#include <abstractwidgetbox.h>

+ Collaboration diagram for QDesignerWidgetBoxInterface::Widget:

Public Types

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

Public Member Functions

 Widget (const QString &aname=QString(), const QString &xml=QString(), const QString &icon_name=QString(), Type atype=Default)
 
 ~Widget ()
 
 Widget (const Widget &w)
 
Widgetoperator= (const Widget &w)
 
QString name () const
 
void setName (const QString &aname)
 
QString domXml () const
 
void setDomXml (const QString &xml)
 
QString iconName () const
 
void setIconName (const QString &icon_name)
 
Type type () const
 
void setType (Type atype)
 
bool isNull () const
 

Detailed Description

The Widget class specified a widget in \QD's widget box component.

Definition at line 25 of file abstractwidgetbox.h.

Member Enumeration Documentation

◆ Type

\value Default \value Custom

Enumerator
Default 
Custom 

Definition at line 28 of file abstractwidgetbox.h.

Constructor & Destructor Documentation

◆ Widget() [1/2]

QDesignerWidgetBoxInterface::Widget::Widget ( const QString & aname = QString(),
const QString & xml = QString(),
const QString & icon_name = QString(),
Type atype = Default )

Definition at line 38 of file qdesigner_widgetbox.cpp.

◆ ~Widget()

QDesignerWidgetBoxInterface::Widget::~Widget ( )
default

◆ Widget() [2/2]

QDesignerWidgetBoxInterface::Widget::Widget ( const Widget & w)

Definition at line 46 of file qdesigner_widgetbox.cpp.

Member Function Documentation

◆ domXml()

QString QDesignerWidgetBoxInterface::Widget::domXml ( ) const

Definition at line 70 of file qdesigner_widgetbox.cpp.

◆ iconName()

QString QDesignerWidgetBoxInterface::Widget::iconName ( ) const

Definition at line 81 of file qdesigner_widgetbox.cpp.

◆ isNull()

bool QDesignerWidgetBoxInterface::Widget::isNull ( ) const

Definition at line 103 of file qdesigner_widgetbox.cpp.

◆ name()

QString QDesignerWidgetBoxInterface::Widget::name ( ) const

Definition at line 59 of file qdesigner_widgetbox.cpp.

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

+ Here is the caller graph for this function:

◆ operator=()

QDesignerWidgetBoxInterface::Widget & QDesignerWidgetBoxInterface::Widget::operator= ( const Widget & w)

Definition at line 51 of file qdesigner_widgetbox.cpp.

◆ setDomXml()

void QDesignerWidgetBoxInterface::Widget::setDomXml ( const QString & xml)

Definition at line 75 of file qdesigner_widgetbox.cpp.

◆ setIconName()

void QDesignerWidgetBoxInterface::Widget::setIconName ( const QString & icon_name)

Definition at line 86 of file qdesigner_widgetbox.cpp.

◆ setName()

void QDesignerWidgetBoxInterface::Widget::setName ( const QString & aname)

Definition at line 64 of file qdesigner_widgetbox.cpp.

◆ setType()

void QDesignerWidgetBoxInterface::Widget::setType ( Type atype)

Definition at line 97 of file qdesigner_widgetbox.cpp.

◆ type()

QDesignerWidgetBoxInterface::Widget::Type QDesignerWidgetBoxInterface::Widget::type ( ) const

Definition at line 92 of file qdesigner_widgetbox.cpp.


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