Editor: Dialogue Sub-Views
Records can be viewed and edited in a table or in a dialogue, where there dialogue only shows one record at a time. There is a partial implementation in the repository, but it is not functional and currently disabled.
Things to consider:
- The dialogue UI should be build automatically from the table structure (look at the headers). Considering the large number of different table we have, designing the UI by hand would be a colossal waste of time.
- The most obvious implementation would use a QDataWidgetMapper. Not sure anymore, if that works though.
- If possible the delegates from the table view should be re-used.
- This includes the integration of the command system and the edit lock mode.
- The dialogue sub view should provide UI elements for going to the prev/next record, as well as for deleting and reverting.
- Care must be taken to remove dialogue sub views of records that are completely deleted. An alternative way of handling this event might be to switch the dialogue to a different record (next?), if there is one.
(RM-541 from redmine: created on 2013-01-22 by Marc Zinnschlag, , closed on 2014-03-20 by Marek Kochanowicz)
Edited by redmine