#include <kexidatasourcepage.h>
Public Slots | |
| void | setProject (KexiProject *prj) |
| void | clearDataSourceSelection (bool alsoClearComboBox=true) |
| void | clearWidgetDataSourceSelection () |
| void | setDataSource (const TQCString &mimeType, const TQCString &name) |
| void | assignPropertySet (KoProperty::Set *propertySet) |
Signals | |
| void | jumpToObjectRequested (const TQCString &mime, const TQCString &name) |
| void | formDataSourceChanged (const TQCString &mime, const TQCString &name) |
| void | dataSourceFieldOrExpressionChanged (const TQString &string, const TQString &caption, KexiDB::Field::Type type) |
| void | insertAutoFields (const TQString &sourceMimeType, const TQString &sourceName, const TQStringList &fields) |
Public Member Functions | |
| KexiDataSourcePage (TQWidget *parent, const char *name=0) | |
| KexiDataSourceComboBox * | dataSourceCombo () const |
| KexiObjectInfoLabel * | objectInfoLabel () const |
Protected Slots | |
| void | slotDataSourceTextChanged (const TQString &string) |
| void | slotDataSourceChanged () |
| void | slotFieldSelected () |
| void | slotGotoSelected () |
| void | slotInsertSelectedFields () |
| void | slotFieldListViewSelectionChanged () |
| void | slotFieldDoubleClicked (const TQString &sourceMimeType, const TQString &sourceName, const TQString &fieldName) |
Protected Member Functions | |
| void | updateSourceFieldWidgetsAvailability () |
Protected Attributes | |
| KexiFieldComboBox * | m_sourceFieldCombo |
| KexiObjectInfoLabel * | m_objectInfoLabel |
| KexiDataSourceComboBox * | m_dataSourceCombo |
| TQLabel * | m_dataSourceLabel |
| TQLabel * | m_noDataSourceAvailableLabel |
| TQLabel * | m_widgetDSLabel |
| TQLabel * | m_availableFieldsLabel |
| TQLabel * | m_mousePointerLabel |
| TQLabel * | m_availableFieldsDescriptionLabel |
| TQToolButton * | m_clearWidgetDSButton |
| TQToolButton * | m_clearDSButton |
| TQToolButton * | m_gotoButton |
| TQToolButton * | m_addField |
| TQFrame * | m_dataSourceSeparator |
| TQString | m_noDataSourceAvailableSingleText |
| TQString | m_noDataSourceAvailableMultiText |
| bool | m_insideClearDataSourceSelection: 1 |
| KexiFieldListView * | m_fieldListView |
| TQCString | m_currentObjectName |
Detailed Description
A page within form designer's property tabbed pane, providing data source editor.
Definition at line 38 of file kexidatasourcepage.h.
Constructor & Destructor Documentation
◆ KexiDataSourcePage()
| KexiDataSourcePage::KexiDataSourcePage | ( | TQWidget * | parent, |
| const char * | name = 0 ) |
- Todo
- allow to hide such helpers by adding global option
Definition at line 46 of file kexidatasourcepage.cpp.
◆ ~KexiDataSourcePage()
|
virtual |
Definition at line 204 of file kexidatasourcepage.cpp.
Member Function Documentation
◆ assignPropertySet
|
slot |
Receives a pointer to a new property set (from KexiFormView::managerPropertyChanged()).
Definition at line 357 of file kexidatasourcepage.cpp.
◆ clearDataSourceSelection
|
slot |
Definition at line 214 of file kexidatasourcepage.cpp.
◆ clearWidgetDataSourceSelection
|
slot |
Definition at line 234 of file kexidatasourcepage.cpp.
◆ dataSourceCombo()
|
inline |
Definition at line 47 of file kexidatasourcepage.h.
◆ dataSourceFieldOrExpressionChanged
|
signal |
Signal emitted when current widget's data source (field/expression) has been changed. It's connected to the Form Manager. caption for this field is also provided (e.g. AutoField form widget use it)
◆ formDataSourceChanged
|
signal |
Signal emitted when form's data source has been changed. It's connected to the Form Manager.
◆ insertAutoFields
|
signal |
Signal emitted when 'insert fields' button has been clicked
◆ jumpToObjectRequested
|
signal |
Signal emitted when helper button 'go to selected data source' is clicked.
◆ objectInfoLabel()
|
inline |
Definition at line 48 of file kexidatasourcepage.h.
◆ setDataSource
|
slot |
Sets data source of a currently selected form. This is performed on form initialization and on activating.
Definition at line 352 of file kexidatasourcepage.cpp.
◆ setProject
|
slot |
Definition at line 208 of file kexidatasourcepage.cpp.
◆ slotDataSourceChanged
|
protectedslot |
Definition at line 290 of file kexidatasourcepage.cpp.
◆ slotDataSourceTextChanged
|
protectedslot |
string.isEmpty() && m_dataSourceCombo->selectedName() == string.latin1();
Definition at line 275 of file kexidatasourcepage.cpp.
◆ slotFieldDoubleClicked
|
protectedslot |
Definition at line 265 of file kexidatasourcepage.cpp.
◆ slotFieldListViewSelectionChanged
|
protectedslot |
Definition at line 444 of file kexidatasourcepage.cpp.
◆ slotFieldSelected
|
protectedslot |
- Todo
- this should also work for expressions
Definition at line 331 of file kexidatasourcepage.cpp.
◆ slotGotoSelected
|
protectedslot |
Definition at line 244 of file kexidatasourcepage.cpp.
◆ slotInsertSelectedFields
|
protectedslot |
Definition at line 253 of file kexidatasourcepage.cpp.
◆ updateSourceFieldWidgetsAvailability()
|
protected |
m_dataSourceCombo->selectedName().isEmpty();
Definition at line 458 of file kexidatasourcepage.cpp.
Member Data Documentation
◆ m_addField
|
protected |
Definition at line 98 of file kexidatasourcepage.h.
◆ m_availableFieldsDescriptionLabel
|
protected |
Definition at line 97 of file kexidatasourcepage.h.
◆ m_availableFieldsLabel
|
protected |
Definition at line 96 of file kexidatasourcepage.h.
◆ m_clearDSButton
|
protected |
Definition at line 98 of file kexidatasourcepage.h.
◆ m_clearWidgetDSButton
|
protected |
Definition at line 98 of file kexidatasourcepage.h.
◆ m_currentObjectName
|
protected |
Used only in assignPropertySet() to check whether we already have the set assigned.
Definition at line 109 of file kexidatasourcepage.h.
◆ m_dataSourceCombo
|
protected |
Definition at line 94 of file kexidatasourcepage.h.
◆ m_dataSourceLabel
|
protected |
Definition at line 95 of file kexidatasourcepage.h.
◆ m_dataSourceSeparator
|
protected |
Definition at line 99 of file kexidatasourcepage.h.
◆ m_fieldListView
|
protected |
Definition at line 105 of file kexidatasourcepage.h.
◆ m_gotoButton
|
protected |
Definition at line 98 of file kexidatasourcepage.h.
◆ m_insideClearDataSourceSelection
|
protected |
Definition at line 101 of file kexidatasourcepage.h.
◆ m_mousePointerLabel
|
protected |
Definition at line 97 of file kexidatasourcepage.h.
◆ m_noDataSourceAvailableLabel
|
protected |
Definition at line 95 of file kexidatasourcepage.h.
◆ m_noDataSourceAvailableMultiText
|
protected |
Definition at line 100 of file kexidatasourcepage.h.
◆ m_noDataSourceAvailableSingleText
|
protected |
Definition at line 100 of file kexidatasourcepage.h.
◆ m_objectInfoLabel
|
protected |
Definition at line 93 of file kexidatasourcepage.h.
◆ m_sourceFieldCombo
|
protected |
Definition at line 92 of file kexidatasourcepage.h.
◆ m_widgetDSLabel
|
protected |
Definition at line 96 of file kexidatasourcepage.h.
The documentation for this class was generated from the following files:
