Diffusion Kexi 7000e2523763

Add textToDisplayForNullSet attr to KexiView, add this…

Authored by staniek on Jun 21 2016, 12:41 PM.

Description

Add textToDisplayForNullSet attr to KexiView, add this:visibleObjectNameProperty/this:objectNameReadOnly meta properties

  • this:visibleObjectNameProperty" property of type string specified name of property that contains "object name" to display; replaces this:useCaptionAsObjectName
  • this:objectNameReadOnly property of type boolean makes the object name box read-only for the user
  • add KexiPropertyPaneLineEdit::setReadOnly, KexiObjectInfoWidget::setObjectNameReadOnly, rename setObjectVisible to setObjectNameVisible
  • KexiObjectInfoWidget: remove focus for the labels, set only clickFocus for the name box, disable clearing and focus for read-only name box
  • add textToDisplayForNullSet attr to KexiView so it can be used by KexiMainWindow when assigning property set
  • to achieve the above: let the property pane change property set of the prop editor, not signals (needed because the property pane has no access to the KexiWindow/KexiView API)
  • now the textToDisplayForNullSet param is not needed in updatePropertyEditorInfoLabel()
  • Set custom textToDisplayForNullSet for table/query designers

Details

Committed
staniekMar 17 2017, 1:13 AM
Differential Revision
D11778: Cool main window for KEXI 3.2
Parents
R71:b6853bbe1d31: Simplify the query's visual/sql switcher: don't display icons
Branches
Unknown
Tags
Unknown