KexiFormPart Class Reference
#include <kexiformpart.h>
Inheritance diagram for KexiFormPart:

Detailed Description
Kexi Form Plugin.It just creates a KexiFormView. See there for most of code.
Definition at line 48 of file kexiformpart.h.
Public Member Functions | |
| KexiFormPart (QObject *parent, const char *name, const QStringList &) | |
| virtual | ~KexiFormPart () |
| KexiDataSourcePage * | dataSourcePage () const |
| void | generateForm (KexiDB::FieldList *list, QDomDocument &domDoc) |
| virtual QString | i18nMessage (const QCString &englishMessage, KexiDialogBase *dlg) const |
Static Public Member Functions | |
| static KFormDesigner::WidgetLibrary * | library () |
Protected Slots | |
| void | slotAutoTabStopsSet (KFormDesigner::Form *form, bool set) |
| void | slotAssignAction () |
| void | slotPropertyChanged (QWidget *widget, const QCString &name, const QVariant &value) |
Protected Member Functions | |
| virtual KexiDialogTempData * | createTempData (KexiDialogBase *dialog) |
| virtual KexiViewBase * | createView (QWidget *parent, KexiDialogBase *dialog, KexiPart::Item &item, int viewMode=Kexi::DataViewMode, QMap< QString, QString > *staticObjectArgs=0) |
| virtual void | initPartActions () |
| virtual void | initInstanceActions () |
| virtual void | setupCustomPropertyPanelTabs (KTabWidget *tab, KexiMainWindow *mainWin) |
Static Protected Attributes | |
| static KFormDesigner::WidgetLibrary * | static_formsLibrary = 0L |
Classes | |
| class | TempData |
Constructor & Destructor Documentation
|
||||||||||||||||
|
|
Definition at line 116 of file kexiformpart.cpp. |
Member Function Documentation
|
|
Creates and returns a new temporary data for a dialog dialog. This method is called on openInstance() once per dialog. Reimplement this to return KexiDialogTempData subclass instance. Default implemention just returns empty KexiDialogTempData object. Reimplemented from KexiPart::Part. Definition at line 228 of file kexiformpart.cpp. |
|
||||||||||||||||||||||||
|
Creates a new view for mode viewMode, item and parent. The view will be used inside dialog. Implements KexiPart::Part. Definition at line 233 of file kexiformpart.cpp. References kexipluginsdbg, KexiDialogBase::mainWin(), KexiPart::Item::name(), and KexiMainWindow::project(). |
|
|
Definition at line 477 of file kexiformpart.cpp. |
|
||||||||||||
|
line edit! Definition at line 250 of file kexiformpart.cpp. References KexiDB::FieldList::field(), and KexiDB::FieldList::fieldCount(). |
|
||||||||||||
|
Reimplemented from KexiPart::Part. Definition at line 441 of file kexiformpart.cpp. |
|
|
Reimplemented from KexiPart::Part. Definition at line 156 of file kexiformpart.cpp. References KexiPart::Part::actionCollectionForMode(), KexiPart::Part::createSharedAction(), Kexi::DesignViewMode, library(), KFormDesigner::FormManager::self(), and slotAssignAction(). |
|
|
Reimplemented from KexiPart::Part. Definition at line 150 of file kexiformpart.cpp. |
|
|
Definition at line 121 of file kexiformpart.cpp. References static_formsLibrary. Referenced by KexiDBWidgetContextMenuExtender::createTitle(), KexiFormView::initForm(), initInstanceActions(), KexiDBSubForm::setFormName(), and KexiDBImageBox::updateActionStrings(). |
|
||||||||||||
|
This method can be reimplemented to setup additional tabs in the property editor panel. Default implementation does nothing. This method is called whenever current dialog (KexiDialogBase) is switched and type (mime type) of its contents differs from previous one. For example, if a user switched from Table Designer to Form Designer, additional tab containing Form Designer's object tree should be shown. Reimplemented from KexiPart::Part. Definition at line 482 of file kexiformpart.cpp. References KexiMainWindow::project(), and KFormDesigner::FormManager::self(). |
|
|
Definition at line 403 of file kexiformpart.cpp. References KexiActionSelectionDialog::currentAction(), KexiDBForm::dataAwareObject(), KexiFormEventAction::ActionData::option, KexiViewBase::parentDialog(), KFormDesigner::WidgetPropertySet::property(), KFormDesigner::FormManager::self(), and KexiFormEventAction::ActionData::string. Referenced by initInstanceActions(). |
|
||||||||||||
|
Definition at line 394 of file kexiformpart.cpp. References KFormDesigner::FormManager::self(). Referenced by KexiFormPart(). |
|
||||||||||||||||
|
Definition at line 453 of file kexiformpart.cpp. References KFormDesigner::FormManager::self(). Referenced by KexiFormPart(). |
Member Data Documentation
|
|
Definition at line 59 of file kexiformpart.cpp. Referenced by KexiFormPart(), and library(). |
The documentation for this class was generated from the following files:
