QtPdWidgets  2.3.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Plugin Class Reference

Plugin interface class. More...

#include <Plugin.h>

Inheritance diagram for Plugin:
Inheritance graph
[legend]
Collaboration diagram for Plugin:
Collaboration graph
[legend]

Public Member Functions

 Plugin (const QString &, QObject *parent=0)
 Plugin constructor. More...
 
bool isContainer () const
 Returns, if the widget is a container. More...
 
bool isInitialized () const
 Returns the initialized state. More...
 
QIcon icon () const
 Returns the icon of the plugin. More...
 
QString domXml () const
 Returns the recommended default setting for the plugin as an XML tree. More...
 
QString group () const
 Returns the name of the plugin group to display in the list of plugins. More...
 
QString includeFile () const
 Returns the name of the header needed to use the plugin class. More...
 
QString name () const
 Returns the name of the Plugin class. More...
 
QString toolTip () const
 Returns the plugin's tooltip. More...
 
QString whatsThis () const
 Returns the text for the "What is this?" function. More...
 
void initialize (QDesignerFormEditorInterface *core)
 Initializes static plugin objects. More...
 

Private Member Functions

 Plugin ()
 

Private Attributes

bool initialized
 true, if initialized. More...
 
QString widgetClassName
 

Detailed Description

Plugin interface class.

Constructor & Destructor Documentation

◆ Plugin() [1/2]

Plugin::Plugin ( const QString &  name,
QObject *  parent = 0 
)

Plugin constructor.

Parameters
nameClass name.
parentparent object

◆ Plugin() [2/2]

Plugin::Plugin ( )
private

Member Function Documentation

◆ domXml()

QString Plugin::domXml ( ) const

Returns the recommended default setting for the plugin as an XML tree.

References widgetClassName.

◆ group()

QString Plugin::group ( ) const

Returns the name of the plugin group to display in the list of plugins.

◆ icon()

QIcon Plugin::icon ( ) const

Returns the icon of the plugin.

◆ includeFile()

QString Plugin::includeFile ( ) const

Returns the name of the header needed to use the plugin class.

References widgetClassName.

◆ initialize()

void Plugin::initialize ( QDesignerFormEditorInterface *  core)

Initializes static plugin objects.

Parameters
corecore

References initialized.

◆ isContainer()

bool Plugin::isContainer ( ) const

Returns, if the widget is a container.

◆ isInitialized()

bool Plugin::isInitialized ( ) const

Returns the initialized state.

References initialized.

◆ name()

QString Plugin::name ( ) const

Returns the name of the Plugin class.

References widgetClassName.

◆ toolTip()

QString Plugin::toolTip ( ) const

Returns the plugin's tooltip.

◆ whatsThis()

QString Plugin::whatsThis ( ) const

Returns the text for the "What is this?" function.

Member Data Documentation

◆ initialized

bool Plugin::initialized
private

true, if initialized.

Referenced by initialize(), and isInitialized().

◆ widgetClassName

QString Plugin::widgetClassName
private

Referenced by domXml(), includeFile(), and name().


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