Project

General

Profile

Actions

Feature #10589

closed

Public getters for item and model in Dbo Forms

Added by Yoika Ghysens over 1 year ago. Updated over 1 year 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".

Actions #1

Updated by Yoika Ghysens over 1 year ago

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

Updated by Roel Standaert over 1 year ago

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

Updated by Roel Standaert over 1 year ago

  • Status changed from Implemented @Emweb to Resolved
Actions #4

Updated by Roel Standaert over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF