#include <customwidgetplugin.h>
Inheritance diagram for AnalogClockPlugin:


Definition at line 29 of file customwidgetplugin.h.
Public Member Functions | |
| AnalogClockPlugin (QObject *parent=0) | |
| bool | isContainer () const |
| bool | isInitialized () const |
| QIcon | icon () const |
| QString | domXml () const |
| QString | group () const |
| QString | includeFile () const |
| QString | name () const |
| QString | toolTip () const |
| QString | whatsThis () const |
| QWidget * | createWidget (QWidget *parent) |
| void | initialize (QDesignerFormEditorInterface *core) |
Private Attributes | |
| bool | initialized |
| AnalogClockPlugin::AnalogClockPlugin | ( | QObject * | parent = 0 |
) |
Definition at line 29 of file customwidgetplugin.cpp.
References initialized.
00030 : QObject(parent) 00031 { 00032 initialized = false; 00033 }
| bool AnalogClockPlugin::isContainer | ( | ) | const [virtual] |
| bool AnalogClockPlugin::isInitialized | ( | ) | const [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 43 of file customwidgetplugin.cpp.
References initialized.
00044 { 00045 return initialized; 00046 }
| QIcon AnalogClockPlugin::icon | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 63 of file customwidgetplugin.cpp.
00064 { 00065 return QIcon(); 00066 }
| QString AnalogClockPlugin::domXml | ( | ) | const [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 83 of file customwidgetplugin.cpp.
00084 { 00085 return "<widget class=\"AnalogClock\" name=\"analogClock\">\n" 00086 " <property name=\"geometry\">\n" 00087 " <rect>\n" 00088 " <x>0</x>\n" 00089 " <y>0</y>\n" 00090 " <width>100</width>\n" 00091 " <height>100</height>\n" 00092 " </rect>\n" 00093 " </property>\n" 00094 " <property name=\"toolTip\" >\n" 00095 " <string>The current time</string>\n" 00096 " </property>\n" 00097 " <property name=\"whatsThis\" >\n" 00098 " <string>The analog clock widget displays " 00099 "the current time.</string>\n" 00100 " </property>\n" 00101 "</widget>\n"; 00102 }
| QString AnalogClockPlugin::group | ( | ) | const [virtual] |
| QString AnalogClockPlugin::includeFile | ( | ) | const [virtual] |
| QString AnalogClockPlugin::name | ( | ) | const [virtual] |
| QString AnalogClockPlugin::toolTip | ( | ) | const [virtual] |
| QString AnalogClockPlugin::whatsThis | ( | ) | const [virtual] |
Implements QDesignerCustomWidgetInterface.
Definition at line 48 of file customwidgetplugin.cpp.
References QObject::parent().
00049 { 00050 return new AnalogClock(parent); 00051 }
Here is the call graph for this function:

| void AnalogClockPlugin::initialize | ( | QDesignerFormEditorInterface * | core | ) | [virtual] |
Reimplemented from QDesignerCustomWidgetInterface.
Definition at line 35 of file customwidgetplugin.cpp.
References initialized.
00036 { 00037 if (initialized) 00038 return; 00039 00040 initialized = true; 00041 }
bool AnalogClockPlugin::initialized [private] |
Definition at line 50 of file customwidgetplugin.h.
Referenced by AnalogClockPlugin(), initialize(), and isInitialized().
1.5.1