#include <q3wizard_plugin.h>
Inheritance diagram for Q3WizardPlugin:


Definition at line 29 of file q3wizard_plugin.h.
Public Member Functions | |
| Q3WizardPlugin (QObject *parent=0) | |
| virtual QString | name () const |
| virtual QString | group () const |
| virtual QString | toolTip () const |
| virtual QString | whatsThis () const |
| virtual QString | includeFile () const |
| virtual QIcon | icon () const |
| virtual bool | isContainer () const |
| virtual QWidget * | createWidget (QWidget *parent) |
| virtual bool | isInitialized () const |
| virtual void | initialize (QDesignerFormEditorInterface *core) |
| virtual QString | codeTemplate () const |
| virtual QString | domXml () const |
Private Attributes | |
| bool | m_initialized |
| Q3WizardPlugin::Q3WizardPlugin | ( | QObject * | parent = 0 |
) |
Definition at line 34 of file q3wizard_plugin.cpp.
00035 : QObject(parent), m_initialized(false) 00036 {}
| QString Q3WizardPlugin::name | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 38 of file q3wizard_plugin.cpp.
00039 { return QLatin1String("Q3Wizard"); }
| QString Q3WizardPlugin::group | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 41 of file q3wizard_plugin.cpp.
00042 { return QLatin1String("[invisible]"); }
| QString Q3WizardPlugin::toolTip | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 44 of file q3wizard_plugin.cpp.
00045 { return QString(); }
| QString Q3WizardPlugin::whatsThis | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 47 of file q3wizard_plugin.cpp.
00048 { return QString(); }
| QString Q3WizardPlugin::includeFile | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 50 of file q3wizard_plugin.cpp.
00051 { return QLatin1String("q3wizard.h"); }
| QIcon Q3WizardPlugin::icon | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 53 of file q3wizard_plugin.cpp.
00054 { return QIcon(); }
| bool Q3WizardPlugin::isContainer | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 59 of file q3wizard_plugin.cpp.
References Q3Wizard::backButton(), Q3Wizard::nextButton(), QObject::objectName(), QObject::parent(), and QObject::setObjectName().
00060 { 00061 Q3Wizard *wizard = new Q3Wizard(parent); 00062 wizard->backButton()->setObjectName(QLatin1String("__qt__passive_") + wizard->backButton()->objectName()); 00063 wizard->nextButton()->setObjectName(QLatin1String("__qt__passive_") + wizard->nextButton()->objectName()); 00064 return wizard; 00065 }
Here is the call graph for this function:

| bool Q3WizardPlugin::isInitialized | ( | ) | const [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 67 of file q3wizard_plugin.cpp.
References m_initialized.
00068 { return m_initialized; }
| void Q3WizardPlugin::initialize | ( | QDesignerFormEditorInterface * | core | ) | [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 70 of file q3wizard_plugin.cpp.
References QDesignerFormEditorInterface::extensionManager(), m_initialized, Q_TYPEID, and QExtensionManager::registerExtensions().
00071 { 00072 Q_UNUSED(core); 00073 00074 if (m_initialized) 00075 return; 00076 00077 m_initialized = true; 00078 QExtensionManager *mgr = core->extensionManager(); 00079 mgr->registerExtensions(new Q3WizardContainerFactory(mgr), Q_TYPEID(QDesignerContainerExtension)); 00080 }
Here is the call graph for this function:

| QString Q3WizardPlugin::codeTemplate | ( | ) | const [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 82 of file q3wizard_plugin.cpp.
00083 { return QString(); }
| QString Q3WizardPlugin::domXml | ( | ) | const [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 85 of file q3wizard_plugin.cpp.
00086 { 00087 return QLatin1String("\ 00088 <widget class=\"Q3Wizard\" name=\"wizard\">\ 00089 <property name=\"geometry\">\ 00090 <rect>\ 00091 <x>0</x>\ 00092 <y>0</y>\ 00093 <width>100</width>\ 00094 <height>80</height>\ 00095 </rect>\ 00096 </property>\ 00097 <widget class=\"QWidget\" />\ 00098 <widget class=\"QWidget\" />\ 00099 </widget>\ 00100 "); 00101 }
bool Q3WizardPlugin::m_initialized [private] |
1.5.1