Jump to content

Kexi/Plugins/Tables/Table View Row Height And Column Width Dialogs

From KDE Community Wiki
Revision as of 22:49, 5 April 2023 by Jstaniek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Design document for KEXI Issue #125


Original Creation date: 2004-12-09

Objectives

User can adjust table view's rows height or column width using mouse pointer dragging. For convenience and precision sizes can be entered using dialogs.

Row Height Setting Dialog

Class name: KexiTableViewRowHeightDialog

Column Width Setting Dialog

Class name: KexiTableViewColumnWidthDialog

Implementation Notes

  • buttons should be at the bottom, not @ left
  • use QDoubleSpinBox (two digits) for the value input
  • add units label "cm" after the value input (TODO: later we'll set current unit (inch, point, etc.) here
  • disable value input when "Standard xxxx" checkbox is checked
  • add: double value() const method for getting value from the dialog