Kexi/Plugins/Tables/Table View Row Height And Column Width Dialogs: Difference between revisions

From KDE Community Wiki
< Kexi‎ | Plugins‎ | Tables
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Design document''' for {{KexiIssue|??}}
'''Design document''' for {{KexiIssue|125}}
Original Creation date: 2004-12-09
Original Creation date: 2004-12-09


Line 19: Line 19:


=== Implementation Notes ===
=== Implementation Notes ===
*inherit KDialogBase
*buttons should be at the bottom, not @ left
*buttons should be at the bottom, not @ left
*use QDoubleSpinBox (two digits) for the value input
*use QDoubleSpinBox (two digits) for the value input

Latest revision as of 22:49, 5 April 2023

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