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
QDesignerExtraInfoExtension Class Referenceabstract

The QDesignerExtraInfoExtension class provides extra information about a widget in Qt Widgets Designer. More...

#include <extrainfo.h>

+ Inheritance diagram for QDesignerExtraInfoExtension:
+ Collaboration diagram for QDesignerExtraInfoExtension:

Public Member Functions

 QDesignerExtraInfoExtension ()=default
 
virtual ~QDesignerExtraInfoExtension ()=default
 Destroys the extension.
 
virtual QDesignerFormEditorInterfacecore () const =0
 \omit
 
virtual QWidgetwidget () const =0
 Returns the widget described by this extension.
 
virtual bool saveUiExtraInfo (DomUI *ui)=0
 Saves the information about the user interface specified by ui, and returns true if successful; otherwise returns false.
 
virtual bool loadUiExtraInfo (DomUI *ui)=0
 Loads extra information about the user interface specified by ui, and returns true if successful; otherwise returns false.
 
virtual bool saveWidgetExtraInfo (DomWidget *ui_widget)=0
 Saves the information about the specified widget, and returns true if successful; otherwise returns false.
 
virtual bool loadWidgetExtraInfo (DomWidget *ui_widget)=0
 Loads extra information about the specified widget, and returns true if successful; otherwise returns false.
 
QString workingDirectory () const
 Returns the path to the working directory used by this extension.
 
void setWorkingDirectory (const QString &workingDirectory)
 Sets the path to the working directory used by the extension to workingDirectory.
 

Detailed Description

The QDesignerExtraInfoExtension class provides extra information about a widget in Qt Widgets Designer.

\inmodule QtDesigner

Definition at line 18 of file extrainfo.h.

Constructor & Destructor Documentation

◆ QDesignerExtraInfoExtension()

QDesignerExtraInfoExtension::QDesignerExtraInfoExtension ( )
default

◆ ~QDesignerExtraInfoExtension()

virtual QDesignerExtraInfoExtension::~QDesignerExtraInfoExtension ( )
virtualdefault

Destroys the extension.

Member Function Documentation

◆ core()

virtual QDesignerFormEditorInterface * QDesignerExtraInfoExtension::core ( ) const
pure virtual

\omit

Description required

\endomit

Implemented in QAxWidgetExtraInfo.

◆ loadUiExtraInfo()

virtual bool QDesignerExtraInfoExtension::loadUiExtraInfo ( DomUI * ui)
pure virtual

Loads extra information about the user interface specified by ui, and returns true if successful; otherwise returns false.

Implemented in QAxWidgetExtraInfo.

◆ loadWidgetExtraInfo()

virtual bool QDesignerExtraInfoExtension::loadWidgetExtraInfo ( DomWidget * ui_widget)
pure virtual

Loads extra information about the specified widget, and returns true if successful; otherwise returns false.

Implemented in QAxWidgetExtraInfo.

◆ saveUiExtraInfo()

virtual bool QDesignerExtraInfoExtension::saveUiExtraInfo ( DomUI * ui)
pure virtual

Saves the information about the user interface specified by ui, and returns true if successful; otherwise returns false.

Implemented in QAxWidgetExtraInfo.

◆ saveWidgetExtraInfo()

virtual bool QDesignerExtraInfoExtension::saveWidgetExtraInfo ( DomWidget * ui_widget)
pure virtual

Saves the information about the specified widget, and returns true if successful; otherwise returns false.

Implemented in QAxWidgetExtraInfo.

◆ setWorkingDirectory()

void QDesignerExtraInfoExtension::setWorkingDirectory ( const QString & workingDirectory)

Sets the path to the working directory used by the extension to workingDirectory.

Definition at line 25 of file extrainfo.cpp.

◆ widget()

virtual QWidget * QDesignerExtraInfoExtension::widget ( ) const
pure virtual

Returns the widget described by this extension.

Implemented in QAxWidgetExtraInfo.

◆ workingDirectory()

QString QDesignerExtraInfoExtension::workingDirectory ( ) const

Returns the path to the working directory used by this extension.

Definition at line 18 of file extrainfo.cpp.


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