#include <q3listbox_plugin.h>
Inheritance diagram for Q3ListBoxPlugin:


Definition at line 29 of file q3listbox_plugin.h.
Public Member Functions | |
| Q3ListBoxPlugin (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 |
| Q3ListBoxPlugin::Q3ListBoxPlugin | ( | QObject * | parent = 0 |
) |
Definition at line 34 of file q3listbox_plugin.cpp.
00035 : QObject(parent), m_initialized(false) 00036 {}
| QString Q3ListBoxPlugin::name | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 38 of file q3listbox_plugin.cpp.
00039 { return QLatin1String("Q3ListBox"); }
| QString Q3ListBoxPlugin::group | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 41 of file q3listbox_plugin.cpp.
00042 { return QLatin1String("Qt 3 Support"); }
| QString Q3ListBoxPlugin::toolTip | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 44 of file q3listbox_plugin.cpp.
00045 { return QString(); }
| QString Q3ListBoxPlugin::whatsThis | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 47 of file q3listbox_plugin.cpp.
00048 { return QString(); }
| QString Q3ListBoxPlugin::includeFile | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 50 of file q3listbox_plugin.cpp.
00051 { return QLatin1String("q3listbox.h"); }
| QIcon Q3ListBoxPlugin::icon | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 53 of file q3listbox_plugin.cpp.
00054 { return QIcon(); }
| bool Q3ListBoxPlugin::isContainer | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 59 of file q3listbox_plugin.cpp.
References QObject::parent().
Here is the call graph for this function:

| bool Q3ListBoxPlugin::isInitialized | ( | ) | const [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 62 of file q3listbox_plugin.cpp.
References m_initialized.
00063 { return m_initialized; }
| void Q3ListBoxPlugin::initialize | ( | QDesignerFormEditorInterface * | core | ) | [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 65 of file q3listbox_plugin.cpp.
References QDesignerFormEditorInterface::extensionManager(), m_initialized, Q_TYPEID, and QExtensionManager::registerExtensions().
00066 { 00067 Q_UNUSED(core); 00068 00069 if (m_initialized) 00070 return; 00071 00072 QExtensionManager *mgr = core->extensionManager(); 00073 Q_ASSERT(mgr != 0); 00074 00075 mgr->registerExtensions(new Q3ListBoxExtraInfoFactory(core, mgr), Q_TYPEID(QDesignerExtraInfoExtension)); 00076 00077 m_initialized = true; 00078 }
Here is the call graph for this function:

| QString Q3ListBoxPlugin::codeTemplate | ( | ) | const [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 80 of file q3listbox_plugin.cpp.
00081 { return QString(); }
| QString Q3ListBoxPlugin::domXml | ( | ) | const [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 83 of file q3listbox_plugin.cpp.
00084 { return QLatin1String("\ 00085 <widget class=\"Q3ListBox\" name=\"listBox\">\ 00086 <property name=\"geometry\">\ 00087 <rect>\ 00088 <x>0</x>\ 00089 <y>0</y>\ 00090 <width>100</width>\ 00091 <height>80</height>\ 00092 </rect>\ 00093 </property>\ 00094 </widget>\ 00095 "); 00096 }
bool Q3ListBoxPlugin::m_initialized [private] |
1.5.1