| QGIS API Documentation
    3.18.1-Zürich (202f1bf7e5)
    | 
Factory class for creating custom developer/debugging tool pages. More...
#include <qgsdevtoolwidgetfactory.h>
| Public Member Functions | |
| QgsDevToolWidgetFactory (const QString &title=QString(), const QIcon &icon=QIcon()) | |
| Constructor for a QgsDevToolWidgetFactory with the specified title and icon.  More... | |
| virtual | ~QgsDevToolWidgetFactory ()=default | 
| virtual QgsDevToolWidget * | createWidget (QWidget *parent=nullptr) const =0 | 
| Factory function to create the widget on demand as needed by the dock.  More... | |
| virtual QIcon | icon () const | 
| Returns the icon that will be shown in the tool in the panel.  More... | |
| void | setIcon (const QIcon &icon) | 
| Sets the icon for the factory object, which will be shown for the tool in the panel.  More... | |
| void | setTitle (const QString &title) | 
| Set the translated title for the tool.  More... | |
| virtual QString | title () const | 
| Returns the (translated) title of the tool.  More... | |
Factory class for creating custom developer/debugging tool pages.
Definition at line 33 of file qgsdevtoolwidgetfactory.h.
| QgsDevToolWidgetFactory::QgsDevToolWidgetFactory | ( | const QString & | title = QString(), | 
| const QIcon & | icon = QIcon() | ||
| ) | 
Constructor for a QgsDevToolWidgetFactory with the specified title and icon.
Definition at line 18 of file qgsdevtoolwidgetfactory.cpp.
| 
 | virtualdefault | 
| 
 | pure virtual | 
Factory function to create the widget on demand as needed by the dock.
The parent argument gives the correct parent for the newly created widget.
| 
 | inlinevirtual | 
Returns the icon that will be shown in the tool in the panel.
Definition at line 48 of file qgsdevtoolwidgetfactory.h.
| 
 | inline | 
Sets the icon for the factory object, which will be shown for the tool in the panel.
Definition at line 54 of file qgsdevtoolwidgetfactory.h.
| 
 | inline | 
Set the translated title for the tool.
Definition at line 65 of file qgsdevtoolwidgetfactory.h.
| 
 | inlinevirtual | 
Returns the (translated) title of the tool.
Definition at line 60 of file qgsdevtoolwidgetfactory.h.