#include <kexiformpart.h>
|
| | KexiFormPart (TQObject *parent, const char *name, const TQStringList &) |
| KexiDataSourcePage * | dataSourcePage () const |
| void | generateForm (KexiDB::FieldList *list, TQDomDocument &domDoc) |
| virtual TQString | i18nMessage (const TQCString &englishMessage, KexiDialogBase *dlg) const |
| | Part (TQObject *parent, const char *name, const TQStringList &) |
| virtual | ~Part () |
| virtual bool | execute (KexiPart::Item *item, TQObject *sender=0) |
| int | supportedViewModes () const |
| int | supportedUserViewModes () const |
| KexiDialogBase * | openInstance (KexiMainWindow *win, KexiPart::Item &item, int viewMode=Kexi::DataViewMode, TQMap< TQString, TQString > *staticObjectArgs=0) |
| virtual bool | remove (KexiMainWindow *win, KexiPart::Item &item) |
| virtual tristate | rename (KexiMainWindow *win, KexiPart::Item &item, const TQString &newName) |
| TQCString | instanceName () const |
| TQString | instanceCaption () const |
| Info * | info () const |
| GUIClient * | guiClient () const |
| GUIClient * | instanceGuiClient (int mode=0) const |
| TDEActionCollection * | actionCollectionForMode (int viewMode) const |
| const Kexi::ObjectStatus & | lastOperationStatus () const |
|
| virtual KexiDialogTempData * | createTempData (KexiDialogBase *dialog) |
| virtual KexiViewBase * | createView (TQWidget *parent, KexiDialogBase *dialog, KexiPart::Item &item, int viewMode=Kexi::DataViewMode, TQMap< TQString, TQString > *staticObjectArgs=0) |
| virtual void | initPartActions () |
| virtual void | initInstanceActions () |
| virtual void | setupCustomPropertyPanelTabs (KTabWidget *tab, KexiMainWindow *mainWin) |
| | Part (TQObject *parent, StaticInfo *info) |
| void | createGUIClients (KexiMainWindow *win) |
| virtual KexiDB::SchemaData * | loadSchemaData (KexiDialogBase *dlg, const KexiDB::SchemaData &sdata, int viewMode) |
| bool | loadDataBlock (KexiDialogBase *dlg, TQString &dataString, const TQString &dataID=TQString()) |
| TDEAction * | createSharedAction (int mode, const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name, const char *subclassName=0) |
| TDEAction * | createSharedToggleAction (int mode, const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name) |
| TDEAction * | createSharedPartAction (const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name, const char *subclassName=0) |
| TDEAction * | createSharedPartToggleAction (const TQString &text, const TQString &pix_name, const TDEShortcut &cut, const char *name) |
| void | setActionAvailable (const char *action_name, bool avail) |
| void | setInfo (Info *info) |
Kexi Form Plugin.
It just creates a KexiFormView. See there for most of code.
Definition at line 49 of file kexiformpart.h.
◆ KexiFormPart()
| KexiFormPart::KexiFormPart |
( |
TQObject * | parent, |
|
|
const char * | name, |
|
|
const TQStringList & | l ) |
◆ ~KexiFormPart()
| KexiFormPart::~KexiFormPart |
( |
| ) |
|
|
virtual |
◆ createTempData()
◆ createView()
Creates a new view for mode viewMode, item and parent. The view will be used inside dialog.
Implements KexiPart::Part.
Definition at line 236 of file kexiformpart.cpp.
◆ dataSourcePage()
◆ generateForm()
◆ i18nMessage()
| TQString KexiFormPart::i18nMessage |
( |
const TQCString & | englishMessage, |
|
|
KexiDialogBase * | dlg ) const |
|
virtual |
- Returns
- i18n'd message translated from englishMessage. This method is useful for messages like: "<p>Table \"%1\" has been modified.</p>", – such messages can be accurately translated, while this could not: "<p>%1 \"%2\" has been modified.</p>". See implementation of this method in KexiTablePart to see what strings are needed for translation.
Default implementation returns generic englishMessage. In special cases, englishMessage can start with ":", to indicate that empty string will be generated if a part does not offer a message for such englishMessage. This is used e.g. in KexiMainWindowImpl::closeDialog().
Reimplemented from KexiPart::Part.
Definition at line 444 of file kexiformpart.cpp.
◆ initInstanceActions()
| void KexiFormPart::initInstanceActions |
( |
| ) |
|
|
protectedvirtual |
◆ initPartActions()
| void KexiFormPart::initPartActions |
( |
| ) |
|
|
protectedvirtual |
◆ library()
◆ setupCustomPropertyPanelTabs()
| void KexiFormPart::setupCustomPropertyPanelTabs |
( |
KTabWidget * | tab, |
|
|
KexiMainWindow * | mainWin ) |
|
protectedvirtual |
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 485 of file kexiformpart.cpp.
◆ slotAssignAction
| void KexiFormPart::slotAssignAction |
( |
| ) |
|
|
protectedslot |
◆ slotAutoTabStopsSet
◆ slotPropertyChanged
| void KexiFormPart::slotPropertyChanged |
( |
TQWidget * | widget, |
|
|
const TQCString & | name, |
|
|
const TQVariant & | value ) |
|
protectedslot |
◆ slotWidgetCreatedByFormsLibrary
| void KexiFormPart::slotWidgetCreatedByFormsLibrary |
( |
TQWidget * | widget | ) |
|
|
protectedslot |
◆ static_formsLibrary
The documentation for this class was generated from the following files:
|