Project

General

Profile

Feature #10589

Public getters for item and model in Dbo Forms

Added by Yoika Ghysens 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
07/04/2022
Due date:
% Done:

100%

Estimated time:

Description

The FormModel and FormView class introduced in #8622 contain an item_ and model_ member respectively.
Both members cannot be accessed from outside the class (nor from inherited classes).

Public getters should be added for both members so that the user is allowed to do something with the item_ after they've saved the view.
Adding these getters will for example allow the user to react to the saved() signal from a specialized FormView class by saying "Item #ID has been successfully saved".

#1

Updated by Yoika Ghysens 5 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Yoika Ghysens)
#2

Updated by Roel Standaert 5 months ago

  • Status changed from Review to Implemented @Emweb
  • Assignee set to Yoika Ghysens
  • % Done changed from 0 to 100
#3

Updated by Roel Standaert 5 months ago

  • Status changed from Implemented @Emweb to Resolved
#4

Updated by Roel Standaert 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF