KexiFormManager Class Reference
#include <kexiformmanager.h>
Inheritance diagram for KexiFormManager:

Public Slots | |
| void | setFormDataSource (const QCString &mime, const QCString &name) |
| Receives signal from KexiDataSourcePage about changed form's data source. | |
| void | setDataSourceFieldOrExpression (const QString &string, const QString &caption, KexiDB::Field::Type type) |
| void | insertAutoFields (const QString &sourceMimeType, const QString &sourceName, const QStringList &fields) |
Public Member Functions | |
| KexiFormManager (KexiPart::Part *parent, const char *name=0) | |
| virtual | ~KexiFormManager () |
| virtual KAction * | action (const char *name) |
| virtual void | enableAction (const char *name, bool enable) |
Protected Slots | |
| void | slotHistoryCommandExecuted () |
Protected Member Functions | |
| QString | translateName (const char *name) const |
Constructor & Destructor Documentation
|
||||||||||||
|
Definition at line 38 of file kexiformmanager.cpp. References KexiCustomPropertyFactory::init(), and KFormDesigner::FormManager::m_emitSelectionSignalsUpdatesPropertySet. |
|
|
Definition at line 50 of file kexiformmanager.cpp. |
Member Function Documentation
|
|
Implements KFormDesigner::FormManager. Definition at line 54 of file kexiformmanager.cpp. References KexiPart::Part::actionCollectionForMode(), KFormDesigner::FormManager::activeForm(), KexiDBForm::dataAwareObject(), Kexi::DesignViewMode, KexiViewBase::parentDialog(), and translateName(). |
|
||||||||||||
|
Enables or disables actions name. KFD uses KPart's, action collection here. Kexi implements this to get (shared) actions defined elsewhere. Implements KFormDesigner::FormManager. Definition at line 88 of file kexiformmanager.cpp. References KexiViewBase::setAvailable(), and translateName(). |
|
||||||||||||||||
|
Receives signal from KexiDataSourcePage and inserts autofields onto the current form. Definition at line 187 of file kexiformmanager.cpp. References KexiFormView::insertAutoFields(). |
|
||||||||||||||||
|
Receives signal from KexiDataSourcePage about changed widget's data source. This is because we couldn't pass objects like KexiDB::QueryColumnInfo. Also sets following things in KexiDBAutoField:
Definition at line 152 of file kexiformmanager.cpp. References KFormDesigner::FormManager::activeForm(), KFormDesigner::WidgetPropertySet::contains(), and KFormDesigner::FormManager::propertySet(). |
|
||||||||||||
|
Receives signal from KexiDataSourcePage about changed form's data source.
Definition at line 98 of file kexiformmanager.cpp. References KFormDesigner::FormManager::activeForm(), KexiDBForm::dataSource, KexiDBForm::dataSourceMimeType, and KFormDesigner::FormManager::propertySet(). |
|
|
|
Definition at line 75 of file kexiformmanager.h. Referenced by action(), and enableAction(). |
The documentation for this class was generated from the following files:
