KexiTableDesignerViewPrivate Class Reference
#include <kexitabledesignerview_p.h>
Public Member Functions | |
| KexiTableDesignerViewPrivate (KexiTableDesignerView *aDesignerView) | |
| ~KexiTableDesignerViewPrivate () | |
| int | generateUniqueId () |
| void | setPropertyValueIfNeeded (const KoProperty::Set &set, const QCString &propertyName, const QVariant &newValue, CommandGroup *commandGroup, bool forceAddCommand=false, bool rememberOldValue=true, QStringList *const slist=0, QStringList *const nlist=0) |
| void | setPropertyValueIfNeeded (const KoProperty::Set &set, const QCString &propertyName, const QVariant &newValue, const QVariant &oldValue, CommandGroup *commandGroup, bool forceAddCommand=false, bool rememberOldValue=true, QStringList *const slist=0, QStringList *const nlist=0) |
| void | setVisibilityIfNeeded (const KoProperty::Set &set, KoProperty::Property *prop, bool visible, bool &changed, CommandGroup *commandGroup) |
| bool | updatePropertiesVisibility (KexiDB::Field::Type fieldType, KoProperty::Set &set, CommandGroup *commandGroup=0) |
| QString | messageForSavingChanges (bool &emptyTable) |
| void | updateIconForItem (KexiTableItem &item, KoProperty::Set &set) |
Public Attributes | |
| KexiTableDesignerView * | designerView |
| KexiTableView * | view |
| helper | |
| KexiTableViewData * | data |
| KexiDataAwarePropertySet * | sets |
| int | row |
| used to know if a new row is selected in slotCellSelected() | |
| KToggleAction * | action_toggle_pkey |
| KPopupTitle * | contextMenuTitle |
| int | uniqueIdCounter |
| int | maxTypeNameTextWidth |
| internal | |
| bool | dontAskOnStoreData: 1 |
| Set to true in beforeSwitchTo() to avoid asking again in storeData(). | |
| bool | slotTogglePrimaryKeyCalled: 1 |
| bool | primaryKeyExists: 1 |
| bool | slotPropertyChanged_primaryKey_enabled: 1 |
| Used in slotPropertyChanged() to avoid infinite recursion. | |
| bool | slotPropertyChanged_subType_enabled: 1 |
| Used in slotPropertyChanged() to avoid infinite recursion. | |
| bool | addHistoryCommand_in_slotPropertyChanged_enabled: 1 |
| used in slotPropertyChanged() to disable addHistoryCommand() | |
| bool | addHistoryCommand_in_slotRowUpdated_enabled: 1 |
| used in slotRowUpdated() to disable addHistoryCommand() | |
| bool | addHistoryCommand_in_slotAboutToDeleteRow_enabled: 1 |
| used in slotAboutToDeleteRow() to disable addHistoryCommand() | |
| bool | addHistoryCommand_in_slotRowInserted_enabled: 1 |
| used in slotRowInserted() to disable addHistoryCommand() | |
| bool | slotBeforeCellChanged_enabled: 1 |
| used to disable slotBeforeCellChanged() | |
| bool | tempStoreDataUsingRealAlterTable: 1 |
| Temporary flag, used for testingu the Alter Table machinery. | |
| tristate | recentResultOfStoreData |
| KActionCollection * | historyActionCollection |
| CommandHistory * | history |
| QAsciiDict< char > | internalPropertyNames |
| A cache used in KexiTableDesignerView::buildField() to quickly identify properties internal to the designer. | |
Constructor & Destructor Documentation
|
|
Definition at line 92 of file kexitabledesignerview_p.cpp. References history, historyActionCollection, and internalPropertyNames. |
|
|
Definition at line 120 of file kexitabledesignerview_p.cpp. References history, historyActionCollection, and sets. |
Member Function Documentation
|
|
Definition at line 126 of file kexitabledesignerview_p.cpp. References uniqueIdCounter. Referenced by KexiTableDesignerView::createPropertySet(). |
|
|
Definition at line 268 of file kexitabledesignerview_p.cpp. References designerView, KexiDB::Connection::isEmpty(), KexiViewBase::mainWin(), KexiViewBase::parentDialog(), KexiViewBase::part(), and KexiTableDesignerView::tempData(). Referenced by KexiTableDesignerView::beforeSwitchTo(), and KexiTableDesignerView::storeData(). |
|
||||||||||||||||||||||||||||||||||||||||
|
Like above but allows to specify oldValue. Definition at line 131 of file kexitabledesignerview_p.cpp. References addHistoryCommand_in_slotPropertyChanged_enabled, and designerView. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 171 of file kexitabledesignerview_p.cpp. Referenced by KexiTableDesignerView::slotBeforeCellChanged(), KexiTableDesignerView::slotPropertyChanged(), KexiTableDesignerView::switchPrimaryKey(), and updatePropertiesVisibility(). |
|
||||||||||||||||||||||||
|
Definition at line 183 of file kexitabledesignerview_p.cpp. References designerView. Referenced by updatePropertiesVisibility(). |
|
||||||||||||
|
Updates icon in the first column, depending on property set set. For example, when "rowSource" and "rowSourceType" propertiesa are not empty, "combo" icon appears. Definition at line 279 of file kexitabledesignerview_p.cpp. References COLUMN_ID_ICON, KexiDataAwareObjectInterface::data(), and view. Referenced by KexiTableDesignerView::slotPropertyChanged(). |
|
||||||||||||||||
|
rememberOldValue
Definition at line 196 of file kexitabledesignerview_p.cpp. References KexiDB::Field::BLOB, KexiDB::Field::defaultTextLength(), KexiDB::Field::hasEmptyProperty(), KexiDB::Field::isAutoIncrementAllowed(), KexiDB::Field::isFPNumericType(), KexiDB::Field::isNumericType(), kexipluginsdbg, setPropertyValueIfNeeded(), setVisibilityIfNeeded(), KexiDB::supportsVisibleDecimalPlacesProperty(), and KexiDB::Field::Text. Referenced by KexiTableDesignerView::createPropertySet(), KexiTableDesignerView::slotBeforeCellChanged(), and KexiTableDesignerView::slotPropertyChanged(). |
Member Data Documentation
|
|
Definition at line 137 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::KexiTableDesignerView(), KexiTableDesignerView::switchPrimaryKey(), and KexiTableDesignerView::updateActions(). |
|
|
used in slotAboutToDeleteRow() to disable addHistoryCommand()
Definition at line 160 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::deleteRow(), and KexiTableDesignerView::slotAboutToDeleteRow(). |
|
|
used in slotPropertyChanged() to disable addHistoryCommand()
Definition at line 156 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::changeFieldPropertyForRow(), KexiTableDesignerView::clearRow(), KexiTableDesignerView::insertFieldInternal(), setPropertyValueIfNeeded(), KexiTableDesignerView::slotBeforeCellChanged(), and KexiTableDesignerView::slotPropertyChanged(). |
|
|
used in slotRowInserted() to disable addHistoryCommand()
Definition at line 162 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::insertEmptyRow(), and KexiTableDesignerView::slotRowInserted(). |
|
|
used in slotRowUpdated() to disable addHistoryCommand()
Definition at line 158 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::changeFieldPropertyForRow(), KexiTableDesignerView::clearRow(), KexiTableDesignerView::insertFieldInternal(), and KexiTableDesignerView::slotRowUpdated(). |
|
|
Definition at line 139 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::KexiTableDesignerView(), and KexiTableDesignerView::slotAboutToShowContextMenu(). |
|
|
Definition at line 131 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::initData(), and KexiTableDesignerView::KexiTableDesignerView(). |
|
|
Definition at line 127 of file kexitabledesignerview_p.h. Referenced by messageForSavingChanges(), setPropertyValueIfNeeded(), and setVisibilityIfNeeded(). |
|
|
Set to true in beforeSwitchTo() to avoid asking again in storeData().
Definition at line 146 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::beforeSwitchTo(), and KexiTableDesignerView::storeData(). |
|
|
|
Definition at line 177 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerViewPrivate(), KexiTableDesignerView::updateUndoRedoActions(), and ~KexiTableDesignerViewPrivate(). |
|
|
A cache used in KexiTableDesignerView::buildField() to quickly identify properties internal to the designer.
Definition at line 182 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::buildField(), and KexiTableDesignerViewPrivate(). |
|
|
internal
Definition at line 144 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::initData(), and KexiTableDesignerView::KexiTableDesignerView(). |
|
|
Definition at line 150 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::buildSchema(), KexiTableDesignerView::initData(), KexiTableDesignerView::slotAboutToDeleteRow(), KexiTableDesignerView::slotPropertyChanged(), and KexiTableDesignerView::switchPrimaryKey(). |
|
|
Set to a recent result of calling tristate KexiTableDesignerView::storeData(bool dontAsk). Then, it is used in void KexiTableDesignerView::executeRealAlterTable() to know what return value should be. Definition at line 175 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::executeRealAlterTable(), and KexiTableDesignerView::storeData(). |
|
|
used to know if a new row is selected in slotCellSelected()
Definition at line 135 of file kexitabledesignerview_p.h. |
|
|
|
used to disable slotBeforeCellChanged()
Definition at line 165 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::changeFieldPropertyForRow(), KexiTableDesignerView::clearRow(), KexiTableDesignerView::insertFieldInternal(), KexiTableDesignerView::slotBeforeCellChanged(), and KexiTableDesignerView::switchPrimaryKey(). |
|
|
Used in slotPropertyChanged() to avoid infinite recursion.
Definition at line 152 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::slotPropertyChanged(). |
|
|
Used in slotPropertyChanged() to avoid infinite recursion.
Definition at line 154 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::changeFieldPropertyForRow(), and KexiTableDesignerView::slotPropertyChanged(). |
|
|
Definition at line 148 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::slotTogglePrimaryKey(), and KexiTableDesignerView::updateActions(). |
|
|
Temporary flag, used for testingu the Alter Table machinery. Affects storeData() Used in slotExecuteRealAlterTable() to switch on real alter table for a while. Definition at line 170 of file kexitabledesignerview_p.h. Referenced by KexiTableDesignerView::executeRealAlterTable(), and KexiTableDesignerView::storeData(). |
|
|
Definition at line 141 of file kexitabledesignerview_p.h. Referenced by generateUniqueId(). |
|
The documentation for this class was generated from the following files:
