I'm trying to create a dialog that has a grid of "records", each record having a set number of "columns" (other form controls, such as DzCheckBox
, DzLineEdit
, etc).
I have been able to more or less achieve basic functionality by creating a DzVGroupBox
, setting DzVGroupBox.columns
to the number of controls I want in the "grid", then manually adding a row of DzLabel
s, then a row of each set of controls, keeping track of them as an Array
of Object
s.
This works fine until I want to remove a "record", or all records.
How can you remove controls from a DzDialog (or any DzWidget for that matter)?
I'm open to other approaches to solving this problem as well. I have explored the DzListView
, but that seems to not support various controls, nor editability, though to be fair, I've only figured out how to display text, so I may be missing something fundamental there as well.
Thanks for the help.